/* ===== 虚拟手机样式 ===== */

/* ===== 锁屏 ===== */
.lock-screen {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
    background: url('https://s3.bmp.ovh/2026/08/15/DXRhbmTN.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.4s ease;
    will-change: transform, opacity;
}
.lock-screen.hidden {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
}
.lock-time {
    font-size: 76px;
    font-weight: 700;
    color: #e0ceb2;
    letter-spacing: 2px;
}
.lock-date {
    font-size: 18px;
    font-weight: 400;
    color: #e0ceb2;
    letter-spacing: 1px;
    margin-top: 8px;
}
.lock-sub {
    font-size: 13px;
    font-weight: 400;
    color: #e0ceb2;
    letter-spacing: 0.5px;
    margin-top: 6px;
}
.lock-indicator {
    position: absolute;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

@keyframes breathe {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* ===== 主屏幕 ===== */
.home-screen {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: none;
    flex-direction: column;
    background: linear-gradient(180deg, #fdfbf7 0%, #f4f1ea 100%);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}
.home-screen.visible {
    display: flex !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
}

/* ===== 状态栏 ===== */
.home-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px 4px 20px;
    height: 36px;
    flex-shrink: 0;
    pointer-events: auto !important;
}
.home-status-time {
    font-size: 14px;
    font-weight: 600;
    color: #3c3a36;
}
.home-status-close {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(60, 58, 54, 0.06);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #3c3a36;
    padding: 0;
}
.home-status-close svg {
    width: 18px;
    height: 18px;
}
.home-status-close:active {
    transform: scale(0.85);
    background: rgba(60, 58, 54, 0.12);
}

/* ===== App 网格 ===== */
.app-grid {
    flex: 1;
    padding: 12px 6px 0 6px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(6, 1fr);
    gap: 6px 6px;  /* 🔥 从 4px 增加到 6px */
    align-content: start;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    pointer-events: auto !important;
}

.app-grid .grid-cell {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: transparent !important;
    border: none !important;
    pointer-events: none;
}

.app-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;  /* 🔥 从 1px 增加到 4px */
    cursor: pointer;
    padding: 4px 0;  /* 🔥 从 2px 增加到 4px */
    border-radius: 16px;
    transition: all 0.15s ease;
    background: transparent !important;
    border: none !important;
    min-height: 0;
    min-width: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto !important;
}

.app-cell:active {
    transform: scale(0.88) !important;
    transition: transform 0.08s ease;
}

.app-cell:active .app-icon {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.30) !important;
}

.app-icon {
    width: 44px;  /* 🔥 从 32px 增加到 44px */
    height: 44px;  /* 🔥 从 32px 增加到 44px */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;  /* 🔥 从 12px 增加到 14px */
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    transition: all 0.2s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.app-icon svg {
    width: 22px;  /* 🔥 从 16px 增加到 22px */
    height: 22px;  /* 🔥 从 16px 增加到 22px */
    stroke: #3c3a36;
    stroke-width: 1.8;
}

.app-label {
    font-size: 9px;  /* 🔥 从 7px 增加到 9px */
    font-weight: 500;
    color: #3c3a36;
    letter-spacing: 0.2px;
    text-align: center;
    line-height: 1.2;
    max-width: 48px;  /* 🔥 从 36px 增加到 48px */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;  /* 🔥 从 1px 4px 增加到 2px 6px */
    border-radius: 6px;  /* 🔥 从 4px 增加到 6px */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ===== 底部 Dock 栏 ===== */
.home-dock {
    flex-shrink: 0;
    margin: 0 16px 16px 16px;
    padding: 8px 12px;
    height: 60px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(60, 58, 54, 0.12), 0 2px 4px rgba(60, 58, 54, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.home-dock .dock-item {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(60, 58, 54, 0.04);
    border: 1px solid rgba(60, 58, 54, 0.06);
    transition: all 0.2s ease;
}
.home-dock .dock-item:active {
    transform: scale(0.92);
    background: rgba(60, 58, 54, 0.08);
}

/* ===== App 占位页面 ===== */
.app-placeholder-page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: #fdfbf7;
    display: none !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
.app-placeholder-page.active {
    display: flex !important;
    animation: appOpenIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.app-placeholder-page.exit {
    animation: appOpenOut 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.app-placeholder-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: env(safe-area-inset-top, 16px) 16px 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    background: rgba(253, 251, 247, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(60, 58, 54, 0.04);
}
.app-placeholder-back {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(60, 58, 54, 0.04);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.app-placeholder-back:active {
    transform: scale(0.92);
    background: rgba(60, 58, 54, 0.08);
}
.app-placeholder-back svg {
    width: 20px;
    height: 20px;
    stroke: #3c3a36;
    stroke-width: 2;
    fill: none;
}
.app-placeholder-title {
    font-size: 17px;
    font-weight: 600;
    color: #3c3a36;
}
.app-placeholder-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    background: #fdfbf7;
}

@keyframes appOpenIn {
    0% { opacity: 0; transform: scale(0.92) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes appOpenOut {
    0% { opacity: 1; transform: scale(1) translateY(0); }
    100% { opacity: 0; transform: scale(0.92) translateY(20px); }
}

/* ===== 响应式 ===== */
@media screen and (max-width: 400px) {
    .app-container { max-width: 100%; }
}

/* ============================================================
   淘宝 Lite - 奶油风样式（修复版）
   ============================================================ */

/* ---------- 淘宝容器 ---------- */
.taobao-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fdfbf7;
    position: relative;
    overflow: hidden;  /* 外层保持 hidden，防止整体溢出 */
}

.taobao-container .taobao-scroll-area {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    position: relative;
    padding-bottom: 12px;
}

/* ---------- 顶部状态栏 ---------- */
.taobao-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 8px 16px;
    flex-shrink: 0;
    background: rgba(253, 251, 247, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10;
    border-bottom: 1px solid rgba(60, 58, 54, 0.04);
}

.taobao-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.taobao-header-back {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s;
    color: #3c3a36;
    padding: 0;
}

.taobao-header-back:active {
    background: rgba(60, 58, 54, 0.06);
}

.taobao-header-back svg {
    width: 20px;
    height: 20px;
    stroke: #3c3a36;
    stroke-width: 2;
    fill: none;
}

.taobao-header-title {
    font-size: 17px;
    font-weight: 600;
    color: #3c3a36;
    letter-spacing: 0.5px;
}

.taobao-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.taobao-header-icon {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #a09d94;
    padding: 0;
    transition: all 0.15s;
}

.taobao-header-icon:active {
    background: rgba(60, 58, 54, 0.06);
    transform: scale(0.92);
}

.taobao-header-icon svg {
    width: 20px;
    height: 20px;
    stroke: #a09d94;
    stroke-width: 1.8;
    fill: none;
}

/* ---------- 🔥 修复：页面容器可滚动 ---------- */
.taobao-content,
.taobao-cart-page,
.taobao-manage-page,
.taobao-profile-page {
    flex: 1;
    overflow-y: auto;           /* 🔥 关键：允许垂直滚动 */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    position: relative;
    min-height: 100%;
    padding-bottom: 12px;
}

/* 🔥 首页 - 商品列表滚动 */
.taobao-content {
    padding: 12px 10px 80px 10px;
    /* 🔥 确保内容区撑满，可滚动 */
    min-height: 0;
}

.taobao-cart-page {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    position: relative;
    padding: 12px 16px 80px 16px;
    display: flex;
    flex-direction: column;
}

.taobao-cart-page #taobaoCartList {
    flex: 1;
    min-height: 0;
}

/* 🔥 商品管理页 - 滚动 */
.taobao-manage-page {
    padding: 12px 16px 80px 16px;
    min-height: 0;
}

.taobao-profile-page {
    padding: 16px 16px 80px 16px;
}

/* ---------- 商品列表（双列瀑布流） ---------- */
.taobao-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* ---------- 商品卡片（奶油毛玻璃） ---------- */
.taobao-product-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 10px 10px 12px 10px;
    box-shadow: 0 4px 16px rgba(60, 58, 54, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.taobao-product-card:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.7);
}

.taobao-product-card .product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background: rgba(60, 58, 54, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    overflow: hidden;
    margin-bottom: 8px;
}

.taobao-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.taobao-product-card .product-name {
    font-size: 13px;
    font-weight: 500;
    color: #3c3a36;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
    margin-bottom: 4px;
}

.taobao-product-card .product-price {
    font-size: 16px;
    font-weight: 700;
    color: #b8a89a;
    letter-spacing: 0.3px;
}

.taobao-product-card .product-sales {
    font-size: 11px;
    color: #a09d94;
    margin-top: 2px;
}

/* ---------- 光晕点击反馈 ---------- */
.taobao-product-card .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(60, 58, 54, 0.06);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ---------- 飞入购物车动画 ---------- */
.taobao-fly-item {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(60, 58, 54, 0.1);
    box-shadow: 0 4px 20px rgba(60, 58, 54, 0.12);
    z-index: 9999;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: none;
}

.taobao-fly-item::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 58, 54, 0.04), transparent 70%);
    animation: flyGlow 0.6s ease-out forwards;
}

@keyframes flyGlow {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* ---------- 购物车角标弹跳 ---------- */
.taobao-cart-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: #b8a89a;
    color: #f5f0e8;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.taobao-cart-badge.bounce {
    animation: badgeBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badgeBounce {
    0% {
        transform: scale(0.8);
    }
    40% {
        transform: scale(1.6);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* ---------- 购物车图标弹跳 ---------- */
.taobao-tab-item.bounce .icon {
    animation: cartBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartBounce {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.3);
    }
    60% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* ---------- Toast 提示 ---------- */
.taobao-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(60, 58, 54, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #f5f0e8;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.taobao-toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ---------- 购物车页面 ---------- */
.taobao-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
    color: #a09d94;
}

.taobao-cart-empty .icon {
    font-size: 56px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.taobao-cart-empty .text {
    font-size: 15px;
    color: #a09d94;
}

.taobao-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.taobao-cart-item .item-image {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(60, 58, 54, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    overflow: hidden;
}

.taobao-cart-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.taobao-cart-item .item-info {
    flex: 1;
    min-width: 0;
}

.taobao-cart-item .item-name {
    font-size: 14px;
    font-weight: 500;
    color: #3c3a36;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.taobao-cart-item .item-price {
    font-size: 14px;
    font-weight: 600;
    color: #b8a89a;
    margin-top: 2px;
}

.taobao-cart-item .item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.taobao-cart-item .qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(60, 58, 54, 0.06);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #3c3a36;
    transition: all 0.15s;
    padding: 0;
}

.taobao-cart-item .qty-btn:active {
    transform: scale(0.85);
    background: rgba(60, 58, 54, 0.12);
}

.taobao-cart-item .qty-num {
    font-size: 14px;
    font-weight: 500;
    color: #3c3a36;
    min-width: 20px;
    text-align: center;
}

.taobao-cart-item .item-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #a09d94;
    font-size: 16px;
    transition: all 0.15s;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.taobao-cart-item .item-remove:active {
    transform: scale(0.85);
    background: rgba(60, 58, 54, 0.06);
    color: #b8a89a;
}

/* ---------- 🔥 修复：购物车底部结算栏 ---------- */
.taobao-cart-footer {
    position: relative;
    flex-shrink: 0;
    padding: 12px 16px;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(60, 58, 54, 0.04);
}

.taobao-cart-footer .total-label {
    font-size: 13px;
    color: #a09d94;
}

.taobao-cart-footer .total-price {
    font-size: 20px;
    font-weight: 700;
    color: #b8a89a;
}

.taobao-cart-footer .checkout-btn {
    padding: 10px 28px;
    border: none;
    border-radius: 999px;
    background: #3c3a36;
    color: #f5f0e8;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: 0 4px 16px rgba(60, 58, 54, 0.15);
}

.taobao-cart-footer .checkout-btn:active {
    transform: scale(0.95);
}

.taobao-cart-footer .checkout-btn:disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ---------- 商品管理页 ---------- */
.taobao-manage-form {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(60, 58, 54, 0.06);
}

.taobao-manage-form .form-group {
    margin-bottom: 12px;
}

.taobao-manage-form .form-group:last-child {
    margin-bottom: 0;
}

.taobao-manage-form label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #a09d94;
    margin-bottom: 4px;
}

.taobao-manage-form input,
.taobao-manage-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(60, 58, 54, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    color: #3c3a36;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}

.taobao-manage-form input:focus,
.taobao-manage-form textarea:focus {
    border-color: rgba(60, 58, 54, 0.2);
    background: rgba(255, 255, 255, 0.8);
}

.taobao-manage-form textarea {
    resize: vertical;
    min-height: 60px;
}

.taobao-manage-form .image-upload-area {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 140px;
    border-radius: 12px;
    background: rgba(60, 58, 54, 0.04);
    border: 2px dashed rgba(60, 58, 54, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
    position: relative;
}

.taobao-manage-form .image-upload-area:active {
    transform: scale(0.97);
}

.taobao-manage-form .image-upload-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.taobao-manage-form .image-upload-area .placeholder {
    font-size: 32px;
    color: #a09d94;
    opacity: 0.5;
}

.taobao-manage-form .image-upload-area .hint {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #a09d94;
    background: rgba(255, 255, 255, 0.6);
    padding: 2px 10px;
    border-radius: 999px;
}

.taobao-manage-form .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.taobao-manage-form .form-actions button {
    flex: 1;
    padding: 10px 0;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.taobao-manage-form .form-actions .save-btn {
    background: #3c3a36;
    color: #f5f0e8;
    box-shadow: 0 4px 16px rgba(60, 58, 54, 0.12);
}

.taobao-manage-form .form-actions .save-btn:active {
    transform: scale(0.95);
}

.taobao-manage-form .form-actions .cancel-btn {
    background: rgba(60, 58, 54, 0.06);
    color: #a09d94;
}

.taobao-manage-form .form-actions .cancel-btn:active {
    transform: scale(0.95);
    background: rgba(60, 58, 54, 0.12);
}

/* ---------- 已有商品列表（管理页） ---------- */
.taobao-manage-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.taobao-manage-item {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 4px 16px rgba(60, 58, 54, 0.06);
}

.taobao-manage-item .item-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    background: rgba(60, 58, 54, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    overflow: hidden;
    margin-bottom: 6px;
}

.taobao-manage-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.taobao-manage-item .item-name {
    font-size: 13px;
    font-weight: 500;
    color: #3c3a36;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.taobao-manage-item .item-price {
    font-size: 14px;
    font-weight: 600;
    color: #b8a89a;
}

.taobao-manage-item .item-stock {
    font-size: 11px;
    color: #a09d94;
}

.taobao-manage-item .item-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.taobao-manage-item .item-actions button {
    flex: 1;
    padding: 4px 0;
    border: none;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.taobao-manage-item .item-actions .edit-btn {
    background: rgba(60, 58, 54, 0.06);
    color: #3c3a36;
}

.taobao-manage-item .item-actions .edit-btn:active {
    transform: scale(0.92);
    background: rgba(60, 58, 54, 0.12);
}

.taobao-manage-item .item-actions .del-btn {
    background: rgba(60, 58, 54, 0.06);
    color: #b8a89a;
}

.taobao-manage-item .item-actions .del-btn:active {
    transform: scale(0.92);
    background: rgba(60, 58, 54, 0.12);
}

/* ---------- 我的页面 ---------- */
.taobao-profile-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(60, 58, 54, 0.06);
    margin-bottom: 16px;
}

.taobao-profile-header .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(60, 58, 54, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    overflow: hidden;
}

.taobao-profile-header .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.taobao-profile-header .info .name {
    font-size: 17px;
    font-weight: 600;
    color: #3c3a36;
}

.taobao-profile-header .info .id {
    font-size: 12px;
    color: #a09d94;
    margin-top: 2px;
}

.taobao-order-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(60, 58, 54, 0.06);
    margin-bottom: 16px;
}

.taobao-order-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    padding: 4px 0;
    transition: all 0.15s;
}

.taobao-order-stats .stat-item:active {
    transform: scale(0.92);
}

.taobao-order-stats .stat-item .icon {
    font-size: 22px;
}

.taobao-order-stats .stat-item .label {
    font-size: 11px;
    color: #a09d94;
}

.taobao-order-stats .stat-item .count {
    font-size: 13px;
    font-weight: 600;
    color: #3c3a36;
}

.taobao-profile-menu {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(60, 58, 54, 0.06);
    overflow: hidden;
}

.taobao-profile-menu .menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.15s;
    border-bottom: 1px solid rgba(60, 58, 54, 0.04);
}

.taobao-profile-menu .menu-item:last-child {
    border-bottom: none;
}

.taobao-profile-menu .menu-item:active {
    background: rgba(60, 58, 54, 0.04);
}

.taobao-profile-menu .menu-item .left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.taobao-profile-menu .menu-item .left .icon {
    font-size: 18px;
}

.taobao-profile-menu .menu-item .left .text {
    font-size: 14px;
    font-weight: 500;
    color: #3c3a36;
}

.taobao-profile-menu .menu-item .arrow {
    color: #a09d94;
    font-size: 14px;
}

/* ---------- 底部 Tab ---------- */
.taobao-tab-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    z-index: 10;
    box-shadow: 0 -4px 20px rgba(60, 58, 54, 0.04);
}

.taobao-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px 12px;
    transition: all 0.2s;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.taobao-tab-item:active {
    transform: scale(0.92);
}

.taobao-tab-item .icon {
    font-size: 22px;
    line-height: 1;
}

.taobao-tab-item .label {
    font-size: 10px;
    color: #a09d94;
    font-weight: 500;
    transition: color 0.2s;
}

.taobao-tab-item.active .label {
    color: #3c3a36;
    font-weight: 600;
}

.taobao-tab-item .badge {
    position: absolute;
    top: 0;
    right: 4px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    background: #b8a89a;
    color: #f5f0e8;
    font-size: 9px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-sizing: border-box;
}

/* ---------- 确认弹窗（奶油风格） ---------- */
.taobao-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.taobao-confirm-overlay.active {
    display: flex;
    opacity: 1;
}

.taobao-confirm-box {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 24px 28px 20px 28px;
    width: 280px;
    max-width: 85%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.1);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

.taobao-confirm-overlay.active .taobao-confirm-box {
    transform: scale(1);
}

.taobao-confirm-box .title {
    font-size: 16px;
    font-weight: 600;
    color: #3c3a36;
    margin-bottom: 6px;
}

.taobao-confirm-box .sub {
    font-size: 13px;
    color: #a09d94;
    margin-bottom: 18px;
    line-height: 1.5;
}

.taobao-confirm-box .actions {
    display: flex;
    gap: 10px;
}

.taobao-confirm-box .actions button {
    flex: 1;
    padding: 10px 0;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.taobao-confirm-box .actions .cancel-btn {
    background: rgba(60, 58, 54, 0.06);
    color: #a09d94;
}

.taobao-confirm-box .actions .cancel-btn:active {
    transform: scale(0.95);
}

.taobao-confirm-box .actions .confirm-btn {
    background: #3c3a36;
    color: #f5f0e8;
    box-shadow: 0 4px 16px rgba(60, 58, 54, 0.12);
}

.taobao-confirm-box .actions .confirm-btn:active {
    transform: scale(0.95);
}

/* ---------- 滚动条美化 ---------- */
.taobao-content::-webkit-scrollbar,
.taobao-cart-page::-webkit-scrollbar,
.taobao-manage-page::-webkit-scrollbar,
.taobao-profile-page::-webkit-scrollbar {
    width: 3px;
}

.taobao-content::-webkit-scrollbar-track,
.taobao-cart-page::-webkit-scrollbar-track,
.taobao-manage-page::-webkit-scrollbar-track,
.taobao-profile-page::-webkit-scrollbar-track {
    background: transparent;
}

.taobao-content::-webkit-scrollbar-thumb,
.taobao-cart-page::-webkit-scrollbar-thumb,
.taobao-manage-page::-webkit-scrollbar-thumb,
.taobao-profile-page::-webkit-scrollbar-thumb {
    background: rgba(60, 58, 54, 0.08);
    border-radius: 2px;
}

/* 🔥 强制所有淘宝页面内容可滚动 */
.taobao-container .taobao-content,
.taobao-container .taobao-cart-page,
.taobao-container .taobao-manage-page,
.taobao-container .taobao-profile-page {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-height: calc(100% - 120px) !important;  /* 减去顶部栏 + 底部 Tab 的高度 */
}

/* 🔥 强制修复：淘宝滚动区域底部距离 */
.taobao-scroll-area {
    padding-bottom: 0px !important;
}

.taobao-scroll-area .taobao-content,
.taobao-scroll-area .taobao-cart-page,
.taobao-scroll-area .taobao-manage-page,
.taobao-scroll-area .taobao-profile-page {
    padding-bottom: 12px !important;
}

/* 🔥 Tab 栏紧贴底部 */
.taobao-tab-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

.taobao-product-card .product-image svg {
    width: 40px;
    height: 40px;
}

.taobao-cart-item .item-image svg {
    width: 30px;
    height: 30px;
}

.taobao-manage-item .item-image svg {
    width: 36px;
    height: 36px;
}

.taobao-tab-item .icon svg {
    width: 24px;
    height: 24px;
    display: block;
    margin: 0 auto;
}

/* ---------- 我的页面 SVG 图标样式 ---------- */
.taobao-order-stats .stat-item .icon svg {
    width: 24px;
    height: 24px;
    display: block;
    margin: 0 auto;
}

.taobao-profile-menu .menu-item .left .icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* ============================================================ */
/* ===== 极速页面切换动画（< 200ms） ===== */
/* ============================================================ */

/* 页面进入动画 - 极速淡入 */
.page-enter {
    animation: pageFadeIn 0.15s ease-out forwards;
}

/* 页面退出动画 - 极速淡出 */
.page-exit {
    animation: pageFadeOut 0.12s ease-in forwards;
}

@keyframes pageFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pageFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.98);
    }
}

/* 相遇纪事专属 - 极速信纸翻页 */
.page-meet-enter {
    animation: meetFadeIn 0.18s ease-out forwards;
}

@keyframes meetFadeIn {
    0% {
        opacity: 0;
        transform: perspective(800px) rotateY(-4deg) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: perspective(800px) rotateY(0) scale(1);
    }
}

/* 卡片入场（延迟极短） */
.meet-story-item {
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.meet-story-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================ */
/* ===== 相遇纪事 - 入场动画 ===== */
/* ============================================================ */

/* 页面整体淡入 + 轻微上浮 */
#page-meet.page-enter {
    animation: meetPageEnter 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes meetPageEnter {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 英雄区（顶部头像区域）逐个元素淡入 */
.meet-hero-avatar {
    opacity: 0;
    transform: scale(0.9);
    animation: meetHeroPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.meet-hero-avatar:nth-child(1) { animation-delay: 0.05s; }
.meet-hero-avatar:nth-child(2) { animation-delay: 0.15s; }
.meet-hero-avatar:nth-child(3) { animation-delay: 0.25s; }

@keyframes meetHeroPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 统计数字（相遇次数、默契值）渐入 */
.meet-stat {
    opacity: 0;
    animation: meetStatFade 0.5s ease forwards;
}
.meet-stat:nth-child(1) { animation-delay: 0.2s; }
.meet-stat:nth-child(2) { animation-delay: 0.3s; }
.meet-stat:nth-child(3) { animation-delay: 0.4s; }

@keyframes meetStatFade {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 时间线条目逐个滑入 */
.meet-story-item {
    opacity: 0;
    transform: translateX(-12px);
    animation: meetItemSlide 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.meet-story-item:nth-child(1) { animation-delay: 0.05s; }
.meet-story-item:nth-child(2) { animation-delay: 0.10s; }
.meet-story-item:nth-child(3) { animation-delay: 0.15s; }
.meet-story-item:nth-child(4) { animation-delay: 0.20s; }
.meet-story-item:nth-child(5) { animation-delay: 0.25s; }
.meet-story-item:nth-child(6) { animation-delay: 0.30s; }
.meet-story-item:nth-child(7) { animation-delay: 0.35s; }
.meet-story-item:nth-child(8) { animation-delay: 0.40s; }
.meet-story-item:nth-child(9) { animation-delay: 0.45s; }
.meet-story-item:nth-child(10) { animation-delay: 0.50s; }
.meet-story-item:nth-child(11) { animation-delay: 0.55s; }
.meet-story-item:nth-child(12) { animation-delay: 0.60s; }
.meet-story-item:nth-child(13) { animation-delay: 0.65s; }
.meet-story-item:nth-child(14) { animation-delay: 0.70s; }
.meet-story-item:nth-child(15) { animation-delay: 0.75s; }

@keyframes meetItemSlide {
    0% {
        opacity: 0;
        transform: translateX(-12px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 顶部导航栏滑入 */
#page-meet .meet-nav-bar {
    opacity: 0;
    transform: translateY(-12px);
    animation: meetNavSlide 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.05s;
}

@keyframes meetNavSlide {
    0% {
        opacity: 0;
        transform: translateY(-12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================ */
/* ===== 约会功能 ===== */
/* ============================================================ */

/* 日期滑块自定义样式 */
#dateBondSlider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: #e8e4dc;
    outline: none;
    transition: background 0.2s;
}
#dateBondSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3d3630;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(60, 58, 54, 0.15);
}
#dateBondSlider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: #3d3630;
    cursor: pointer;
}

/* 约会卡片点击反馈 */
.date-card,
.date-record-item {
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

/* 约会弹窗滚动优化 */
#dateSettingModal,
#dateDetailModal,
#dateEndModal {
    scrollbar-width: thin;
    scrollbar-color: #d6d0c8 transparent;
}
#dateSettingModal::-webkit-scrollbar,
#dateDetailModal::-webkit-scrollbar,
#dateEndModal::-webkit-scrollbar {
    width: 3px;
}
#dateSettingModal::-webkit-scrollbar-thumb,
#dateDetailModal::-webkit-scrollbar-thumb,
#dateEndModal::-webkit-scrollbar-thumb {
    background: #d6d0c8;
    border-radius: 999px;
}

/* Dock 按钮活跃状态 */
.date-dock-item.active svg {
    stroke: #3d3630 !important;
}

/* ============================================================
   🆕 新版主屏幕样式
   ============================================================ */

/* 壁纸层 */
.home-background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('https://s3.bmp.ovh/2026/08/16/SRpoEy79.jpg');
    background-size: cover;
    background-position: center bottom;
    pointer-events: none;
}

/* 滑动容器 */
.home-scroll-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
.home-scroll-container::-webkit-scrollbar { display: none; }

/* 每一页 - 增大间距 */
.home-page {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: start;
    padding: 60px 20px 120px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 20px;  /* 🔥 间距增大 */
    place-items: center;
}

/* 小组件 */
.home-widget {
    background: rgba(232, 220, 197, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 28px;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.3), 0 8px 32px rgba(0,0,0,0.06);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(60,58,54,0.6);
    font-size: 14px;
    font-weight: 500;
}
.home-widget:active { transform: scale(0.96); }
.home-widget-lg { grid-column: span 2; grid-row: span 2; }
.home-widget-sm { grid-column: span 1; grid-row: span 1; border-radius: 20px; }

/* App 卡片 - 毛玻璃背景（缩小版，仅包裹图标） */
.home-app {
    background: rgba(245, 239, 230, 0.50);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    width: 64%;
    height: 64%;
    /* 🔥 原阴影保留 + 新增柔和投影 */
    box-shadow: 
        inset 0 2px 4px rgba(255,255,255,0.25),
        0 6px 20px rgba(160, 140, 120, 0.15),
        0 2px 8px rgba(160, 140, 120, 0.08);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    min-height: 0;
    min-width: 0;
    justify-self: center;
    align-self: center;
    position: relative;
}

.home-app:active {
    transform: scale(0.92);
    background: rgba(245, 239, 230, 0.70);
    /* 🔥 按下时阴影略微加深，更有按压感 */
    box-shadow: 
        inset 0 2px 4px rgba(255,255,255,0.25),
        0 3px 10px rgba(160, 140, 120, 0.12),
        0 1px 4px rgba(160, 140, 120, 0.06);
}

.home-app-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

.home-app-icon svg {
    width: 24px;
    height: 24px;
    stroke: #b8a080;
    stroke-width: 1.8;
    fill: none;
}

/* 🔥 文字移到卡片外部（绝对定位在下方） */
.home-app-label {
    font-size: 8px;
    font-weight: 500;
    color: #6b5a4a;
    letter-spacing: 0.2px;
    text-align: center;
    line-height: 1.2;
    max-width: 48px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    /* 🔥 绝对定位到卡片外部下方 */
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    width: auto;
}
/* 底部 Dock 栏 - 真正的主屏幕dock */
.home-dock {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    z-index: 6;
    height: 80px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 12px;
}

.home-dock .dock-item {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(232, 220, 197, 0.40);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.15s ease;
}

.home-dock .dock-item:active {
    transform: scale(0.90);
    background: rgba(232, 220, 197, 0.60);
}
.home-dock-item svg { width: 26px; height: 26px; stroke: #3c3a36; stroke-width: 1.8; fill: none; }

/* 主屏幕容器 */
.home-screen {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: none;
    flex-direction: column;
    background: transparent;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    overflow: hidden;
}
.home-screen.visible {
    display: flex !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
}

/* 状态栏 */
.home-status-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px 8px 24px;
    height: 52px;
    flex-shrink: 0;
    pointer-events: auto !important;
    background: transparent;
}
.home-status-time {
    font-size: 15px;
    font-weight: 600;
    color: #3c3a36;
    text-shadow: 0 1px 8px rgba(255,255,255,0.3);
}
.home-status-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3c3a36;
    padding: 0;
}
.home-status-close:active { transform: scale(0.85); }
.home-status-close svg { width: 18px; height: 18px; }

/* 音乐黑胶旋转动画 */
@keyframes spinSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================================
   朋友圈 - 极简纯文本（版本1）
   ============================================================ */

.moments-screen {
    background: #f5f1eb;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.moments-nav {
    padding: 12px 16px 8px 16px;
    background: rgba(253, 251, 247, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(60, 58, 54, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    z-index: 2;
}
.moments-nav .back-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #3c3a36;
}
.moments-nav .back-btn:active {
    background: rgba(60, 58, 54, 0.06);
}
.moments-nav .back-btn svg {
    width: 20px;
    height: 20px;
    stroke: #3c3a36;
    stroke-width: 2;
    fill: none;
}
.moments-nav .title {
    font-size: 17px;
    font-weight: 600;
    color: #3c3a36;
    letter-spacing: 0.3px;
}
.moments-nav .actions {
    display: flex;
    gap: 8px;
}
.moments-nav .actions button {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #a09d94;
}
.moments-nav .actions button:active {
    background: rgba(60, 58, 54, 0.06);
    transform: scale(0.92);
}
.moments-nav .actions button svg {
    width: 18px;
    height: 18px;
    stroke: #a09d94;
    stroke-width: 1.8;
    fill: none;
}

.moments-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0 12px 0;
    scroll-behavior: smooth;
}
.moments-scroll::-webkit-scrollbar {
    width: 2px;
}
.moments-scroll::-webkit-scrollbar-thumb {
    background: rgba(60, 58, 54, 0.08);
    border-radius: 3px;
}

.moment-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(60, 58, 54, 0.04);
    margin: 8px 16px 0 16px;
    padding: 14px 16px 10px 16px;
    transition: all 0.15s;
}
.moment-card:active {
    transform: scale(0.98);
}

.moment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}
.moment-header .m-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ece9e2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #b8a89a;
    flex-shrink: 0;
    overflow: hidden;
}
.moment-header .m-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.moment-header .m-info {
    flex: 1;
}
.moment-header .m-info .m-name {
    font-size: 13px;
    font-weight: 600;
    color: #3c3a36;
}
.moment-header .m-info .m-time {
    font-size: 10px;
    color: #a09d94;
}

.moment-content {
    font-size: 14px;
    line-height: 1.6;
    color: #3c3a36;
    margin: 2px 0 6px 0;
    letter-spacing: 0.2px;
    padding: 2px 0;
}
.moment-content .highlight {
    color: #b8a89a;
    font-weight: 500;
}

.moment-actions {
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    padding-top: 6px;
    border-top: 1px solid rgba(60, 58, 54, 0.04);
    margin-top: 4px;
}
.moment-actions .action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #a09d94;
    cursor: default;
    padding: 2px 4px;
    border: none;
    background: transparent;
}
.moment-actions .action-btn svg {
    width: 15px;
    height: 15px;
    stroke: #a09d94;
    stroke-width: 1.8;
    fill: none;
}
.moment-actions .action-btn.liked {
    color: #b8a89a;
}
.moment-actions .action-btn.liked svg {
    stroke: #b8a89a;
    fill: #b8a89a;
}

.moments-tab-placeholder {
    position: sticky;
    bottom: 0;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0 16px 12px 16px;
    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(60, 58, 54, 0.06);
}
.moments-tab-placeholder .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    color: #a09d94;
    font-size: 8px;
    font-weight: 500;
    cursor: default;
    padding: 4px 12px;
}
.moments-tab-placeholder .tab-item.active {
    color: #3c3a36;
}
.moments-tab-placeholder .tab-item svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

/* ============================================================
   朋友圈 - 发布页
   ============================================================ */

.moments-publish-screen {
    background: #f5f1eb;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.publish-textarea {
    width: 100%;
    min-height: 160px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #3c3a36;
    outline: none;
    resize: none;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    line-height: 1.6;
    padding: 4px 0;
}
.publish-textarea::placeholder {
    color: #c7c4bc;
}

.publish-tools {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(60, 58, 54, 0.04);
    margin-top: 4px;
}
.publish-tools button {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(60, 58, 54, 0.04);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a09d94;
    transition: all 0.15s;
}
.publish-tools button:active {
    transform: scale(0.92);
    background: rgba(60, 58, 54, 0.10);
}
.publish-tools button svg {
    width: 18px;
    height: 18px;
    stroke: #a09d94;
    stroke-width: 1.8;
    fill: none;
}

.publish-bottom-bar {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 4px 0;
    border-top: 1px solid rgba(60, 58, 54, 0.04);
    background: rgba(245, 241, 235, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 0 -4px;
    padding: 12px 4px 4px 4px;
}
.publish-bottom-bar .char-count {
    font-size: 12px;
    color: #c7c4bc;
}
.publish-bottom-bar .char-count.warning {
    color: #ff3b30;
}
.publish-btn {
    padding: 8px 24px;
    border: none;
    border-radius: 999px;
    background: #3c3a36;
    color: #f5f0e8;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: 0 2px 12px rgba(60, 58, 54, 0.12);
}
.publish-btn:active {
    transform: scale(0.95);
}
.publish-btn:disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* ============================================================
   朋友圈 - 我的页
   ============================================================ */

.moments-profile-screen {
    background: #f5f1eb;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.profile-cover {
    height: 120px;
    background: linear-gradient(135deg, #d5c8b8 0%, #e8ddd0 100%);
    border-radius: 0 0 28px 28px;
    flex-shrink: 0;
    position: relative;
}
.profile-cover .avatar-wrapper {
    position: absolute;
    bottom: -36px;
    left: 20px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}
.profile-cover .avatar-big {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #f5efe8;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(60, 58, 54, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #b8a89a;
    flex-shrink: 0;
    overflow: hidden;
}
.profile-cover .avatar-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-cover .profile-name {
    font-size: 18px;
    font-weight: 700;
    color: #3c3a36;
    padding-bottom: 4px;
}
.profile-cover .profile-id {
    font-size: 11px;
    color: #a09d94;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    padding: 16px 20px;
    margin: 20px 16px 12px 16px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.profile-stats .stat-item {
    text-align: center;
    cursor: default;
}
.profile-stats .stat-item .num {
    font-size: 20px;
    font-weight: 700;
    color: #3c3a36;
}
.profile-stats .stat-item .label {
    font-size: 11px;
    color: #a09d94;
    margin-top: 2px;
}

.profile-menu-list {
    margin: 0 16px 12px 16px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}
.profile-menu-list .menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(60, 58, 54, 0.04);
    cursor: default;
    transition: background 0.15s;
}
.profile-menu-list .menu-item:last-child {
    border-bottom: none;
}
.profile-menu-list .menu-item .left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.profile-menu-list .menu-item .left .icon {
    font-size: 16px;
    color: #a09d94;
}
.profile-menu-list .menu-item .left .text {
    font-size: 14px;
    font-weight: 500;
    color: #3c3a36;
}
.profile-menu-list .menu-item .arrow {
    color: #c7c4bc;
    font-size: 14px;
}
.profile-menu-list .menu-item:active {
    background: rgba(60, 58, 54, 0.04);
}

.profile-tab-placeholder {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0 16px 12px 16px;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(60, 58, 54, 0.06);
}
.profile-tab-placeholder .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    color: #a09d94;
    font-size: 8px;
    font-weight: 500;
    cursor: default;
    padding: 4px 12px;
}
.profile-tab-placeholder .tab-item.active {
    color: #3c3a36;
}
.profile-tab-placeholder .tab-item svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

/* ============================================================
   朋友圈 - 时间轴版（我的页专用）
   ============================================================ */

.moments-timeline {
    background: #f5f1eb;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.timeline-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 12px 0;
}
.timeline-scroll::-webkit-scrollbar {
    width: 2px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
    background: rgba(60, 58, 54, 0.08);
    border-radius: 3px;
}

/* ---------- 用户信息 + 米色小气泡 ---------- */
.profile-bubble {
    padding: 4px 0 2px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.profile-bubble .avatar-big {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e8ddd0;
    border: 3px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(60, 58, 54, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #b8a89a;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}
.profile-bubble .avatar-big img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.profile-bubble .name {
    font-size: 18px;
    font-weight: 700;
    color: #3c3a36;
    position: relative;
    z-index: 2;
}
.profile-bubble .id {
    font-size: 10px;
    color: #a09d94;
    margin-top: 1px;
    position: relative;
    z-index: 2;
}
.profile-bubble .bio-tag {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 14px;
    background: rgba(184, 168, 154, 0.12);
    border-radius: 999px;
    font-size: 10px;
    color: #6b5a4a;
    position: relative;
    z-index: 2;
}

/* 🔥 大气泡 - 与朋友圈卡片同色 */
.bubble-wrapper {
    position: relative;
    padding: 20px 24px 22px 24px;
    margin: 8px 16px 6px 16px;
    background: rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 16px rgba(60, 58, 54, 0.04);
}

/* ---------- 时间轴标题 ---------- */
.timeline-title {
    padding: 6px 20px 2px 20px;
    font-size: 11px;
    color: #a09d94;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.timeline-title::before {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(160, 157, 148, 0.15);
}
.timeline-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(160, 157, 148, 0.15);
}

/* ---------- 时间轴卡片 ---------- */
.timeline-item {
    position: relative;
    padding-left: 24px;
    margin: 0 16px 0 16px;
    padding-bottom: 4px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 26px;
    bottom: 0;
    width: 2px;
    background: rgba(184, 168, 154, 0.12);
}
.timeline-item:last-child::before {
    display: none;
}
.timeline-item .timeline-dot {
    position: absolute;
    left: 0;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c8b8a8;
    border: 2px solid #f5f1eb;
    box-shadow: 0 0 0 2px #c8b8a8;
    z-index: 1;
}
.timeline-item .timeline-dot.liked {
    background: #d4c5b5;
    box-shadow: 0 0 0 2px #d4c5b5;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 12px rgba(60, 58, 54, 0.03);
    padding: 10px 12px 8px 12px;
    margin-left: 4px;
    transition: all 0.15s;
}
.timeline-card:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.65);
}
.timeline-card .card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1px;
}
.timeline-card .card-header .m-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ece9e2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #b8a89a;
    flex-shrink: 0;
}
.timeline-card .card-header .m-name {
    font-size: 12px;
    font-weight: 600;
    color: #3c3a36;
}
.timeline-card .card-header .m-time-tag {
    margin-left: auto;
    font-size: 9px;
    color: #a09d94;
    background: rgba(160, 157, 148, 0.07);
    padding: 1px 8px;
    border-radius: 999px;
}
.timeline-card .card-content {
    font-size: 12.5px;
    line-height: 1.6;
    color: #3c3a36;
    margin: 1px 0 3px 0;
    padding-left: 30px;
}
.timeline-card .card-actions {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    padding-top: 3px;
    border-top: 1px solid rgba(60, 58, 54, 0.04);
    margin-top: 3px;
    padding-left: 30px;
}
.timeline-card .card-actions .action-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: #a09d94;
    cursor: default;
    padding: 1px 3px;
    border: none;
    background: transparent;
}
.timeline-card .card-actions .action-btn svg {
    width: 13px;
    height: 13px;
    stroke: #a09d94;
    stroke-width: 1.8;
    fill: none;
}
.timeline-card .card-actions .action-btn.liked {
    color: #b8a89a;
}
.timeline-card .card-actions .action-btn.liked svg {
    stroke: #b8a89a;
    fill: #b8a89a;
}

/* ---------- 底部Tab ---------- */
.profile-tab-placeholder {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0 16px 10px 16px;
    padding: 6px 0;
    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(60, 58, 54, 0.06);
}
.profile-tab-placeholder .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    color: #a09d94;
    font-size: 8px;
    font-weight: 500;
    cursor: default;
    padding: 4px 12px;
}
.profile-tab-placeholder .tab-item.active {
    color: #3c3a36;
}
.profile-tab-placeholder .tab-item svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

/* ============================================================
   写动态 - 版本3 SVG（发布页专用）
   ============================================================ */

.publish-screen {
    background: #f5f1eb;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.publish-nav {
    padding: 12px 16px 8px 16px;
    background: rgba(253, 251, 247, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(60, 58, 54, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    z-index: 2;
}
.publish-nav .back-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #3c3a36;
}
.publish-nav .back-btn:active {
    background: rgba(60, 58, 54, 0.06);
}
.publish-nav .back-btn svg {
    width: 20px;
    height: 20px;
    stroke: #3c3a36;
    stroke-width: 2;
    fill: none;
}
.publish-nav .title {
    font-size: 17px;
    font-weight: 600;
    color: #3c3a36;
}
.publish-nav .right-placeholder {
    width: 32px;
}

.publish-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 20px 12px 20px;
}
.publish-scroll::-webkit-scrollbar {
    width: 2px;
}
.publish-scroll::-webkit-scrollbar-thumb {
    background: rgba(60, 58, 54, 0.08);
    border-radius: 3px;
}

.publish-hero {
    padding: 28px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}
.publish-hero .hero-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3c3a36;
}
.publish-hero .hero-icon svg {
    width: 48px;
    height: 48px;
    stroke: #3c3a36;
    stroke-width: 1.5;
    fill: none;
}
.publish-hero .hero-title {
    font-size: 18px;
    font-weight: 700;
    color: #3c3a36;
}
.publish-hero .hero-sub {
    font-size: 12px;
    color: #a09d94;
    margin-top: 2px;
}

.publish-quick-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.publish-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 0;
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 12px rgba(60, 58, 54, 0.04);
    color: #3c3a36;
    font-family: inherit;
}
.publish-action-btn:active {
    transform: scale(0.97);
}
.publish-action-btn .icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.publish-action-btn .icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}
.publish-action-btn.primary {
    background: #3c3a36;
    border: 1px solid #3c3a36;
    color: #f5f0e8;
    box-shadow: 0 4px 16px rgba(60, 58, 54, 0.12);
}
.publish-action-btn.primary .icon svg {
    stroke: #f5f0e8;
}

.publish-hint {
    text-align: center;
    padding-top: 14px;
    font-size: 11px;
    color: #c7c4bc;
}
.publish-hint svg {
    width: 14px;
    height: 14px;
    stroke: #c7c4bc;
    stroke-width: 1.8;
    fill: none;
    vertical-align: middle;
    margin-right: 4px;
}

/* 底部Tab - 发布页复用 */
.publish-tab-placeholder {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0 16px 10px 16px;
    padding: 6px 0;
    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(60, 58, 54, 0.06);
}
.publish-tab-placeholder .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    color: #a09d94;
    font-size: 8px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 12px;
    transition: color 0.2s;
}
.publish-tab-placeholder .tab-item.active {
    color: #3c3a36;
}
.publish-tab-placeholder .tab-item svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

/* 弹窗样式 - 发布页复用 */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-box {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.10);
    width: 100%;
    max-width: 340px;
    max-height: 80%;
    overflow-y: auto;
    padding: 20px 18px 18px 18px;
}
.modal-box .modal-title {
    font-size: 17px;
    font-weight: 600;
    color: #3c3a36;
    text-align: center;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.modal-box .modal-title svg {
    width: 22px;
    height: 22px;
    stroke: #3c3a36;
    stroke-width: 1.8;
    fill: none;
}
.modal-box .modal-sub {
    font-size: 12px;
    color: #a09d94;
    text-align: center;
    margin-bottom: 16px;
}
.modal-box .modal-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(60, 58, 54, 0.02);
    border: 1px solid rgba(60, 58, 54, 0.04);
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.15s;
}
.modal-box .modal-list-item:active {
    background: rgba(60, 58, 54, 0.06);
    transform: scale(0.98);
}
.modal-box .modal-list-item .m-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ece9e2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #b8a89a;
    flex-shrink: 0;
    overflow: hidden;
}
.modal-box .modal-list-item .m-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.modal-box .modal-list-item .m-name {
    font-size: 14px;
    font-weight: 500;
    color: #3c3a36;
    flex: 1;
}
.modal-box .modal-list-item .m-status {
    font-size: 10px;
    color: #a09d94;
    background: rgba(160, 157, 148, 0.08);
    padding: 2px 10px;
    border-radius: 999px;
}
.modal-box .modal-textarea {
    width: 100%;
    min-height: 100px;
    border: 1px solid rgba(60, 58, 54, 0.06);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #3c3a36;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    resize: none;
    transition: border-color 0.2s;
    line-height: 1.6;
}
.modal-box .modal-textarea:focus {
    border-color: rgba(60, 58, 54, 0.2);
}
.modal-box .modal-textarea::placeholder {
    color: #c7c4bc;
}
.modal-box .modal-footer {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
.modal-box .modal-footer button {
    flex: 1;
    padding: 10px 0;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.modal-box .modal-footer .btn-cancel {
    background: rgba(60, 58, 54, 0.06);
    color: #a09d94;
}
.modal-box .modal-footer .btn-cancel:active {
    transform: scale(0.95);
}
.modal-box .modal-footer .btn-confirm {
    background: #3c3a36;
    color: #f5f0e8;
    box-shadow: 0 4px 16px rgba(60, 58, 54, 0.12);
}
.modal-box .modal-footer .btn-confirm:active {
    transform: scale(0.95);
}

/* ============================================================
   朋友圈 - 详情页 & 删除按钮
   ============================================================ */

/* ---------- 朋友圈卡片删除按钮 ---------- */
.moment-card {
    position: relative;
}
.moment-card .delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(60, 58, 54, 0.04);
    color: #c7c4bc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    opacity: 0;
}
.moment-card:hover .delete-btn {
    opacity: 1;
}
.moment-card .delete-btn:active {
    transform: scale(0.85);
    background: rgba(255, 59, 48, 0.10);
    color: #ff3b30;
}
.moment-card .delete-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ---------- 详情页 ---------- */
.moment-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.moment-detail-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.moment-detail-box {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.10);
    width: 100%;
    max-width: 380px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.92) translateY(16px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}
.moment-detail-overlay.active .moment-detail-box {
    transform: scale(1) translateY(0);
}

.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 12px 18px;
    border-bottom: 1px solid rgba(60, 58, 54, 0.04);
    flex-shrink: 0;
}
.detail-header .detail-title {
    font-size: 16px;
    font-weight: 600;
    color: #3c3a36;
}
.detail-header .detail-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(60, 58, 54, 0.04);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a09d94;
    transition: all 0.15s;
}
.detail-header .detail-close:active {
    transform: scale(0.85);
    background: rgba(60, 58, 54, 0.10);
}
.detail-header .detail-close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.detail-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px 12px 18px;
}
.detail-body .detail-moment {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}
.detail-body .detail-moment .dm-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.detail-body .detail-moment .dm-header .dm-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ece9e2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #b8a89a;
    flex-shrink: 0;
    overflow: hidden;
}
.detail-body .detail-moment .dm-header .dm-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-body .detail-moment .dm-header .dm-name {
    font-size: 14px;
    font-weight: 600;
    color: #3c3a36;
}
.detail-body .detail-moment .dm-header .dm-time {
    font-size: 10px;
    color: #a09d94;
    margin-left: auto;
}
.detail-body .detail-moment .dm-content {
    font-size: 14px;
    line-height: 1.6;
    color: #3c3a36;
    padding-left: 42px;
}

/* ---------- 评论区 ---------- */
.detail-comments {
    margin-top: 4px;
}
.detail-comments .comment-title {
    font-size: 12px;
    font-weight: 600;
    color: #a09d94;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}
.detail-comments .comment-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(60, 58, 54, 0.03);
}
.detail-comments .comment-item:last-child {
    border-bottom: none;
}
.detail-comments .comment-item .c-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ece9e2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #b8a89a;
    flex-shrink: 0;
    overflow: hidden;
}
.detail-comments .comment-item .c-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-comments .comment-item .c-body {
    flex: 1;
    min-width: 0;
}
.detail-comments .comment-item .c-body .c-name {
    font-size: 12px;
    font-weight: 600;
    color: #3c3a36;
}
.detail-comments .comment-item .c-body .c-text {
    font-size: 13px;
    color: #3c3a36;
    line-height: 1.4;
    word-break: break-word;
}
.detail-comments .comment-item .c-body .c-time {
    font-size: 9px;
    color: #c7c4bc;
    margin-top: 1px;
}
.detail-comments .comment-item .c-body .c-reply-to {
    font-size: 11px;
    color: #b8a89a;
}
.detail-comments .empty-comments {
    text-align: center;
    padding: 20px 0;
    color: #c7c4bc;
    font-size: 13px;
}

/* ---------- 详情底部回复输入 ---------- */
.detail-footer {
    display: flex;
    gap: 10px;
    padding: 12px 18px 16px 18px;
    border-top: 1px solid rgba(60, 58, 54, 0.04);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.3);
}
.detail-footer input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(60, 58, 54, 0.06);
    border-radius: 999px;
    font-size: 14px;
    font-family: inherit;
    color: #3c3a36;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    transition: border-color 0.2s;
    min-width: 0;
}
.detail-footer input:focus {
    border-color: rgba(60, 58, 54, 0.15);
}
.detail-footer input::placeholder {
    color: #c7c4bc;
}
.detail-footer .send-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 999px;
    background: #3c3a36;
    color: #f5f0e8;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.detail-footer .send-btn:active {
    transform: scale(0.95);
}
.detail-footer .send-btn:disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* ---------- 空状态样式 ---------- */
.moments-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}
.moments-empty .empty-icon {
    font-size: 56px;
    margin-bottom: 12px;
    opacity: 0.4;
}
.moments-empty .empty-title {
    font-size: 17px;
    font-weight: 600;
    color: #3c3a36;
    margin-bottom: 4px;
}
.moments-empty .empty-desc {
    font-size: 13px;
    color: #a09d94;
}
/* ============================================================
   朋友圈 - 详情页（二级界面 - 右侧滑入）
   ============================================================ */

/* 详情页容器 - 全屏覆盖，从右侧滑入 */
.moment-detail-page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: #f5f1eb;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}
.moment-detail-page.active {
    transform: translateX(0);
}

/* 详情页导航 */
.detail-nav {
    padding: 12px 16px 8px 16px;
    background: rgba(253, 251, 247, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(60, 58, 54, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    z-index: 2;
}
.detail-nav .back-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #3c3a36;
}
.detail-nav .back-btn:active {
    background: rgba(60, 58, 54, 0.06);
}
.detail-nav .back-btn svg {
    width: 20px;
    height: 20px;
    stroke: #3c3a36;
    stroke-width: 2;
    fill: none;
}
.detail-nav .title {
    font-size: 17px;
    font-weight: 600;
    color: #3c3a36;
}
.detail-nav .right-placeholder {
    width: 32px;
}

/* 详情页滚动内容 */
.detail-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 18px 12px 18px;
}
.detail-scroll::-webkit-scrollbar {
    width: 2px;
}
.detail-scroll::-webkit-scrollbar-thumb {
    background: rgba(60, 58, 54, 0.08);
    border-radius: 3px;
}

/* 详情页 - 原动态卡片 */
.detail-moment-card {
    background: rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(60, 58, 54, 0.03);
}
.detail-moment-card .dm-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.detail-moment-card .dm-header .dm-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ece9e2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #b8a89a;
    flex-shrink: 0;
    overflow: hidden;
}
.detail-moment-card .dm-header .dm-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-moment-card .dm-header .dm-name {
    font-size: 15px;
    font-weight: 600;
    color: #3c3a36;
}
.detail-moment-card .dm-header .dm-time {
    font-size: 11px;
    color: #a09d94;
    margin-left: auto;
}
.detail-moment-card .dm-content {
    font-size: 15px;
    line-height: 1.7;
    color: #3c3a36;
    padding-left: 46px;
}

/* 详情页 - 评论区 */
.detail-comments-section {
    margin-top: 4px;
}
.detail-comments-section .comment-title {
    font-size: 13px;
    font-weight: 600;
    color: #a09d94;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}
.detail-comments-section .comment-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(60, 58, 54, 0.04);
}
.detail-comments-section .comment-item:last-child {
    border-bottom: none;
}
.detail-comments-section .comment-item .c-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ece9e2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #b8a89a;
    flex-shrink: 0;
    overflow: hidden;
}
.detail-comments-section .comment-item .c-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-comments-section .comment-item .c-body {
    flex: 1;
    min-width: 0;
}
.detail-comments-section .comment-item .c-body .c-name {
    font-size: 13px;
    font-weight: 600;
    color: #3c3a36;
}
.detail-comments-section .comment-item .c-body .c-text {
    font-size: 14px;
    color: #3c3a36;
    line-height: 1.5;
    word-break: break-word;
}
.detail-comments-section .comment-item .c-body .c-time {
    font-size: 10px;
    color: #c7c4bc;
    margin-top: 2px;
}
.detail-comments-section .comment-item .c-body .c-reply-to {
    font-size: 12px;
    color: #b8a89a;
}
.detail-comments-section .empty-comments {
    text-align: center;
    padding: 30px 0;
    color: #c7c4bc;
    font-size: 14px;
}

/* 详情页底部回复输入 */
.detail-footer {
    display: flex;
    gap: 10px;
    padding: 12px 18px 16px 18px;
    border-top: 1px solid rgba(60, 58, 54, 0.04);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.detail-footer input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(60, 58, 54, 0.06);
    border-radius: 999px;
    font-size: 14px;
    font-family: inherit;
    color: #3c3a36;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    transition: border-color 0.2s;
    min-width: 0;
}
.detail-footer input:focus {
    border-color: rgba(60, 58, 54, 0.15);
}
.detail-footer input::placeholder {
    color: #c7c4bc;
}
.detail-footer .send-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 999px;
    background: #3c3a36;
    color: #f5f0e8;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.detail-footer .send-btn:active {
    transform: scale(0.95);
}
.detail-footer .send-btn:disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* 🔥 删除按钮 - 始终可见（覆盖之前的 opacity:0） */
.moment-card .delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(60, 58, 54, 0.08);
    color: #a09d94;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    z-index: 5;
    opacity: 1 !important;  /* 🔥 强制始终可见 */
}
.moment-card .delete-btn:active {
    transform: scale(0.85);
    background: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
}
.moment-card .delete-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ============================================================
   朋友圈 - 呼叫按钮 & 气泡弹窗
   ============================================================ */

/* 详情页 - 呼叫按钮 */
.detail-call-btn {
    padding: 6px 16px;
    border: none;
    border-radius: 999px;
    background: rgba(60, 58, 54, 0.06);
    color: #6b5a4a;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s;
    font-family: inherit;
}
.detail-call-btn:active {
    transform: scale(0.92);
    background: rgba(60, 58, 54, 0.12);
}
.detail-call-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

/* 呼叫弹窗 - 气泡列表式 */
.call-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.call-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.call-modal-box {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.10);
    width: 100%;
    max-width: 340px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.92) translateY(16px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}
.call-modal-overlay.active .call-modal-box {
    transform: scale(1) translateY(0);
}

.call-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 12px 18px;
    border-bottom: 1px solid rgba(60, 58, 54, 0.04);
    flex-shrink: 0;
}
.call-modal-header .call-title {
    font-size: 16px;
    font-weight: 600;
    color: #3c3a36;
    display: flex;
    align-items: center;
    gap: 8px;
}
.call-modal-header .call-title svg {
    width: 20px;
    height: 20px;
    stroke: #3c3a36;
    stroke-width: 1.8;
    fill: none;
}
.call-modal-header .call-close {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(60, 58, 54, 0.04);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a09d94;
    transition: all 0.15s;
}
.call-modal-header .call-close:active {
    transform: scale(0.85);
    background: rgba(60, 58, 54, 0.10);
}
.call-modal-header .call-close svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.call-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px 16px 16px;
}
.call-modal-body .call-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(60, 58, 54, 0.02);
    border: 1px solid rgba(60, 58, 54, 0.04);
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.15s;
}
.call-modal-body .call-item:active {
    transform: scale(0.97);
    background: rgba(60, 58, 54, 0.06);
}
.call-modal-body .call-item .ci-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ece9e2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #b8a89a;
    flex-shrink: 0;
    overflow: hidden;
}
.call-modal-body .call-item .ci-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.call-modal-body .call-item .ci-info {
    flex: 1;
}
.call-modal-body .call-item .ci-info .ci-name {
    font-size: 14px;
    font-weight: 500;
    color: #3c3a36;
}
.call-modal-body .call-item .ci-info .ci-desc {
    font-size: 11px;
    color: #a09d94;
    margin-top: 1px;
}
.call-modal-body .call-item .ci-status {
    font-size: 10px;
    color: #a09d94;
    background: rgba(160, 157, 148, 0.08);
    padding: 2px 10px;
    border-radius: 999px;
}
.call-modal-body .call-empty {
    text-align: center;
    padding: 30px 0;
    color: #c7c4bc;
    font-size: 13px;
}
.call-modal-body .call-empty .icon {
    font-size: 32px;
    display: block;
    margin-bottom: 6px;
    opacity: 0.5;
}