/**
 * Weibo Life 主样式
 * 微博风格个人主页布局
 */

/* ========== CSS 变量 ========== */
:root {
    --wl-accent: #ff8200;
    --wl-accent-light: #ffa040;
    --wl-accent-dark: #cc6800;

    --wl-bg: #f5f5f7;
    --wl-bg-card: #ffffff;
    --wl-bg-hover: #f0f0f2;

    --wl-text: #1a1a1a;
    --wl-text-secondary: #6b6b6b;
    --wl-text-muted: #999;

    --wl-border: #e8e8e8;
    --wl-border-light: #f0f0f0;

    --wl-radius: 12px;
    --wl-radius-sm: 8px;
    --wl-radius-lg: 20px;

    --wl-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --wl-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.1);
    --wl-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

    --wl-max-width: 640px;
    --wl-transition: 0.2s ease;
}

/* ========== 基础重置 ========== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: var(--wl-bg);
    color: var(--wl-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--wl-accent);
    text-decoration: none;
    transition: color var(--wl-transition);
}

a:hover {
    color: var(--wl-accent-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========== 容器 ========== */
.wl-container {
    max-width: var(--wl-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.wl-main {
    padding-top: 0;
}

/* ========== 导航栏 ========== */
.wl-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--wl-border-light);
}

.wl-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}

.wl-navbar-left {
    flex: 1;
}

.wl-logo-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--wl-text);
}

.wl-navbar-nav {
    display: flex;
    gap: 4px;
    flex: 2;
    justify-content: center;
}

.wl-navbar-nav a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--wl-text-secondary);
    transition: all var(--wl-transition);
}

.wl-navbar-nav a:hover {
    background: var(--wl-bg-hover);
    color: var(--wl-text);
}

.wl-navbar-nav a.active {
    color: var(--wl-accent);
    background: rgba(255, 130, 0, 0.08);
}

.wl-navbar-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.wl-admin-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--wl-text-secondary);
    transition: all var(--wl-transition);
}

.wl-admin-link:hover {
    background: var(--wl-bg-hover);
    color: var(--wl-text);
}

.wl-login-btn {
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--wl-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--wl-transition);
}

.wl-login-btn:hover {
    background: var(--wl-accent-dark);
    color: #fff;
}

/* ========== 个人资料头部 ========== */
.wl-profile-header {
    background: var(--wl-bg-card);
    margin-bottom: 8px;
    overflow: hidden;
}

.wl-profile-cover {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--wl-accent);
    position: relative;
}

.wl-profile-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.15));
}

.wl-profile-info {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 0 20px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.wl-profile-avatar {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--wl-bg-card);
    overflow: hidden;
    background: var(--wl-bg);
    box-shadow: var(--wl-shadow);
}

.wl-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wl-profile-meta {
    flex: 1;
    padding-bottom: 8px;
}

.wl-profile-name {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    color: var(--wl-text);
}

.wl-profile-bio {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--wl-text-secondary);
    line-height: 1.4;
}

.wl-profile-details {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--wl-text-muted);
}

.wl-profile-location {
    display: flex;
    align-items: center;
    gap: 3px;
}

.wl-profile-socials {
    display: flex;
    gap: 6px;
}

.wl-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--wl-bg-hover);
    color: var(--wl-text-secondary);
    font-size: 11px;
    font-weight: 600;
    transition: all var(--wl-transition);
}

.wl-social:hover {
    background: var(--wl-accent);
    color: #fff;
}

.wl-profile-stats {
    display: flex;
    gap: 20px;
    padding-bottom: 10px;
}

.wl-stat {
    text-align: center;
}

.wl-stat-num {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--wl-text);
    line-height: 1.2;
}

.wl-stat-label {
    display: block;
    font-size: 12px;
    color: var(--wl-text-muted);
}

/* ========== 视图切换 ========== */
.wl-view-tabs {
    display: flex;
    border-top: 1px solid var(--wl-border-light);
    margin-top: 12px;
}

.wl-view-tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--wl-text-muted);
    border-bottom: 2px solid transparent;
    transition: all var(--wl-transition);
}

.wl-view-tab.active {
    color: var(--wl-accent);
    border-bottom-color: var(--wl-accent);
}

/* ========== 动态卡片 ========== */
.wl-feed {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wl-moment-card {
    background: var(--wl-bg-card);
    border-radius: var(--wl-radius);
    padding: 16px;
    box-shadow: var(--wl-shadow);
    transition: box-shadow var(--wl-transition);
}

.wl-moment-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 4px;
}

.wl-moment-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
}

.wl-moment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wl-moment-info {
    flex: 1;
    min-width: 0;
}

.wl-moment-author {
    font-size: 15px;
    font-weight: 600;
    color: var(--wl-text);
}

.wl-moment-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--wl-text-muted);
    flex-wrap: wrap;
}

.wl-moment-sep {
    color: var(--wl-border);
}

.wl-moment-location {
    display: flex;
    align-items: center;
    gap: 2px;
}

.wl-moment-actions-menu {
    position: relative;
}

.wl-moment-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--wl-text-muted);
    transition: all var(--wl-transition);
}

.wl-moment-menu-btn:hover {
    background: var(--wl-bg-hover);
}

.wl-moment-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 120px;
    background: var(--wl-bg-card);
    border-radius: var(--wl-radius-sm);
    box-shadow: var(--wl-shadow-lg);
    padding: 4px;
    display: none;
    z-index: 10;
}

.wl-moment-menu-dropdown.open {
    display: block;
}

.wl-moment-menu-dropdown a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--wl-text);
    border-radius: 6px;
    transition: background var(--wl-transition);
}

.wl-moment-menu-dropdown a:hover {
    background: var(--wl-bg-hover);
    color: var(--wl-text);
}

/* ========== 动态文字 ========== */
.wl-moment-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--wl-text);
    margin-bottom: 4px;
    word-break: break-word;
    white-space: normal;
}

.wl-moment-text > p,
.wl-moment-text > br:last-child,
.wl-moment-text > p:empty {
    display: none;
}

.wl-moment-text > p:first-child,
.wl-moment-text > p:last-child,
.wl-moment-text > p:not(:empty) {
    display: block;
}

.wl-moment-text p {
    margin: 0 0 4px;
}

/* ========== 媒体网格 ========== */
.wl-media-grid {
    display: grid;
    gap: 4px;
    margin-bottom: 4px;
    border-radius: var(--wl-radius-sm);
    overflow: hidden;
}

.wl-media-grid.wl-grid-1 {
    grid-template-columns: 1fr;
}

.wl-media-grid.wl-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.wl-media-grid.wl-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.wl-media-item {
    position: relative;
    overflow: hidden;
    background: var(--wl-bg);
    cursor: pointer;
    border-radius: 4px;
}

.wl-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wl-media-item:hover img {
    transform: scale(1.03);
}

/* 单张大图特殊处理 */
.wl-grid-1 .wl-media-item {
    max-height: 500px;
}

.wl-grid-1 .wl-media-item img {
    max-height: 500px;
}

/* 多图网格固定比例 */
.wl-grid-2 .wl-media-item,
.wl-grid-3 .wl-media-item {
    aspect-ratio: 1 / 1;
}

/* 媒体说明文字 */
.wl-media-caption {
    display: none;
}

/* ========== 动态照片 ========== */
.wl-live-photo {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wl-live-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.wl-live-photo video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.wl-live-photo.playing video {
    opacity: 1;
}

.wl-live-photo.playing img {
    opacity: 0;
}

.wl-live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    border-radius: 12px;
    z-index: 2;
    cursor: pointer;
    pointer-events: all;
    transition: opacity 0.2s ease;
}

.wl-live-badge svg {
    animation: wl-live-pulse 2s ease-in-out infinite;
}

@keyframes wl-live-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.wl-live-hint {
    display: none; /* 自动播放模式，不需要长按提示 */
}

/* ========== 视频 ========== */
.wl-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wl-video-wrap img,
.wl-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wl-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.2s ease;
}

.wl-video-wrap:hover .wl-video-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.wl-video-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    border-radius: 12px;
    z-index: 2;
}

/* ========== 动态底部交互 ========== */
.wl-moment-footer {
    border-top: 1px solid var(--wl-border-light);
    padding-top: 8px;
}

.wl-moment-interactions {
    display: flex;
    justify-content: space-around;
}

.wl-like-btn,
.wl-comment-btn,
.wl-share-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--wl-text-secondary);
    transition: all var(--wl-transition);
}

.wl-like-btn:hover,
.wl-comment-btn:hover,
.wl-share-btn:hover {
    background: var(--wl-bg-hover);
    color: var(--wl-text);
}

.wl-like-btn.liked {
    color: #ff4d4f;
}

.wl-like-btn.liked svg {
    fill: #ff4d4f;
}

/* ========== 相册网格视图 ========== */
.wl-photo-grid-section {
    padding: 4px 0;
}

.wl-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.wl-photo-grid-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 2px;
    background: var(--wl-bg);
}

.wl-photo-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wl-photo-grid-item:hover img {
    transform: scale(1.05);
}

.wl-grid-live-badge,
.wl-grid-video-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px 6px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 10px;
    border-radius: 10px;
    z-index: 2;
}

/* ========== 空状态 ========== */
.wl-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--wl-text-muted);
}

.wl-empty-state .wl-empty-icon {
    margin-bottom: 16px;
    color: var(--wl-border);
}

.wl-empty-state h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--wl-text-secondary);
}

.wl-empty-state p {
    margin: 0 0 16px;
    font-size: 14px;
}

/* ========== 按钮 ========== */
.wl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--wl-transition);
    cursor: pointer;
}

.wl-btn-primary {
    background: var(--wl-accent);
    color: #fff;
}

.wl-btn-primary:hover {
    background: var(--wl-accent-dark);
    color: #fff;
}

.wl-btn-outline {
    border: 1px solid var(--wl-border);
    color: var(--wl-text-secondary);
    background: var(--wl-bg-card);
}

.wl-btn-outline:hover {
    border-color: var(--wl-accent);
    color: var(--wl-accent);
}

/* ========== 加载更多 ========== */
.wl-load-more-wrap {
    text-align: center;
    padding: 16px 0 24px;
}

.wl-load-more {
    min-width: 140px;
}

.wl-load-more.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ========== 单页详情 ========== */
.wl-single-wrap {
    padding: 16px 0;
}

.wl-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--wl-text-secondary);
}

.wl-moment-single {
    box-shadow: var(--wl-shadow-hover);
}

.wl-single-date {
    padding: 8px 0;
    font-size: 12px;
    color: var(--wl-text-muted);
    border-top: 1px solid var(--wl-border-light);
    margin-top: 12px;
}

/* ========== 灯箱 ========== */
.wl-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wl-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.wl-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wl-lightbox.open .wl-lightbox-overlay {
    opacity: 1;
}

.wl-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.wl-lightbox-image {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 200px;
    overflow: hidden;
}

/* 动态照片：img 和 video 叠加 */
.wl-lightbox-image.wl-live {
    width: 100%;
    height: 100%;
}

.wl-lightbox-image.wl-live .wl-lightbox-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wl-lightbox-media {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wl-lightbox-image.loaded .wl-lightbox-media {
    opacity: 1;
    transform: scale(1);
}

.wl-lightbox-image.loading .wl-lightbox-spinner {
    display: flex;
}

.wl-lightbox-spinner {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.wl-lightbox-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.wl-lightbox-live-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.wl-lightbox-live-hint {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 12px;
    border-radius: 12px;
    pointer-events: none;
}

.wl-lightbox-caption {
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 8px 16px;
    max-width: 600px;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.wl-lightbox.open .wl-lightbox-caption {
    opacity: 1;
}

.wl-lightbox-counter {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    padding-bottom: 8px;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.wl-lightbox.open .wl-lightbox-counter {
    opacity: 1;
}

.wl-lightbox-close,
.wl-lightbox-prev,
.wl-lightbox-next {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--wl-transition), opacity 0.3s ease;
    background: none;
    border: none;
    padding: 8px;
    opacity: 0;
}

.wl-lightbox.open .wl-lightbox-close,
.wl-lightbox.open .wl-lightbox-prev,
.wl-lightbox.open .wl-lightbox-next {
    opacity: 1;
}

.wl-lightbox-close:hover,
.wl-lightbox-prev:hover,
.wl-lightbox-next:hover {
    color: #fff;
}

.wl-lightbox-close {
    top: 16px;
    right: 16px;
}

.wl-lightbox-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.wl-lightbox-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes wl-spinner {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ========== 评论 ========== */
.wl-comments-section {
    background: var(--wl-bg-card);
    border-radius: var(--wl-radius);
    padding: 16px;
    margin-top: 8px;
    box-shadow: var(--wl-shadow);
}

.wl-comments-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    color: var(--wl-text);
}

/* WordPress 评论样式覆盖 */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .children {
    list-style: none;
    padding-left: 24px;
    margin: 0;
}

.comment-body {
    padding: 12px 0;
    border-bottom: 1px solid var(--wl-border-light);
}

.comment-body:last-child {
    border-bottom: none;
}

.comment-author {
    font-size: 14px;
    font-weight: 600;
}

.comment-meta {
    font-size: 12px;
    color: var(--wl-text-muted);
    margin-bottom: 4px;
}

.comment-content {
    font-size: 14px;
    line-height: 1.6;
}

#commentform {
    margin-top: 16px;
}

#commentform textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius-sm);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

#commentform .submit {
    margin-top: 8px;
    padding: 8px 24px;
    background: var(--wl-accent);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background var(--wl-transition);
}

#commentform .Submit:hover {
    background: var(--wl-accent-dark);
}

/* ========== 页脚 ========== */
.wl-footer {
    text-align: center;
    padding: 24px 16px;
    color: var(--wl-text-muted);
    font-size: 12px;
}

.wl-footer-text {
    margin: 0 0 8px;
}

.wl-footer-menu {
    display: flex;
    justify-content: center;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wl-footer-menu a {
    color: var(--wl-text-muted);
    font-size: 12px;
}

/* ========== 加载动画 ========== */
.wl-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--wl-border);
    border-top-color: var(--wl-accent);
    border-radius: 50%;
    animation: wl-spin 0.8s linear infinite;
}

@keyframes wl-spin {
    to { transform: rotate(360deg); }
}

/* ========== 响应式 ========== */
@media (max-width: 600px) {
    .wl-container {
        padding: 0 12px;
    }

    .wl-profile-cover {
        height: 160px;
    }

    .wl-profile-avatar {
        width: 80px;
        height: 80px;
    }

    .wl-profile-name {
        font-size: 19px;
    }

    .wl-moment-card {
        padding: 14px;
        border-radius: 0;
    }

    .wl-media-grid {
        gap: 3px;
    }

    .wl-photo-grid {
        gap: 2px;
    }

    .wl-lightbox-prev,
    .wl-lightbox-next {
        display: none;
    }

    .wl-navbar-nav a {
        padding: 6px 10px;
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .wl-profile-info {
        flex-wrap: wrap;
    }

    .wl-profile-stats {
        width: 100%;
        justify-content: flex-start;
        padding-top: 8px;
    }
}

/* ========== 动画 ========== */
@keyframes wl-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wl-moment-card {
    animation: wl-fade-in 0.3s ease;
}

/* ========== 滚动条 ========== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--wl-border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--wl-text-muted);
}
