/* ============================================================
   大陶匠社区V2 - 顶部导航组件样式
   独立组件，全社区统一调用
   ============================================================ */

/* 详情页：隐藏V2手机顶栏（详情页有自己的顶栏） */
.recipe-page .v2-top-nav,
.material-page .v2-top-nav,
.firing-page .v2-top-nav,
.help-page .v2-top-nav { display: none !important; }

/* 弹窗模式（?modal=1）：隐藏侧边栏和手机顶栏，内容铺满 */
body.in-modal { overflow: hidden; height: 100vh; }
body.in-modal .v2-side-nav { display: none !important; }
body.in-modal [class$="-top-nav"] { display: none !important; }
body.in-modal .recipe-detail,
body.in-modal .material-detail,
body.in-modal .firing-detail,
body.in-modal .help-detail {
  margin-left: 0 !important;
  display: flex !important;
  height: 100vh !important;
  padding: 0 !important;
  gap: 0 !important;
}
body.in-modal .recipe-page,
body.in-modal .material-page,
body.in-modal .firing-page,
body.in-modal .help-page {
  max-width: 100% !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  height: 100vh !important;
  min-height: 100vh !important;
  padding: 0 !important;
  overflow: hidden !important;
}
body.in-modal .recipe-detail .v2-gallery,
body.in-modal .material-detail .v2-gallery,
body.in-modal .firing-detail .v2-gallery,
body.in-modal .help-detail .v2-gallery {
  flex: 0 0 45%;
  height: 100%;
  border-radius: 0;
}
/* 新版 TaoImageGallery 组件(.tao-gallery)适配同一弹窗两栏规则 */
body.in-modal .recipe-detail .tao-gallery,
body.in-modal .material-detail .tao-gallery,
body.in-modal .firing-detail .tao-gallery,
body.in-modal .help-detail .tao-gallery {
  flex: 0 0 45%;
  height: 100%;
  border-radius: 0;
  aspect-ratio: auto;
  margin-bottom: 0;
}
body.in-modal .v2-gallery-img,
body.in-modal .tao-gallery .tao-gallery-img {
  height: 100% !important;
  object-fit: contain;
  object-position: center;
  background: #1a1a1a;
}
body.in-modal .v2-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
}
body.in-modal .recipe-content-card,
body.in-modal .material-content-card,
body.in-modal .firing-content-card,
body.in-modal .help-content-card {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  height: 100vh !important;
  overflow-y: auto !important;
  padding: 0 24px 80px !important;
}
/* modal模式下评论输入框固定在右栏底部 */
body.in-modal .v2-input {
  position: fixed !important;
  left: auto !important;
  right: 0 !important;
  width: 55% !important;
  bottom: 0 !important;
  z-index: 100 !important;
}
body.in-modal .recipe-author,
body.in-modal .material-author,
body.in-modal .firing-author,
body.in-modal .help-author {
  padding-top: 30px;
  background: transparent !important;
}
body.in-modal .recipe-title,
body.in-modal .material-title,
body.in-modal .firing-title,
body.in-modal .help-title {
  font-size: 22px;
}

.v2-top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 16px;
  background: var(--color-primary-gradient);
  color: #fff;
}

.v2-top-nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.v2-top-nav-hamburger {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 50%;
  transition: background 0.2s;
  color: #fff;
}

.v2-top-nav-hamburger:hover {
  background: rgba(255,255,255,0.15);
}

.v2-top-nav-logo {
  font-size: 17px;
  color: #fff;
  letter-spacing: 1px;
  flex-shrink: 0;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: baseline;
}

.v2-logo-main {
  font-weight: 700;
}

.v2-logo-sub {
  font-weight: 400;
  font-size: 14px;
  opacity: 0.9;
}

.v2-top-nav-search {
  flex: 0 1 160px;
  min-width: 100px;
  margin-left: 30px;
  background: rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 0 12px;
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 32px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.2s;
}

.v2-top-nav-search:hover {
  background: rgba(255,255,255,0.25);
}

.v2-top-nav-search svg {
  display: block;
  flex-shrink: 0;
  margin-right: 6px;
}

.v2-top-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.v2-top-nav-msg-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.v2-top-nav-msg-btn svg {
  display: block;
  width: 20px;
  height: 20px;
}

.v2-top-nav-msg-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--color-danger);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10;
}

.v2-top-nav-msg-badge.show {
  display: flex;
}

/* ===== 汉堡菜单侧边栏 ===== */
.v2-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.v2-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.v2-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  max-width: 70vw;
  background: #3e2723;
  color: rgba(255,255,255,0.8);
  z-index: 201;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}

.v2-menu-panel.open {
  transform: translateX(0);
}

.v2-menu-header {
  padding: 0 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 16px;
}

.v2-menu-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v2-menu-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.2);
}

.v2-menu-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8B4513, #A0522D);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

/* 未登录头像图标 */
.v2-menu-avatar-loggedout {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.v2-menu-avatar-loggedout svg {
  width: 24px;
  height: 24px;
}

.v2-menu-user {
  text-decoration: none;
  color: inherit;
}

.v2-menu-user-info {
  flex: 1;
  min-width: 0;
}

.v2-menu-nickname {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.v2-menu-desc {
  font-size: 12px;
  opacity: 0.7;
}

.v2-menu-list {
  flex: 1;
}

.v2-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: background var(--transition-fast);
  text-decoration: none;
  font-size: 14px;
}

.v2-menu-item:hover {
  background: rgba(255,255,255,0.1);
}
.v2-menu-item.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.v2-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.v2-menu-icon svg {
  width: 20px;
  height: 20px;
}

.v2-menu-item-label {
  flex: 1;
}

.v2-menu-arrow {
  color: rgba(255,255,255,0.4);
  font-size: 18px;
  font-weight: 300;
  flex-shrink: 0;
}

.v2-menu-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 8px 20px;
}

.v2-menu-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  opacity: 0.5;
  text-align: center;
}



/* ===== 电脑端顶部导航 ===== */
.v2-top-nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  /* 隐藏手机端顶部导航 */
  .v2-top-nav {
    display: none !important;
  }
  
  /* 显示电脑端顶部导航 */
  .v2-top-nav-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 24px;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .v2-desktop-left {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  
  .v2-desktop-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
    cursor: pointer;
  }
  
  .v2-desktop-menu {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  
  .v2-desktop-menu-item {
    font-size: 15px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
  }
  
  .v2-desktop-menu-item:hover {
    color: var(--color-primary);
  }
  
  .v2-desktop-menu-item.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
  }
  
  .v2-desktop-right {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .v2-desktop-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-hover);
    border-radius: 20px;
    padding: 6px 14px;
    width: 180px;
    margin-left: 16px;
    transition: all 0.2s;
  }
  
  .v2-desktop-search:hover {
    background: var(--border-color);
  }
  
  .v2-desktop-search input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
  }
  
  .v2-desktop-search input::placeholder {
    color: var(--text-tertiary);
  }
  
  .v2-desktop-user {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.2s;
  }
  
  .v2-desktop-user:hover {
    background: var(--bg-hover);
  }
  
  .v2-desktop-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-hover);
  }
  
  .v2-desktop-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .v2-desktop-nickname {
    font-size: 14px;
    color: var(--text-primary);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .v2-desktop-login-btn {
    padding: 8px 20px;
    background: var(--color-primary-gradient);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
  }
  
  .v2-desktop-login-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
  }
}

/* 电脑端大屏 */
@media (min-width: 1024px) {
  .v2-top-nav-desktop {
    padding: 0 32px;
  }
  
  .v2-desktop-search {
    width: 300px;
  }
}

/* ===== 电脑端左侧固定栏（≥768px） ===== */
.v2-side-nav { display: none; }

@media (min-width: 768px) {
  .v2-side-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 200px;
    background: linear-gradient(180deg, #faf6f0 0%, #f5f0e8 100%);
    border-right: 1px solid #e8ddcc;
    padding: 24px 12px;
    z-index: 100;
    box-shadow: 2px 0 8px rgba(139, 69, 19, 0.04);
  }
  .v2-side-logo {
    font-size: 22px;
    font-weight: 700;
    color: #8B4513;
    padding: 4px 0 16px;
    white-space: nowrap;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: 1px solid #e8ddcc;
    margin-bottom: 16px;
  }
  .v2-side-menu { flex: 1; }
  .v2-side-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: #5d4037;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 6px;
    transition: all 0.2s;
  }
  .v2-side-item .v2-side-icon {
    width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #8B4513;
  }
  .v2-side-item .v2-side-icon svg { width: 20px; height: 20px; }
  .v2-side-item:hover { background: rgba(139, 69, 19, 0.08); color: #8B4513; }
  .v2-side-item.active {
    background: #8B4513; color: #fff;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.25);
  }
  .v2-side-item.active .v2-side-icon { color: #fff; }
  .v2-side-user { text-align: center; padding-top: 16px; border-top: 1px solid #e8ddcc; }
  .v2-side-user button {
    background: transparent; color: #8B4513; border: 1px solid #8B4513;
    padding: 8px 24px; border-radius: 20px; cursor: pointer;
    font-size: 14px; transition: all 0.2s;
  }
  .v2-side-user button:hover { background: #8B4513; color: #fff; }

  /* 版块导航中的搜索框（居中） */
  .v2-tabs { position: relative; }
  .v2-tabs-search {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    display: flex; align-items: stretch;
    background: #fff; border: 1px solid #e0d5c5; border-radius: 8px;
    width: 340px; height: 32px; overflow: hidden;
  }
  .v2-tabs-search input {
    flex: 1; border: none; background: transparent; outline: none; font-size: 13px; color: #333;
    padding: 0 14px;
  }
  .v2-tabs-search input::placeholder { color: #999; }
  .v2-tabs-search .v2-search-btn {
    color: #8B4513; font-size: 13px; cursor: pointer; white-space: nowrap;
    padding: 0 16px; background: transparent; border: none;
    border-left: 1px solid #e0d5c5;
    display: flex; align-items: center; gap: 4px;
    border-radius: 0 7px 7px 0;
    transition: all 0.2s;
  }
  .v2-tabs-search .v2-search-btn:hover { background: #8B4513; color: #fff; border-left-color: #8B4513; }
  .v2-tabs-search .v2-search-btn svg { width: 14px; height: 14px; fill: none; stroke: #8B4513; stroke-width: 2; }
  .v2-tabs-search .v2-search-btn:hover svg { stroke: #fff; }

  /* 内容区右移 */
  .v2-page { margin-left: 200px; }

  /* 详情页：隐藏手机端顶栏，内容右移，居中卡片弹窗 */
  [class$="-top-nav"] { display: none !important; }
  [class$="-detail"] { margin-left: 200px; }
  .recipe-page, .material-page, .firing-page, .help-page {
    max-width: 1000px !important;
    margin: 24px auto !important;
    box-shadow: 0 8px 40px rgba(139, 69, 19, 0.12) !important;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
  }
  /* 详情页左右两栏：左图片右内容 */
  .recipe-detail, .material-detail, .firing-detail, .help-detail {
    display: flex;
    gap: 24px;
    padding: 24px;
    align-items: flex-start;
  }
  .recipe-detail .v2-gallery, .material-detail .v2-gallery,
  .firing-detail .v2-gallery, .help-detail .v2-gallery {
    flex: 0 0 52%;
    border-radius: 12px;
    overflow: hidden;
  }
  .recipe-detail [class$="-content-card"], .material-detail [class$="-content-card"],
  .firing-detail [class$="-content-card"], .help-detail [class$="-content-card"] {
    flex: 1;
    min-width: 0;
    box-shadow: none;
    padding: 0;
  }
}

/* 平板端 768-1024px：窄一点 */
@media (min-width: 768px) and (max-width: 1024px) {
  .v2-side-nav { width: 180px; padding: 16px 10px; }
  .v2-side-logo { font-size: 17px; padding: 4px 8px 16px; }
  .v2-side-item { font-size: 14px; padding: 10px; gap: 8px; }
  .v2-page { margin-left: 180px; }
}

/* 平板端 768-1024px：紧凑导航 */
@media (min-width: 768px) and (max-width: 1024px) {
  .v2-top-nav-desktop {
    padding: 0 16px;
  }
  .v2-desktop-left {
    gap: 12px;
  }
  .v2-desktop-logo {
    font-size: 18px;
    letter-spacing: 1px;
    white-space: nowrap;
  }
  .v2-desktop-menu {
    gap: 12px;
  }
  .v2-desktop-menu-item {
    font-size: 14px;
  }
  .v2-desktop-search {
    width: 130px;
    padding: 5px 10px;
    margin-left: 8px;
  }
  .v2-desktop-search input {
    font-size: 13px;
  }
}












/* ===== 搜索弹窗 ===== */
.v2-search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 2000;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.2s;
}

.v2-search-overlay.active {
  display: flex;
  opacity: 1;
}

.v2-search-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #f0ede8;
  background: #fff;
  padding-top: calc(10px + env(safe-area-inset-top));
}

.v2-search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f5f0eb;
  border-radius: 20px;
  padding: 0 12px;
  height: 36px;
  position: relative;
}

.v2-search-input-icon {
  flex-shrink: 0;
  margin-right: 6px;
  display: flex;
  align-items: center;
}

.v2-search-input-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.v2-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #333;
  outline: none;
  height: 100%;
  min-width: 0;
}

.v2-search-input::placeholder {
  color: #999;
}

.v2-search-clear-btn {
  width: 20px;
  height: 20px;
  border: none;
  background: none;
  color: #999;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.v2-search-clear-btn:hover {
  color: #666;
}

.v2-search-cancel-btn {
  border: none;
  background: none;
  color: #8B4513;
  font-size: 14px;
  cursor: pointer;
  padding: 6px 4px;
  white-space: nowrap;
}

.v2-search-results {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
}

.v2-search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: #999;
}

.v2-search-empty-icon {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-search-empty-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.v2-search-empty-text {
  font-size: 14px;
}

.v2-search-loading {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 14px;
}

.v2-search-result-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f5f0eb;
  cursor: pointer;
  transition: background 0.15s;
}

.v2-search-result-item:active {
  background: #faf8f5;
}

.v2-search-result-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f0eb;
}

.v2-search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-search-result-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.v2-search-result-title {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.v2-search-result-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #999;
  align-items: center;
}

.v2-search-result-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.v2-search-result-meta svg {
  width: 12px;
  height: 12px;
  display: block;
}



/* 版块导航发布主题按钮 */
.v2-tabs-publish {
  position: absolute;
  left: calc(50% + 198px);
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  padding: 0 16px;
  background: #8B4513;
  color: #fff;
  border-radius: 16px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.v2-tabs-publish:hover {
  background: #6d360f;
}
.v2-tabs-publish svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* 版块导航右侧：消息铃铛 + 头像 */
.v2-tabs-msg {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5d4037;
  text-decoration: none;
  border-radius: 50%;
  transition: background 0.2s;
}
.v2-tabs-msg:hover { background: rgba(139,69,19,0.08); }
.v2-tabs-msg svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.v2-tabs-msg-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 15px;
  height: 15px;
  background: #FF2442;
  color: #fff;
  font-size: 9px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-weight: 600;
  line-height: 1;
}
.v2-tabs-avatar {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #8B4513, #A0522D);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}
.v2-tabs-avatar img { width: 100%; height: 100%; object-fit: cover; }
.v2-tabs-avatar-guest {
  background: none;
  cursor: pointer;
}
.v2-tabs-avatar-guest span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5d4037;
}
.v2-tabs-avatar-guest svg { width: 20px; height: 20px; }
.v2-tabs-avatar .v2-avatar-fallback {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* modal模式隐藏悬浮发布按钮 */
body.in-modal .fab-publish { display: none !important; }

/* 无图片时左栏标题占位 */
.v2-gallery-no-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5efe6 0%, #e8dcc8 100%);
  padding: 40px;
}
.v2-no-image-quote {
  font-size: 80px;
  line-height: 1;
  color: #8B4513;
  opacity: 0.3;
  margin-bottom: 20px;
  font-family: Georgia, serif;
}
.v2-no-image-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  text-align: center;
  line-height: 1.5;
  max-width: 80%;
}
