/* ===== 旅行瞬间 · 鲜艳自适应风格 ===== */

.moments-page {
  /* 鲜艳主色 */
  --mm-accent: #7c3aed;
  --mm-accent-2: #ff2d8a;
  --mm-accent-3: #00c9a7;
  --mm-accent-4: #ff6b35;
  --mm-accent-light: #ede9fe;
  --mm-like: #7c3aed;
  --mm-feed-bg: #e4e9ff;
  --mm-grad-main: linear-gradient(125deg, #7c3aed 0%, #ff2d8a 42%, #00c9a7 88%);
  --mm-grad-soft: linear-gradient(135deg, rgb(124 58 237 / 0.14), rgb(255 45 138 / 0.1), rgb(0 201 167 / 0.08));

  /* 流体尺寸 · 随屏宽缩放 */
  --mm-cover-h: clamp(168px, 28vw, 240px);
  --mm-side-w: clamp(52px, 5.5vw, 76px);
  --mm-feed-hero-h: clamp(128px, 22vw, 200px);
  --mm-header-offset: clamp(48px, 8vw, 56px);
  --mm-radius-lg: clamp(16px, 2.5vw, 24px);
  --mm-radius-md: clamp(14px, 2vw, 18px);
  --mm-post-pad: clamp(14px, 2.8vw, 20px);
  --mm-feed-gap: clamp(10px, 2vw, 16px);
  --mm-feed-pad-x: clamp(10px, 2.5vw, 20px);
  --mm-feed-pad-y: clamp(12px, 2.5vw, 20px);
  --mm-font-title: clamp(22px, 4.5vw, 30px);
  --mm-font-body: clamp(14px, 2.8vw, 16px);
  --mm-font-small: clamp(11px, 2.2vw, 13px);
  --mm-avatar: clamp(40px, 10vw, 48px);
  --mm-shadow-soft: 0 6px 28px rgb(124 58 237 / 0.16), 0 2px 6px rgb(255 45 138 / 0.08);
  --mm-shadow-hover: 0 14px 44px rgb(124 58 237 / 0.22), 0 4px 14px rgb(255 45 138 / 0.14);
  --mm-safe-top: env(safe-area-inset-top, 0px);
  --mm-safe-bottom: env(safe-area-inset-bottom, 0px);
  --mm-safe-left: env(safe-area-inset-left, 0px);
  --mm-safe-right: env(safe-area-inset-right, 0px);

  background:
    radial-gradient(ellipse 90% 60% at 0% 0%, rgb(124 58 237 / 0.18), transparent 55%),
    radial-gradient(ellipse 80% 55% at 100% 100%, rgb(255 45 138 / 0.14), transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 0%, rgb(0 201 167 / 0.12), transparent 45%),
    var(--mm-feed-bg);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
}

.moments-page.mm-logged-in {
  height: 100vh;
  height: 100dvh;
  height: 100svh;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
}

.moments-page.mm-logged-in .mm-cover,
.moments-page.mm-logged-in .mm-guest {
  display: none !important;
}

.moments-page.mm-logged-in .mm-header {
  flex-shrink: 0;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
}

.moments-page .mobile-tabbar {
  display: none !important;
}

.mm-header {
  background: rgb(255 255 255 / 0.78);
  backdrop-filter: blur(18px) saturate(1.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  border-bottom: none;
  box-shadow: 0 4px 20px rgb(124 58 237 / 0.1);
  position: relative;
}

.mm-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--mm-grad-main);
  opacity: 0.65;
}

.mm-header .logo,
.mm-header .mm-logo-brand {
  text-decoration: none;
  border: none;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.mm-header .logo-text {
  background: var(--mm-grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: none;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.mm-header .logo-icon {
  filter: saturate(1.3);
}

.is-mobile .mm-nav {
  display: none;
}

.is-mobile.moments-page,
html.is-mobile body.moments-page {
  --mm-side-w: clamp(48px, 14vw, 58px);
  --mm-feed-hero-h: clamp(110px, 30vw, 150px);
  --mm-post-pad: clamp(12px, 3.5vw, 16px);
  --mm-feed-gap: clamp(8px, 2.5vw, 12px);
  --mm-feed-pad-x: clamp(8px, 3vw, 14px);
}

.is-mobile.moments-page.mm-logged-in,
html.is-mobile body.moments-page.mm-logged-in {
  height: 100dvh;
  height: -webkit-fill-available;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.is-mobile .mm-header .logo-text {
  font-size: clamp(14px, 4vw, 16px);
}

.is-mobile .mm-header .logo-icon {
  font-size: clamp(16px, 4.5vw, 20px);
}

.is-mobile .moments-page:not(.mm-logged-in) {
  padding-bottom: calc(16px + var(--safe-bottom));
}

/* 封面 */
.mm-cover {
  position: relative;
  height: var(--mm-cover-h);
  overflow: hidden;
}

.mm-cover-bg {
  position: absolute;
  inset: 0;
  background:
    var(--mm-grad-main),
    url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1200&q=80') center / cover no-repeat;
  background-blend-mode: overlay, normal;
}

.mm-cover-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 24px;
  color: #fff;
}

.mm-cover-content h1 {
  font-size: var(--mm-font-title);
  font-weight: 800;
  text-shadow: 0 2px 12px rgb(0 0 0 / 0.3);
  margin-bottom: 4px;
}

.mm-cover-content p {
  font-size: var(--mm-font-body);
  opacity: 0.95;
  font-weight: 500;
}

.mm-cover-user {
  position: absolute;
  right: 24px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.mm-cover-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.3);
  border: 2px solid rgb(255 255 255 / 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgb(99 102 241 / 0.35);
}

/* 未登录 */
.mm-guest {
  padding: 48px 20px;
}

.mm-guest-card {
  max-width: min(400px, 92vw);
  margin: 0 auto;
  background: rgb(255 255 255 / 0.94);
  border-radius: var(--mm-radius-lg);
  padding: clamp(28px, 6vw, 44px) clamp(20px, 5vw, 32px);
  text-align: center;
  box-shadow: var(--mm-shadow-soft);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  backdrop-filter: blur(14px);
}

.mm-guest-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--mm-grad-main);
  z-index: -1;
}

.mm-guest-card .btn-primary {
  background: var(--mm-grad-main);
  border: none;
  border-radius: 999px;
  padding: clamp(10px, 2.5vw, 14px) clamp(24px, 6vw, 32px);
  font-weight: 700;
  box-shadow: 0 8px 24px rgb(124 58 237 / 0.4);
}

.mm-guest-card .btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.mm-guest-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.mm-guest-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.mm-guest-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.moments-page.mm-logged-in .mm-header .mm-nav #refreshBtn,
.moments-page.mm-logged-in .mm-header .mm-nav .nav-link {
  display: none;
}

.moments-page.mm-logged-in .mm-header .logo-icon {
  font-size: 18px;
}

.moments-page.mm-logged-in .mm-header .logo-text {
  font-size: 15px;
  font-weight: 600;
}

.moments-page.mm-logged-in .mm-header {
  background: rgb(255 255 255 / 0.92);
}

.moments-page.mm-logged-in .mm-header #loginBtn {
  border: none;
  background: var(--mm-grad-soft);
  color: var(--mm-accent);
  font-size: var(--mm-font-small);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgb(124 58 237 / 0.15);
}

.moments-page.mm-logged-in .mm-header #loginBtn:hover {
  background: linear-gradient(135deg, rgb(124 58 237 / 0.2), rgb(255 45 138 / 0.15));
}

.moments-page.mm-logged-in .mm-header .view-toggle-desktop {
  border: none;
  background: transparent;
  color: #666;
  font-size: 13px;
  padding: 6px 10px;
}

.moments-page.mm-logged-in .mm-header .view-toggle-desktop:hover {
  background: rgb(99 102 241 / 0.08);
  color: var(--mm-accent);
}

.moments-page.mm-logged-in .mm-app-shell {
  flex: 1;
  min-height: 0;
}

.moments-page.mm-logged-in .header-inner {
  max-width: none;
  padding-left: 20px;
  padding-right: 20px;
}

/* ===== 主框架 ===== */
.mm-app-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  background: var(--mm-feed-bg);
}

.mm-app-frame {
  flex: 1;
  display: flex;
  min-height: 0;
  height: 100%;
  max-width: none;
  width: 100%;
  margin: 0;
  background: #fff;
  overflow: hidden;
  border: none;
  box-shadow: none;
}

.mm-side-rail {
  width: var(--mm-side-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: clamp(10px, 2vw, 16px) 0 calc(12px + var(--mm-safe-bottom));
  background: linear-gradient(180deg, #f5f0ff 0%, #ffe8f4 45%, #e0fff8 100%);
  color: #a78bfa;
  border-right: 2px solid rgb(124 58 237 / 0.12);
}

.mm-side-bottom {
  padding-top: 10px;
  border-top: 1px solid rgb(99 102 241 / 0.08);
  margin-top: 10px;
}

.mm-side-btn {
  position: relative;
  width: 100%;
  max-width: 56px;
  padding: 10px 4px 8px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.mm-side-btn[data-mode].active::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: clamp(20px, 5vw, 28px);
  border-radius: 0 4px 4px 0;
  background: var(--mm-grad-main);
  box-shadow: 0 0 12px rgb(255 45 138 / 0.5);
}

.mm-side-btn:hover {
  background: rgb(124 58 237 / 0.12);
  color: var(--mm-accent);
  transform: translateY(-1px);
}

.mm-side-btn[data-mode].active {
  color: var(--mm-accent-2);
  background: var(--mm-grad-soft);
  box-shadow: 0 4px 16px rgb(124 58 237 / 0.2);
  font-weight: 700;
}

.mm-side-top,
.mm-side-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 0 8px;
}

.mm-side-btn-tool {
  opacity: 0.85;
  padding: 6px 4px;
}

.mm-side-btn-tool .mm-side-icon svg {
  width: 20px;
  height: 20px;
}

.mm-side-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.mm-side-icon svg {
  width: 24px;
  height: 24px;
}

.mm-side-label {
  font-size: 11px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.mm-app-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--mm-feed-bg);
  overflow: hidden;
}

.mm-app-main .mm-feed-wrap {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.mm-app-main .mm-chat-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 朋友圈内封面（微信个人页风格） */
.mm-feed-hero {
  position: relative;
  height: var(--mm-feed-hero-h);
  flex-shrink: 0;
  overflow: hidden;
}

.mm-feed-hero-bg {
  position: absolute;
  inset: 0;
  background:
    var(--mm-grad-main),
    url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1200&q=80') center / cover no-repeat;
  background-blend-mode: overlay, normal;
}

.mm-feed-hero-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 16px 14px;
  color: #fff;
}

.mm-feed-hero-text h2 {
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 1px 6px rgb(0 0 0 / 0.25);
}

.mm-feed-hero-text p {
  font-size: 12px;
  opacity: 0.92;
  margin-top: 2px;
}

.mm-feed-hero-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.mm-feed-hero-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.3);
  border: 2px solid rgb(255 255 255 / 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 20px rgb(99 102 241 / 0.35);
  overflow: hidden;
}

.mm-feed-hero-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-feed-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.mm-feed-hero-edit {
  color: #fff !important;
  border-color: rgb(255 255 255 / 0.65) !important;
  background: rgb(0 0 0 / 0.22) !important;
  backdrop-filter: blur(4px);
}

.mm-feed-hero-edit:hover {
  background: rgb(0 0 0 / 0.35) !important;
}

.mm-feed-hero-back {
  color: #fff !important;
  border-color: rgb(255 255 255 / 0.65) !important;
  background: rgb(0 0 0 / 0.22) !important;
  backdrop-filter: blur(4px);
}

.mm-feed-hero-back:hover {
  background: rgb(0 0 0 / 0.35) !important;
}

.mm-post-highlight {
  animation: mm-post-flash 1.8s ease;
}

@keyframes mm-post-flash {
  0%, 100% { box-shadow: var(--mm-shadow-soft); }
  20%, 60% { box-shadow: 0 0 0 3px rgb(99 102 241 / 0.35), var(--mm-shadow-hover); }
}

.mm-feed-hero-bio {
  font-size: 11px;
  opacity: 0.9;
  margin-top: 4px;
  max-width: min(280px, 55vw);
  line-height: 1.4;
}

.mm-feed-hero-bg.has-cover {
  background-size: cover;
  background-position: center;
}

.mm-feed-hero-bg.has-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.08) 0%, rgb(0 0 0 / 0.45) 100%);
}

.mm-cover-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.mm-avatar.has-image {
  padding: 0;
  overflow: hidden;
  background: transparent !important;
}

.mm-user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.mm-user-avatar-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.mm-feed-body {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: var(--mm-feed-pad-y) var(--mm-feed-pad-x) calc(var(--mm-feed-pad-y) + var(--mm-safe-bottom));
  background:
    radial-gradient(ellipse 90% 50% at 50% -5%, rgb(124 58 237 / 0.1), transparent),
    radial-gradient(ellipse 70% 40% at 100% 50%, rgb(255 45 138 / 0.06), transparent),
    var(--mm-feed-bg);
  overscroll-behavior: contain;
}

.is-mobile .mm-app-shell {
  padding: 0;
  min-height: 0;
  flex: 1;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.is-mobile .mm-app-frame {
  max-width: none;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.is-mobile .mm-app-main {
  min-width: 0;
  overflow: hidden;
}

.is-mobile .mm-side-rail {
  width: var(--mm-side-w);
  flex-shrink: 0;
  padding: clamp(8px, 2vw, 12px) 0 calc(10px + env(safe-area-inset-bottom, 0px));
}

.is-mobile .mm-side-btn {
  max-width: 100%;
  width: 100%;
  padding: 8px 2px 6px;
  min-height: 44px;
}

.is-mobile .mm-side-icon {
  width: 24px;
  height: 24px;
}

.is-mobile .mm-side-icon svg {
  width: 22px;
  height: 22px;
}

.is-mobile .mm-side-label {
  font-size: 10px;
  line-height: 1.1;
}

.is-mobile .mm-side-top,
.is-mobile .mm-side-bottom {
  padding: 0 4px;
}

html.is-mobile body.moments-page.mm-logged-in .header .header-inner {
  padding-left: 12px;
  padding-right: 12px;
  gap: 8px;
}

html.is-mobile body.moments-page .view-toggle-mobile {
  font-size: 12px;
  padding: 6px 8px;
  white-space: nowrap;
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.is-mobile body.moments-page .logo-text {
  font-size: 15px;
  white-space: nowrap;
}

.is-mobile .mm-feed-hero {
  height: var(--mm-feed-hero-h);
}

.is-mobile .mm-feed-hero-text h2 {
  font-size: clamp(17px, 5vw, 20px);
}

.is-mobile .mm-feed-hero-text p {
  font-size: clamp(11px, 3vw, 13px);
}

.is-mobile .mm-feed-hero-avatar {
  width: clamp(40px, 12vw, 52px);
  height: clamp(40px, 12vw, 52px);
  font-size: clamp(20px, 6vw, 26px);
}

.is-mobile .mm-feed-hero-user {
  font-size: clamp(12px, 3.5vw, 14px);
}

.is-mobile .mm-feed-body {
  padding: var(--mm-feed-gap) clamp(8px, 3vw, 12px) calc(12px + env(safe-area-inset-bottom, 0px));
}

.is-mobile .mm-feed {
  gap: var(--mm-feed-gap);
}

.is-mobile .mm-post {
  padding: var(--mm-post-pad);
  border-radius: clamp(6px, 2vw, 10px);
}

.is-mobile .mm-avatar {
  width: clamp(38px, 11vw, 44px);
  height: clamp(38px, 11vw, 44px);
  font-size: clamp(18px, 5.5vw, 22px);
}

.is-mobile .mm-post-author {
  font-size: clamp(14px, 4vw, 15px);
}

.is-mobile .mm-post-text {
  font-size: clamp(14px, 4vw, 15px);
}

.is-mobile .mm-img-grid,
.is-mobile .mm-img-grid.count-1,
.is-mobile .mm-img-grid.count-2,
.is-mobile .mm-img-grid.count-4 {
  max-width: 100%;
}

.is-mobile .mm-img-grid.count-1 img {
  max-height: min(72vw, 320px);
}

.is-mobile .mm-feed-empty {
  padding: clamp(32px, 10vw, 48px) clamp(12px, 4vw, 20px);
  font-size: clamp(13px, 3.8vw, 15px);
}

.is-mobile .mm-guest {
  padding: clamp(28px, 8vw, 48px) clamp(14px, 4vw, 20px);
}

.is-mobile .mm-guest-card {
  padding: clamp(28px, 8vw, 40px) clamp(18px, 5vw, 28px);
}

.is-mobile .mm-cover {
  height: clamp(160px, 38vw, 220px);
}

.is-mobile .mm-compose-modal .modal-content,
.is-mobile .mm-comment-modal .modal-content {
  width: calc(100vw - 24px);
  max-width: none;
  margin: 12px;
}

.is-mobile .mm-compose-text,
.is-mobile #chatText.mm-chat-text {
  font-size: 16px;
}

.is-mobile .mm-toast {
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  max-width: calc(100vw - 32px);
  font-size: clamp(12px, 3.5vw, 14px);
}

/* 动态流 */
.mm-feed {
  display: flex;
  flex-direction: column;
  gap: var(--mm-feed-gap);
  width: 100%;
  max-width: 100%;
}

.mm-post {
  background: rgb(255 255 255 / 0.97);
  border-radius: var(--mm-radius-md);
  padding: var(--mm-post-pad);
  border: 2px solid rgb(124 58 237 / 0.1);
  box-shadow: var(--mm-shadow-soft);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.mm-post:hover {
  box-shadow: var(--mm-shadow-hover);
  transform: translateY(-2px);
  border-color: rgb(255 45 138 / 0.25);
}

.mm-avatar {
  width: var(--mm-avatar);
  height: var(--mm-avatar);
  border-radius: clamp(12px, 2.5vw, 16px);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 700;
  color: #fff;
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.18);
}

.mm-avatar.admin {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.mm-avatar.tiantian {
  background: linear-gradient(135deg, #ff2d8a, #ff6b35);
}

.mm-avatar.other {
  background: linear-gradient(135deg, #00c9a7, #06b6d4);
}

.mm-post-author {
  font-size: var(--mm-font-body);
  font-weight: 800;
  background: var(--mm-grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.mm-post-text {
  font-size: var(--mm-font-body);
  line-height: 1.65;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 10px;
}

.mm-post-text:empty {
  display: none;
}

.mm-post-head {
  display: flex;
  gap: clamp(8px, 2vw, 12px);
  align-items: flex-start;
}

.mm-post-main {
  flex: 1;
  min-width: 0;
}

.mm-feed-empty {
  text-align: center;
  color: var(--text-muted);
  padding: clamp(32px, 8vw, 48px) clamp(12px, 4vw, 20px);
  font-size: var(--mm-font-body);
  margin: 0;
}

/* 图片九宫格 */
.mm-img-grid {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  max-width: 280px;
}

.mm-img-grid.count-1 {
  grid-template-columns: 1fr;
  max-width: 220px;
}

.mm-img-grid.count-2,
.mm-img-grid.count-4 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 240px;
}

.mm-img-grid.count-3,
.mm-img-grid.count-5,
.mm-img-grid.count-6,
.mm-img-grid.count-7,
.mm-img-grid.count-8,
.mm-img-grid.count-9 {
  grid-template-columns: repeat(3, 1fr);
}

.mm-img-grid img,
.mm-img-grid video.mm-feed-video {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  background: var(--bg);
  transition: opacity 0.15s, transform 0.15s;
}

.mm-img-grid img:hover,
.mm-img-grid video.mm-feed-video:hover {
  opacity: 0.95;
  transform: scale(1.01);
}

.mm-img-grid.count-1 img,
.mm-img-grid.count-1 video.mm-feed-video {
  aspect-ratio: auto;
  max-height: 280px;
}

.mm-comment-video,
.mm-feed-video {
  max-width: 100%;
  background: #000;
}

.mm-media-audio,
.mm-feed-audio,
.mm-comment-audio {
  display: block;
  width: 100%;
  max-width: min(360px, 100%);
  margin-top: 4px;
}

.mm-img-grid audio.mm-feed-audio {
  grid-column: 1 / -1;
  aspect-ratio: auto;
  width: 100%;
  max-width: min(360px, 100%);
  cursor: default;
}

.mm-compose-thumb.is-audio {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.mm-compose-audio-icon {
  font-size: 28px;
  line-height: 1;
  pointer-events: none;
}

.mm-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.mm-post-time {
  font-size: 12px;
  color: var(--text-light);
}

.mm-post-time[title] {
  cursor: help;
}

.mm-post-actions {
  display: flex;
  gap: 4px;
}

.mm-action-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  color: var(--mm-like);
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.mm-action-btn:hover {
  background: rgb(99 102 241 / 0.1);
}

.mm-action-btn.liked {
  color: #ec4899;
  background: rgb(236 72 153 / 0.1);
}

.mm-post-menu {
  position: relative;
}

.mm-menu-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-light);
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}

.mm-menu-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  min-width: 100px;
  z-index: 10;
  overflow: hidden;
}

.mm-menu-dropdown.open {
  display: block;
}

.mm-menu-dropdown button {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.mm-menu-dropdown button:hover {
  background: var(--bg);
}

.mm-menu-dropdown button.danger {
  color: var(--danger);
}

/* 点赞与评论区 */
.mm-interact {
  margin-top: 12px;
  background: var(--mm-grad-soft);
  border-radius: clamp(10px, 2vw, 14px);
  overflow: hidden;
  font-size: var(--mm-font-body);
  border: 2px solid rgb(124 58 237 / 0.12);
}

.mm-likes {
  padding: 8px 12px;
  border-bottom: 1px solid rgb(124 58 237 / 0.1);
  color: var(--mm-accent);
  line-height: 1.5;
  font-weight: 600;
}

.mm-likes:only-child {
  border-bottom: none;
}

.mm-likes-icon {
  color: #ef4444;
  margin-right: 4px;
}

.mm-likes-names {
  font-weight: 500;
}

.mm-comments {
  padding: 4px 0;
}

.mm-comment {
  padding: 6px 12px;
  line-height: 1.55;
  word-break: break-word;
}

.mm-comment-author {
  font-weight: 600;
  color: var(--mm-like);
}

.mm-comment-text {
  color: var(--text);
}

.mm-comment-time {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-light);
}

.mm-comment-imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.mm-comment-imgs img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
}

.mm-comment-actions {
  display: inline-flex;
  gap: 8px;
  margin-left: 8px;
}

.mm-comment-actions button {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--text-light);
  cursor: pointer;
  padding: 0;
}

.mm-comment-actions button:hover {
  color: var(--primary);
}

.mm-comment-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid #ebebeb;
}

.mm-comment-quick {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-light);
  text-align: left;
  cursor: pointer;
  padding: 4px 0;
}

.mm-comment-quick:hover {
  color: var(--text-muted);
}

/* FAB */
.mm-fab {
  position: fixed;
  right: clamp(12px, 3vw, 20px);
  bottom: calc(clamp(16px, 4vw, 24px) + var(--mm-safe-bottom));
  width: clamp(50px, 12vw, 58px);
  height: clamp(50px, 12vw, 58px);
  border-radius: 50%;
  border: none;
  background: var(--mm-grad-main);
  color: #fff;
  font-size: clamp(20px, 5vw, 26px);
  cursor: pointer;
  box-shadow: 0 10px 32px rgb(124 58 237 / 0.5), 0 4px 12px rgb(255 45 138 / 0.3);
  z-index: 90;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mm-fab:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 40px rgb(255 45 138 / 0.5);
}

.is-mobile .mm-fab {
  right: 16px;
  bottom: calc(var(--tabbar-h) + 16px + var(--safe-bottom));
}

/* 发布/评论弹窗 */
.mm-compose-modal .modal-content,
.mm-comment-modal .modal-content {
  max-height: 90vh;
  overflow-y: auto;
}

.mm-compose-text {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
  min-height: 100px;
  margin-bottom: 12px;
}

.mm-compose-text:focus {
  outline: none;
  border-color: var(--mm-accent);
  box-shadow: 0 0 0 3px rgb(99 102 241 / 0.15);
}

.mm-compose-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  min-height: 0;
}

.mm-compose-thumb {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}

.mm-compose-thumb img,
.mm-compose-thumb video,
.mm-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.mm-compose-thumb.is-video::after {
  content: '▶';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 18px;
  text-shadow: 0 1px 4px rgb(0 0 0 / 0.45);
  pointer-events: none;
}

.mm-compose-thumb .mm-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
}

.mm-compose-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mm-compose-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.mm-emoji-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  background: #fff3e0;
  color: #e65100;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}

.mm-emoji-btn:hover {
  background: #ffe0b2;
}

.mm-emoji-panel {
  display: none;
  position: fixed;
  z-index: 10050;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgb(0 0 0 / 0.18);
  border: 1px solid var(--border);
  padding: 10px 10px 8px;
  max-width: calc(100vw - 16px);
}

.mm-emoji-panel.open {
  display: block;
}

.mm-emoji-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 2px;
}

.mm-emoji-panel-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.mm-emoji-panel-close {
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
}

.mm-emoji-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin-bottom: 8px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.mm-emoji-tab {
  flex-shrink: 0;
  border: none;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 12px;
  font-family: inherit;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.mm-emoji-tab.active {
  background: var(--mm-accent-light);
  color: var(--mm-accent);
  font-weight: 600;
}

.mm-emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  max-height: 200px;
  overflow-y: auto;
}

.mm-emoji-item {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1.2;
  padding: 6px 2px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s, transform 0.12s;
}

.mm-emoji-item:hover {
  background: var(--mm-accent-light);
  transform: scale(1.12);
}

.mm-emoji-panel-tip {
  margin: 6px 2px 0;
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
}

.mm-post-text.is-emoji-only,
.mm-comment-text.is-emoji-only {
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.is-mobile .mm-emoji-grid {
  grid-template-columns: repeat(7, 1fr);
}

.is-mobile .mm-emoji-item {
  font-size: 26px;
  padding: 8px 2px;
}

.mm-sticker-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-height: 220px;
}

.mm-sticker-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 2px dashed var(--border);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
  color: var(--text-muted);
  transition: border-color 0.15s, background 0.15s;
}

.mm-sticker-upload:hover {
  border-color: var(--mm-accent);
  background: var(--mm-accent-light);
  color: var(--mm-accent);
}

.mm-sticker-upload span {
  font-size: 28px;
  line-height: 1;
}

.mm-sticker-upload small {
  font-size: 11px;
  margin-top: 2px;
}

.mm-sticker-wrap {
  position: relative;
}

.mm-sticker-item {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 4px;
  border: none;
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
  transition: transform 0.12s, background 0.12s;
}

.mm-sticker-item:hover {
  background: var(--mm-accent-light);
  transform: scale(1.05);
}

.mm-sticker-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.mm-sticker-del {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s;
}

.mm-sticker-wrap:hover .mm-sticker-del {
  opacity: 1;
}

.mm-emoji-loading,
.mm-emoji-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px 8px;
}

.mm-sticker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 4px;
}

.mm-sticker-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
}

.mm-comment-imgs .mm-sticker-img {
  width: 72px;
  height: 72px;
}

.mm-compose-thumb.is-sticker {
  width: 88px;
  height: 88px;
  background: var(--bg);
}

.mm-compose-thumb.is-sticker img {
  object-fit: contain;
}

.mm-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--mm-accent-light);
  color: var(--mm-accent);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.mm-upload-btn:hover {
  background: rgb(99 102 241 / 0.15);
}

.mm-compose-hint {
  font-size: 12px;
  color: var(--text-light);
}

.mm-uploading {
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 0;
}

/* 灯箱 */
.mm-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mm-lightbox.open {
  display: flex;
}

.mm-lightbox img,
.mm-lightbox-video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.mm-lightbox-video {
  display: none;
  background: #000;
}

.mm-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}

/* Toast */
.mm-toast {
  position: fixed;
  left: 50%;
  bottom: calc(90px + var(--mm-safe-bottom));
  transform: translateX(-50%) translateY(20px);
  background: var(--mm-grad-main);
  color: #fff;
  padding: clamp(10px, 2.5vw, 14px) clamp(18px, 4vw, 26px);
  border-radius: 999px;
  font-size: var(--mm-font-body);
  font-weight: 700;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  max-width: min(92vw, 420px);
  text-align: center;
  box-shadow: 0 10px 32px rgb(124 58 237 / 0.45);
}

.mm-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mm-logout-btn {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .mm-cover-content h1 {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .mm-cover-content p {
    font-size: clamp(12px, 3.5vw, 14px);
  }

  .mm-cover-user {
    right: clamp(12px, 4vw, 24px);
    bottom: clamp(10px, 3vw, 16px);
  }

  .mm-cover-avatar {
    width: clamp(44px, 13vw, 56px);
    height: clamp(44px, 13vw, 56px);
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .mm-img-grid {
    max-width: 100%;
  }

  .mm-img-grid.count-1 {
    max-width: 100%;
  }

  .moments-page.mm-logged-in .mm-app-shell {
    padding: 0;
  }

  .moments-page.mm-logged-in .mm-app-frame {
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  .mm-side-btn {
    min-height: 44px;
    min-width: 44px;
  }

  .mm-img-grid {
    gap: clamp(3px, 1vw, 6px);
    max-width: min(100%, 72vw);
  }
}

@media (max-width: 360px) {
  html.is-mobile body.moments-page,
  .is-mobile.moments-page {
    --mm-side-w: 46px;
  }

  .is-mobile .mm-side-label {
    font-size: 9px;
  }

  .is-mobile .mm-post-head {
    gap: 8px;
  }

  .mm-img-grid.count-2,
  .mm-img-grid.count-4 {
    max-width: 100%;
  }
}

/* 横屏手机 */
@media (max-height: 500px) and (orientation: landscape) {
  .moments-page {
    --mm-cover-h: clamp(100px, 22vh, 140px);
    --mm-feed-hero-h: clamp(88px, 20vh, 120px);
  }

  .mm-side-rail {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .mm-side-label {
    display: none;
  }
}

/* 平板 */
@media (min-width: 769px) and (max-width: 1024px) {
  .moments-page {
    --mm-side-w: 64px;
    --mm-feed-pad-x: 16px;
  }

  .moments-page.mm-logged-in .mm-app-frame {
    max-width: 100%;
    border-radius: clamp(14px, 2vw, 20px);
  }

  .mm-feed {
    max-width: min(620px, 88vw);
    margin: 0 auto;
  }

  .mm-img-grid {
    max-width: min(320px, 55vw);
  }
}

/* 桌面端 */
@media (min-width: 769px) {
  .moments-page.mm-logged-in .mm-app-shell {
    padding: clamp(4px, 0.8vw, 8px) clamp(14px, 2.5vw, 24px) clamp(8px, 1.2vw, 12px);
    background:
      radial-gradient(ellipse 70% 50% at 5% 0%, rgb(124 58 237 / 0.2), transparent),
      radial-gradient(ellipse 65% 45% at 95% 100%, rgb(255 45 138 / 0.16), transparent),
      radial-gradient(ellipse 50% 35% at 50% 50%, rgb(0 201 167 / 0.08), transparent),
      var(--mm-feed-bg);
  }

  .moments-page.mm-logged-in .mm-app-frame {
    border-radius: var(--mm-radius-lg);
    box-shadow: var(--mm-shadow-soft);
    border: 2px solid rgb(255 255 255 / 0.9);
    max-width: min(1280px, 96vw);
    margin: 0 auto;
    width: 100%;
  }

  .mm-feed {
    max-width: min(680px, 52vw);
    margin: 0 auto;
    width: 100%;
  }

  .mm-post:hover {
    transform: translateY(-3px);
  }
}

/* 大屏桌面 */
@media (min-width: 1200px) {
  .moments-page {
    --mm-side-w: 80px;
    --mm-radius-lg: 26px;
  }

  .mm-feed {
    max-width: 720px;
  }

  .mm-img-grid {
    max-width: 360px;
  }

  .mm-img-grid.count-1 {
    max-width: 280px;
  }
}

/* 超宽屏 */
@media (min-width: 1600px) {
  .moments-page.mm-logged-in .mm-app-frame {
    max-width: 1400px;
  }

  .mm-feed {
    max-width: 760px;
  }
}

/* 电脑版 / 手机版切换类名（view-mode-boot） */
.is-desktop.moments-page {
  --mm-side-w: clamp(68px, 4.5vw, 80px);
}

.is-desktop.moments-page .mm-header .header-inner {
  max-width: min(1400px, 96vw);
  margin: 0 auto;
}

.is-mobile.moments-page .mm-header {
  padding-left: var(--mm-safe-left);
  padding-right: var(--mm-safe-right);
}

.is-mobile.moments-page.mm-logged-in {
  padding-left: var(--mm-safe-left);
  padding-right: var(--mm-safe-right);
}

/* 触控设备：加大可点区域 */
@media (hover: none) and (pointer: coarse) {
  .mm-side-btn,
  .mm-action-btn,
  .mm-chat-new-btn,
  .mm-header .btn {
    min-height: 44px;
  }

  .mm-post:hover {
    transform: none;
  }
}

/* 减少动画（系统偏好） */
@media (prefers-reduced-motion: reduce) {
  .mm-post,
  .mm-side-btn,
  .mm-fab {
    transition: none;
  }
}

/* ===== 聊天区 · 鲜艳统一 ===== */
.moments-page .mm-chat-wrap {
  background: var(--mm-feed-bg);
}

.moments-page .mm-chat-sidebar {
  background: linear-gradient(180deg, #f5f0ff 0%, #ffe8f4 50%, #e0fff8 100%);
  border-right: 2px solid rgb(124 58 237 / 0.12);
}

.moments-page .mm-chat-sidebar-tab.active {
  color: var(--mm-accent-2);
  border-bottom-color: var(--mm-accent-2);
  font-weight: 700;
}

.moments-page .mm-chat-new-btn {
  background: var(--mm-grad-main);
  color: #fff;
  border: none;
  box-shadow: 0 6px 16px rgb(124 58 237 / 0.4);
}

.moments-page .mm-chat-new-btn:hover {
  filter: brightness(1.08);
}

.moments-page .mm-chat-room-item.active {
  background: var(--mm-grad-soft);
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--mm-accent), var(--mm-accent-2)) 1;
}

.moments-page .mm-chat-main {
  background: #fff;
}

.moments-page .mm-chat-messages {
  background:
    radial-gradient(ellipse 90% 45% at 50% 0%, rgb(124 58 237 / 0.06), transparent),
    radial-gradient(ellipse 60% 35% at 100% 80%, rgb(255 45 138 / 0.04), transparent),
    #f5f7ff;
  padding: 8px max(8px, calc((100% - 720px) / 2));
}

.moments-page .mm-chat-sidebar-head {
  padding: 8px 10px;
}

.moments-page .mm-chat-compose {
  background: rgb(255 255 255 / 0.96);
  border-top: 1px solid rgb(124 58 237 / 0.1);
}

.moments-page .mm-chat-panel-head {
  background: rgb(255 255 255 / 0.95);
  border-bottom: 2px solid rgb(124 58 237 / 0.1);
}

.moments-page .mm-header .btn-outline {
  border-color: rgb(124 58 237 / 0.45);
  color: var(--mm-accent);
  border-radius: 999px;
  font-weight: 600;
}

.moments-page .mm-header .btn-outline:hover {
  background: rgb(124 58 237 / 0.1);
}

.moments-page .mm-header .btn-primary,
.moments-page .theme-open-btn {
  border-radius: 999px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .moments-page .mm-chat-sidebar {
    width: 100%;
    max-width: 100vw;
  }

  .moments-page .mm-chat-layout.room-open .mm-chat-main {
    width: 100%;
  }
}

@media (min-width: 769px) {
  .moments-page .mm-chat-wrap {
    border-radius: 0 0 var(--mm-radius-lg) var(--mm-radius-lg);
    overflow: hidden;
  }
}
