       

        /* 灵动岛基础样式 */
        .dynamic-island {
            position: fixed;
            top: 3px;
            left: 50%;
            transform: translateX(-50%) translateY(-20px);
            min-width:120px;
            height: 35px;
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            border-radius: 25px;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            z-index: 9999;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            opacity: 0;
            transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        /* 灵动岛内容 */
        .island-content {
            font-size: 12px;
            padding: 0 15px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* 弹出动画 */
        .dynamic-island.pop-in {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* 响应式适配 */
        @media (max-width: 768px) {
            .dynamic-island {
               min-width:140px;
                height: 30px;
                top: 8px;
            }
        }

     
   /* 系统设置 */    
 
   /* 艺术字体样式 */
        @font-face {
            font-family: 'zql';
            src: url('/usr/themes/weui/assets/font/zql/zql.woff2') format('woff2'),
                 url('/usr/themes/weui/assets/font/zql/zql.woff') format('woff');
            font-display: swap;
            font-weight: normal;
            font-style: normal;
        }
        

        
        /* 艺术字体样式 */
        .PixelMode {
            font-family: 'zql', sans-serif !important;
        }
        
        /* 开关容器样式 */
        .switch-container {
            margin: 10px; /* 修改为10px间距 */
            padding: 15px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .switch-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 15px;
            padding: 10px;
            border-radius: 8px;
            background: #f8f8f8;
        }
        
        .switch-item:last-child {
            margin-bottom: 0;
        }
        
        .switch-label {
            flex: 1;
        }
        
        .switch-label h3 {
            margin: 0 0 5px 0;
            font-size: 16px;
            color: #333;
        }
        
        .switch-label p {
            margin: 0;
            font-size: 12px;
            color: #666;
        }
        
        /* 开关样式 - 修改为绿色 */
        .switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 28px;
        }
        
        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
        }
        
        .slider:before {
            position: absolute;
            content: "";
            height: 20px;
            width: 20px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        
        input:checked + .slider {
            background-color: #4CAF50; /* 修改为绿色 */
        }
        
        input:checked + .slider:before {
            transform: translateX(22px);
        }
        

/* 我的相册 */
.page__hd {
    padding: 20px 16px;
    background: #fff;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin: 0 auto;
    max-width: 680px;
}

.page__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

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

.stats-info {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 4px 0 12px 0;
}

.edit {
    float: right;
    font-size: 14px;
}

.edit a {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.edit span.icon {
    font-size: 18px;
}

/* 相册网格核心布局 */
.photo-album-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
    padding: 10px;
}

.image-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 1/1; /* 1:1宽高比 */
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
    opacity: 1; /* 默认不透明 */
}

.image-item img[lazy=loading] {
    opacity: 0.3; /* 加载中透明度 */
}

.image-item img[lazy=error] {
    opacity: 0.5;
    object-fit: contain;
    padding: 20%;
}

.image-description {
    padding: 8px 4px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    background: rgba(255,255,255,0.8);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.no-images {
    grid-column: 1 / -1;
    padding: 32px 16px;
    text-align: center;
    color: var(--text-light);
    background: #fff;
}

.weui-loadmore {
    text-align: center;
    color: var(--text-secondary);
}

/* 小屏幕适配 */
@media (max-width: 480px) {
    .page__hd {
        padding: 16px;
    }
    
    .page__title {
        font-size: 18px;
    }
    
    .photo-album-grid {
        gap: 8px;
        padding: 8px;
    }
    
    .image-description {
        font-size: 11px;
        padding: 6px 2px;
    }
    
    .no-images {
        padding: 24px 12px;
    }
    
    .stats-info {
        font-size: 12px;
    }
}

/* 奇数图片间距优化（桌面端） */
@media (min-width: 481px) {
    .photo-album-grid {
        justify-content: space-between;
    }
    
    .photo-album-grid .image-item:nth-child(2n+1) {
        margin-right: 0.5%;
    }
    
    .photo-album-grid .image-item:nth-child(2n) {
        margin-left: 0.5%;
    }
}
 
   /* 微言微语 */
   /* 迷你卡片样式 */
.mini-card {
    background: white;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 12px;
    margin: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.user-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 8px;
}

.user-name {
    font-weight: 500;
    font-size: 15px;
}

.post-time {
    font-size: 13px;
    color: #999999;
}

.content-text {
    color: #333;
    line-height: 1.5;
    margin-bottom: 8px;
    font-size: 16px;
}

/* 九宫格样式 */
.nine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin-bottom: 8px;
}

.grid-item {
    position: relative;
    padding-bottom: 100%; /* 正方形比例 */
    overflow: hidden;
    border-radius: 4px;
}

.grid-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 剩余图片数量提示 */
.remaining-count {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.action-bar {
    display: flex;
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
    color: #666;
}

.action-item {
    margin-right: 15px;
    display: flex;
    align-items: center;
    font-size: 12px;
}

.action-icon {
    margin-right: 4px;
    font-size: 14px;
}

.new-post-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ff6b81;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.weui-flex {
    display: flex;
    align-items: center;

}

.weui-flex__item {
    flex: 1;
}
 
/* 精选留言 */
.comments-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.comment-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.comment-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.comment-avatar {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #07C160;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-right: 10px;
}

.comment-author {
    flex: 1;
    min-width: 0; /* 防止内容溢出 */
    font-weight: 500;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comment-time {
    flex: 0 0 auto;
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}

.comment-content {
    padding: 15px;
    line-height: 1.6;
    color: #333;
    word-break: break-word;
}

.comment-footer {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
    color: #999;
}

.comment-source {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 10px;
}

.comment-post-link {
    color: #576b95;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.comment-post-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .comments-container {
        padding: 10px;
        gap: 10px;
    }
    
    .comment-header {
        padding: 10px;
    }
    
    .comment-content {
        padding: 12px;
    }
    
    .comment-post-link {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .comment-header {
        padding: 8px 10px;
    }
    
    .comment-avatar {
        flex: 0 0 30px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .comment-author {
        font-size: 14px;
    }
    
    .comment-time {
        font-size: 11px;
        margin-left: 5px;
    }
    
    .comment-content {
        padding: 10px;
    }
    
    .comment-post-link {
        max-width: 120px;
    }
}


 /* 加载动画样式 */
        :root {
            --yb-primary: #07c160;
            --yb-primary-active: #06ad56;
            --yb-gray-light: #f8f8f8;
        }
        
        .yb-body {
            font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
            padding: 16px;
            background-color: var(--yb-gray-light);
            max-width: 600px;
            margin: 0 auto;
        }
        
        .yb-heading {
            text-align: center;
            margin-bottom: 20px;
            color: #333;
        }
        
        .yb-subheading {
            color: #666;
            text-align: center;
            margin-bottom: 30px;
        }
        
        .yb-link-card {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            margin-bottom: 20px;
            overflow: hidden;
        }
        
        .yb-link-button {
            display: block;
            width: 100%;
            padding: 16px;
            background-color: var(--yb-primary);
            color: white;
            border: none;
            font-size: 16px;
            text-align: center;
            cursor: pointer;
            text-decoration: none;
        }
        
        .yb-link-button:active {
            background-color: var(--yb-primary-active);
        }
        
        .yb-link-info {
            padding: 12px 16px;
            font-size: 14px;
            color: #666;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .yb-share-group {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            margin-top: 30px;
            overflow: hidden;
        }
        
        .yb-share-item {
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .yb-share-item:last-child {
            border-bottom: none;
        }
        
        .yb-share-link {
            display: block;
            padding: 16px;
            color: #333;
            text-decoration: none;
            position: relative;
        }
        
        .yb-share-link::after {
            content: "↗";
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
        }
        
        /* HIGHEST PRIORITY OVERLAYS */
        .yb-mask-overlay {
            position: fixed;
            z-index: 2147483647; /* 设置为最高优先级 */
            top: 0;
            right: 0;
            left: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            visibility: hidden;
            opacity: 0;
            transition: visibility 0.3s, opacity 0.3s;
        }
        
        .yb-mask-visible {
            visibility: visible;
            opacity: 1;
        }
        
        .yb-dialog-container {
            position: fixed;
            z-index: 2147483647; /* 设置为最高优先级 */
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.8);
            width: 90%;
            max-width: 320px;
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            visibility: hidden;
            opacity: 0;
            transition: visibility 0.3s, opacity 0.3s, transform 0.3s;
        }
        
        .yb-dialog-visible {
            visibility: visible;
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
        
        .yb-dialog-header {
            padding: 20px 20px 12px;
            text-align: center;
            position: relative;
        }
        
        .yb-dialog-close {
            position: absolute;
            top: 16px;
            right: 16px;
            font-size: 24px;
            color: #999;
            line-height: 1;
            cursor: pointer;
        }
        
        .yb-dialog-title {
            font-weight: 700;
            font-size: 18px;
            color: #333;
        }
        
        .yb-dialog-content {
            padding: 8px 20px 20px;
            color: #333;
            font-size: 15px;
            line-height: 1.5;
            text-align: center;
        }
        
        .yb-dialog-footer {
            display: flex;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .yb-dialog-button {
            flex: 1;
            padding: 16px 0;
            text-align: center;
            font-size: 17px;
            text-decoration: none;
            cursor: pointer;
            background: none;
            border: none;
            font-family: inherit;
        }
        
        .yb-dialog-button-cancel {
            color: #333;
            border-right: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .yb-dialog-button-confirm {
            color: var(--yb-primary);
            font-weight: 500;
        }
        
        .yb-url-display {
            display: inline-block;
            width: 100%;
            padding: 10px;
            margin: 10px 0 0;
            background-color: #f8f8f8;
            border-radius: 6px;
            font-size: 14px;
            color: #333;
            word-break: break-all;
            line-height: 1.4;
            box-sizing: border-box;
        }
        
        .yb-short-url {
            font-weight: bold;
            color: #06f;
        }
        
        
  /* APP风格整体容器 */
  .app-comments-container {
    padding: 10px;
  }
  
  /* 迷你卡片样式 */
  .app-comment-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    margin-bottom: 12px;
    padding: 12px 15px;
    position: relative;
  }
  
  /* 头像样式 */
  .app-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
    margin-right: 10px;
    flex-shrink: 0;
  }
  
  /* 用户信息区域 */
  .app-comment-user {
    flex-grow: 1;
    min-width: 0;
  }
  
  /* 作者名称 */
  .app-comment-author {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 2px 0;
  }
  
  /* 评论时间 */
  .app-comment-time {
    font-size: 11px;
    color: #999;
    margin: 0;
  }
  
  /* 评论内容 */
  .app-comment-content {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    margin: 10px 0 8px;
    padding-right: 25px;
  }
  
  /* 来源链接样式 */
  .app-comment-link {
    display: inline-block;
    font-size: 12px;
    color: rgba(25,25,25,0.6);
    text-decoration: none;
    padding: 3px 0;
  }
  
  /* 网站链接样式 */
  .app-comment-website {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: #576b95;
    text-decoration: none;
    margin-top: 6px;
    padding: 3px 0;
  }
  
  /* 网站图标 */
  .app-icon-website:before {
    content: "🌐";
    margin-right: 4px;
    font-size: 14px;
  }

  /* ===== App 风格分页样式（新增）===== */
  .pagination {
    text-align: center;
    margin: 24px 0 16px 0;
    font-size: 14px;
  }

  .pagination .page-link,
  .pagination .page-prev,
  .pagination .page-next {
    display: inline-block;
    margin: 0 3px;
    padding: 5px 10px;
    text-decoration: none;
    color: #666;
    background-color: #f8f8f8;
    border-radius: 6px;
    font-size: 13px;
    transition: background-color 0.2s ease;
  }

  .pagination .page-current {
    background-color: #0073aa;
    color: #fff;
    border-radius: 6px;
  }

  .pagination .page-link:hover,
  .pagination .page-prev:hover,
  .pagination .page-next:hover {
    background-color: #eaeaea;
    color: #444;
  }

  .pagination .page-current:hover {
    background-color: #0073aa;
  }        
  
  
  /* WeUI 好友列表样式（适配友情链接） */
.weui-friends-container {
    margin: 20px;
    padding: 0 16px;
    background-color: #f8f8f8;
}

.weui-friend-item {
    display: block;
    padding: 12px 0;
    background-color: #fff;
}
.weui-friend-item:active {
            background-color: #f2f2f2;
        }
.weui-friend-link {
    display: flex; /* 关键：弹性布局排列头像和信息 */
    align-items: center;
    height: 100%;
    text-decoration: none;
    color: #333;
    margin-right: 12px;
    margin-left: 12px;
}

.weui-friend-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover; /* 防止头像变形 */
    margin-right: 12px;
    flex-shrink: 0; /* 头像不收缩 */
}

.weui-friend-info {
    flex: 1;
    min-width: 0; /* 防止内容溢出 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.weui-friend-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.weui-friend-name {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px; /* 限制昵称宽度，避免过长 */
}

.weui-friend-status {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1.2;
}

.weui-friend-status.online {
    background-color: #e6f7ee;
    color: #07c160;
}
/* 离线状态（灰色背景，深灰色文字） */
.weui-friend-status.offline {
    background-color: #f5f5f5; /* 浅灰 */
    color: #666666; /* 深灰文字 */
}
.weui-friend-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.weui-friend-last-msg {
    font-size: 14px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 60px); /* 预留时间空间 */
}

.weui-friend-time {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}

 
