/* 60/assets/css/album.css —— 相册样式 */

/* ===== 页面 ===== */
.alb-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.alb-page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 12px;
    flex-wrap: wrap;
}

.alb-page-title {
    font-size: 22px;
    color: var(--gold-primary);
    letter-spacing: 2px;
    margin: 0;
}

/* ===== 图集卡片 ===== */
.alb-album {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    margin-bottom: 18px;
    transition: border-color 0.2s;
}
.alb-album:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

.alb-album-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
    flex-wrap: wrap;
}

.alb-album-title {
    font-size: 17px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.alb-album-title.empty {
    color: var(--text-muted);
    font-style: italic;
    font-weight: normal;
}

.alb-album-meta {
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.alb-album-meta .num {
    color: var(--gold-primary);
    font-weight: 600;
}

.alb-album-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
    white-space: pre-wrap;
}

/* ===== 缩略图网格 ===== */
.alb-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.alb-thumb {
    width: 90px;
    aspect-ratio: 1 / 1.1;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--bg-input);
    transition: all 0.2s;
}
.alb-thumb:hover {
    transform: scale(1.04);
    border-color: var(--gold-primary);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.20);
}

.alb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.alb-thumb-actions {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}
.alb-thumb:hover .alb-thumb-actions {
    opacity: 1;
}
.alb-thumb-actions button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
    padding: 0;
}
.alb-thumb-actions .act-edit {
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
}
.alb-thumb-actions .act-del {
    background: rgba(229, 115, 115, 0.9);
    color: #fff;
}
.alb-thumb-actions button:hover {
    transform: scale(1.15);
}

/* 无说明时的小标记 */
.alb-thumb .caption-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-primary);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);
}

/* ===== 上传按钮（缩略图旁） ===== */
.alb-upload-btn {
    width: 90px;
    aspect-ratio: 1 / 1.1;
    border-radius: var(--radius-md);
    border: 1px dashed var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s;
    font-family: inherit;
}
.alb-upload-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}
.alb-upload-btn .plus {
    font-size: 24px;
    line-height: 1;
}
.alb-upload-btn .txt {
    font-size: 11px;
    letter-spacing: 0.5px;
}
.alb-upload-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===== 图集操作栏 ===== */
.alb-album-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
}

/* ===== 空状态 ===== */
.alb-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}
.alb-empty .icon {
    font-size: 42px;
    opacity: 0.4;
    margin-bottom: 14px;
    display: block;
}
.alb-empty p {
    font-size: 14px;
    line-height: 1.8;
}

/* ===== 上传状态条 ===== */
.alb-upload-status {
    font-size: 12.5px;
    color: var(--gold-primary);
    margin-top: 8px;
    min-height: 18px;
}

/* ===== 说明编辑弹窗里的小预览 ===== */
.alb-caption-preview {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-input);
    margin-bottom: 16px;
    display: block;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .alb-page { padding: 16px 14px 40px; }
    .alb-page-title { font-size: 19px; }
    .alb-album { padding: 16px 16px; }
    .alb-album-title { font-size: 15.5px; }
    .alb-thumb { width: 70px; }
    .alb-upload-btn { width: 70px; }
    .alb-upload-btn .txt { display: none; }
    .alb-upload-btn .plus { font-size: 26px; }
}

/* ==================================================
   图集详情页
   ================================================== */
.alb-set-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.alb-back {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 13px;
}
.alb-back:hover { color: var(--gold-primary); }

/* 头部 */
.alb-set-head {
    text-align: center;
    padding-bottom: 26px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
}
.alb-set-owner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
}
.alb-set-owner .avt {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--border);
    object-fit: cover;
    background: var(--bg-input);
}
.alb-set-owner .name {
    font-size: 13px;
    color: var(--text-secondary);
}
.alb-set-owner a {
    color: var(--gold-primary);
    font-size: 12px;
}

.alb-set-title {
    font-size: 28px;
    color: var(--gold-primary);
    letter-spacing: 3px;
    font-weight: 500;
    margin: 0 0 10px;
    line-height: 1.4;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}
.alb-set-title.empty {
    color: var(--text-muted);
    font-style: italic;
    font-weight: normal;
    font-size: 22px;
    letter-spacing: 1px;
}
.alb-set-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.9;
    max-width: 600px;
    margin: 0 auto 18px;
    white-space: pre-wrap;
}
.alb-set-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
    margin-top: 14px;
}
.alb-set-meta .num {
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 15px;
}

/* ==================================================
   10 种形状布局
   ================================================== */
.alb-shape-area {
    display: flex;
    justify-content: center;
    padding: 24px 0 32px;
    position: relative;
}

/* 舞台光晕 */
.alb-shape-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05) 0%, transparent 65%);
    pointer-events: none;
}

.alb-shape {
    --cell: 110px;
    --gap: 8px;
    display: grid;
    gap: var(--gap);
    position: relative;
    z-index: 1;
}

.alb-shape .ph {
    width: var(--cell);
    height: calc(var(--cell) * 1.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    background: var(--bg-input);
    border: 1px solid var(--border);
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    /* 入场动画初始态 */
    opacity: 0;
    transform: translateY(20px);
}
.alb-shape .ph.show {
    opacity: 1;
    transform: translateY(0);
}

.alb-shape .ph:hover {
    border-color: var(--gold-primary);
    z-index: 2;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
    filter: brightness(1.08);
}
.alb-shape .ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.alb-shape .ph:hover img {
    transform: scale(1.06);
}

/* 有说明的小金点 */
.alb-shape .ph .cap-dot {
    position: absolute;
    bottom: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-primary);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);
}

/* 1 张 */
.alb-shape.shape-1 {
    grid-template-columns: var(--cell);
    grid-template-areas: "a1";
}
.alb-shape.shape-1 .ph:nth-child(1) { grid-area: a1; }

/* 2 张：对角 */
.alb-shape.shape-2 {
    grid-template-columns: repeat(2, var(--cell));
    grid-template-areas:
        "a1 ."
        ". a2";
}
.alb-shape.shape-2 .ph:nth-child(1) { grid-area: a1; }
.alb-shape.shape-2 .ph:nth-child(2) { grid-area: a2; }

/* 3 张 */
.alb-shape.shape-3 {
    grid-template-columns: repeat(3, var(--cell));
    grid-template-areas:
        ". a1 ."
        "a2 . a3";
}
.alb-shape.shape-3 .ph:nth-child(1) { grid-area: a1; }
.alb-shape.shape-3 .ph:nth-child(2) { grid-area: a2; }
.alb-shape.shape-3 .ph:nth-child(3) { grid-area: a3; }

/* 4 张 */
.alb-shape.shape-4 {
    grid-template-columns: repeat(3, var(--cell));
    grid-template-areas:
        ". a1 ."
        "a2 . a3"
        ". a4 .";
}
.alb-shape.shape-4 .ph:nth-child(1) { grid-area: a1; }
.alb-shape.shape-4 .ph:nth-child(2) { grid-area: a2; }
.alb-shape.shape-4 .ph:nth-child(3) { grid-area: a3; }
.alb-shape.shape-4 .ph:nth-child(4) { grid-area: a4; }

/* 5 张 */
.alb-shape.shape-5 {
    grid-template-columns: repeat(3, var(--cell));
    grid-template-areas:
        "a1 . a2"
        ". a3 ."
        "a4 . a5";
}
.alb-shape.shape-5 .ph:nth-child(1) { grid-area: a1; }
.alb-shape.shape-5 .ph:nth-child(2) { grid-area: a2; }
.alb-shape.shape-5 .ph:nth-child(3) { grid-area: a3; }
.alb-shape.shape-5 .ph:nth-child(4) { grid-area: a4; }
.alb-shape.shape-5 .ph:nth-child(5) { grid-area: a5; }

/* 6 张 */
.alb-shape.shape-6 {
    grid-template-columns: repeat(3, var(--cell));
    grid-template-areas:
        ". a1 ."
        "a2 . a3"
        ". a4 ."
        "a5 . a6";
}
.alb-shape.shape-6 .ph:nth-child(1) { grid-area: a1; }
.alb-shape.shape-6 .ph:nth-child(2) { grid-area: a2; }
.alb-shape.shape-6 .ph:nth-child(3) { grid-area: a3; }
.alb-shape.shape-6 .ph:nth-child(4) { grid-area: a4; }
.alb-shape.shape-6 .ph:nth-child(5) { grid-area: a5; }
.alb-shape.shape-6 .ph:nth-child(6) { grid-area: a6; }

/* 7 张 */
.alb-shape.shape-7 {
    grid-template-columns: repeat(3, var(--cell));
    grid-template-areas:
        ". a1 ."
        "a2 . a3"
        ". a4 ."
        "a5 . a6"
        ". a7 .";
}
.alb-shape.shape-7 .ph:nth-child(1) { grid-area: a1; }
.alb-shape.shape-7 .ph:nth-child(2) { grid-area: a2; }
.alb-shape.shape-7 .ph:nth-child(3) { grid-area: a3; }
.alb-shape.shape-7 .ph:nth-child(4) { grid-area: a4; }
.alb-shape.shape-7 .ph:nth-child(5) { grid-area: a5; }
.alb-shape.shape-7 .ph:nth-child(6) { grid-area: a6; }
.alb-shape.shape-7 .ph:nth-child(7) { grid-area: a7; }

/* 8 张：爱心 */
.alb-shape.shape-8 {
    grid-template-columns: repeat(5, var(--cell));
    grid-template-areas:
        ". a1 . a2 ."
        "a3 . a4 . a5"
        ". a6 . a7 ."
        ". . a8 . .";
}
.alb-shape.shape-8 .ph:nth-child(1) { grid-area: a1; }
.alb-shape.shape-8 .ph:nth-child(2) { grid-area: a2; }
.alb-shape.shape-8 .ph:nth-child(3) { grid-area: a3; }
.alb-shape.shape-8 .ph:nth-child(4) { grid-area: a4; }
.alb-shape.shape-8 .ph:nth-child(5) { grid-area: a5; }
.alb-shape.shape-8 .ph:nth-child(6) { grid-area: a6; }
.alb-shape.shape-8 .ph:nth-child(7) { grid-area: a7; }
.alb-shape.shape-8 .ph:nth-child(8) { grid-area: a8; }

/* 9 张：钻石 */
.alb-shape.shape-9 {
    grid-template-columns: repeat(5, var(--cell));
    grid-template-areas:
        ". . a1 . ."
        ". a2 . a3 ."
        "a4 . a5 . a6"
        ". a7 . a8 ."
        ". . a9 . .";
}
.alb-shape.shape-9 .ph:nth-child(1) { grid-area: a1; }
.alb-shape.shape-9 .ph:nth-child(2) { grid-area: a2; }
.alb-shape.shape-9 .ph:nth-child(3) { grid-area: a3; }
.alb-shape.shape-9 .ph:nth-child(4) { grid-area: a4; }
.alb-shape.shape-9 .ph:nth-child(5) { grid-area: a5; }
.alb-shape.shape-9 .ph:nth-child(6) { grid-area: a6; }
.alb-shape.shape-9 .ph:nth-child(7) { grid-area: a7; }
.alb-shape.shape-9 .ph:nth-child(8) { grid-area: a8; }
.alb-shape.shape-9 .ph:nth-child(9) { grid-area: a9; }

/* 10 张：长蛇 */
.alb-shape.shape-10 {
    grid-template-columns: repeat(3, var(--cell));
    grid-template-areas:
        ". a1 ."
        "a2 . a3"
        ". a4 ."
        "a5 . a6"
        ". a7 ."
        "a8 . a9"
        ". a10 .";
}
.alb-shape.shape-10 .ph:nth-child(1) { grid-area: a1; }
.alb-shape.shape-10 .ph:nth-child(2) { grid-area: a2; }
.alb-shape.shape-10 .ph:nth-child(3) { grid-area: a3; }
.alb-shape.shape-10 .ph:nth-child(4) { grid-area: a4; }
.alb-shape.shape-10 .ph:nth-child(5) { grid-area: a5; }
.alb-shape.shape-10 .ph:nth-child(6) { grid-area: a6; }
.alb-shape.shape-10 .ph:nth-child(7) { grid-area: a7; }
.alb-shape.shape-10 .ph:nth-child(8) { grid-area: a8; }
.alb-shape.shape-10 .ph:nth-child(9) { grid-area: a9; }
.alb-shape.shape-10 .ph:nth-child(10) { grid-area: a10; }

/* 响应式：缩小格子 */
@media (max-width: 768px) {
    .alb-shape { --cell: 88px; --gap: 6px; }
    .alb-set-title { font-size: 22px; letter-spacing: 1.5px; }
    .alb-set-head { padding-bottom: 20px; margin-bottom: 24px; }
    .alb-shape-area { padding: 16px 0 24px; }
}
@media (max-width: 480px) {
    .alb-shape { --cell: 68px; --gap: 5px; }
    .alb-set-title { font-size: 19px; }
}

/* ==================================================
   点赞按钮
   ================================================== */
.alb-like-row {
    display: flex;
    justify-content: center;
    margin: 0 0 32px;
}

.alb-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    position: relative;
}
.alb-like-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-2px);
}
.alb-like-btn.liked {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    font-weight: 600;
}
.alb-like-btn .heart {
    font-size: 16px;
    transition: transform 0.2s;
}
.alb-like-btn.liked .heart {
    animation: heartPulse 0.4s;
}
@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.alb-like-btn .count {
    min-width: 20px;
    text-align: center;
    transition: transform 0.15s;
}
.alb-like-btn .count.flash {
    transform: scale(1.3);
    color: var(--gold-light);
}

/* 点赞粒子 */
.like-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 4000;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
}

/* ==================================================
   评论区
   ================================================== */
.alb-comments-area {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

/* ==================================================
   Lightbox
   ================================================== */
.alb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(20px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.alb-lightbox.show {
    opacity: 1;
}

.alb-lb-img-wrap {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
}
.alb-lb-img {
    max-width: 92vw;
    max-height: 88vh;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.05);
    transform-origin: center center;
    user-select: none;
}

.alb-lb-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-family: Arial, sans-serif;
    line-height: 1;
}
.alb-lb-close:hover {
    background: rgba(229, 115, 115, 0.4);
    border-color: rgba(229, 115, 115, 0.6);
    transform: rotate(90deg);
}

.alb-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-family: Arial, sans-serif;
    line-height: 1;
    padding-bottom: 4px;
}
.alb-lb-nav:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.6);
    transform: translateY(-50%) scale(1.08);
}
.alb-lb-prev { left: 20px; }
.alb-lb-next { right: 20px; }
.alb-lb-nav.hidden { display: none; }

.alb-lb-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 80vw;
    padding: 10px 22px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-pill);
    color: #f0e6c8;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transition: opacity 0.3s ease 0.3s;
}
.alb-lb-caption.show {
    opacity: 1;
}

.alb-lb-counter {
    position: absolute;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .alb-lb-close { top: 12px; right: 14px; width: 40px; height: 40px; font-size: 20px; }
    .alb-lb-nav { width: 44px; height: 44px; font-size: 22px; }
    .alb-lb-prev { left: 8px; }
    .alb-lb-next { right: 8px; }
}

/* ==================================================
   相册首页 —— 玩家卡片
   ================================================== */
.alb-home {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.alb-home-head {
    text-align: center;
    padding: 20px 0 34px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 36px;
}
.alb-home-head h1 {
    font-size: 30px;
    color: var(--gold-primary);
    letter-spacing: 6px;
    margin-bottom: 12px;
    font-weight: 500;
    text-shadow: 0 0 24px rgba(212, 175, 55, 0.15);
}
.alb-home-head .sub {
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 2px;
}
.alb-home-head .counter {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.alb-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}

.alb-user-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}
.alb-user-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.alb-user-card:hover::before {
    transform: translateX(0);
}
.alb-user-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.15);
}

.alb-user-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 2px solid var(--border);
    object-fit: cover;
    margin: 0 auto 14px;
    display: block;
    background: var(--bg-input);
    transition: border-color 0.25s;
}
.alb-user-card:hover .alb-user-avatar {
    border-color: var(--gold-primary);
}
.alb-user-avatar.ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--text-muted);
}

.alb-user-name {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.alb-user-stat {
    font-size: 12.5px;
    color: var(--text-muted);
}
.alb-user-stat .num {
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 15px;
    margin-right: 2px;
}

.alb-home-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    grid-column: 1 / -1;
}
.alb-home-empty .icon {
    font-size: 42px;
    opacity: 0.4;
    margin-bottom: 14px;
    display: block;
}
.alb-home-empty p {
    font-size: 14px;
    line-height: 1.8;
}

/* ==================================================
   玩家图集列表页
   ================================================== */
.alb-user-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.alb-user-head {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 0 28px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.alb-user-head .big-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    object-fit: cover;
    background: var(--bg-input);
    flex-shrink: 0;
}
.alb-user-head .big-avatar.ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--text-muted);
}
.alb-user-head .head-info h1 {
    font-size: 24px;
    color: var(--gold-primary);
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 500;
}
.alb-user-head .head-info .meta {
    font-size: 13px;
    color: var(--text-muted);
}
.alb-user-head .head-info .meta .num {
    color: var(--gold-primary);
    font-weight: 600;
}

.alb-albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.alb-album-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    text-decoration: none;
    color: inherit;
    display: block;
}
.alb-album-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.12);
}

.alb-album-cover {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-input);
    position: relative;
}
.alb-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.alb-album-card:hover .alb-album-cover img {
    transform: scale(1.05);
}
.alb-album-cover.empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 32px;
    opacity: 0.4;
}

.alb-album-body {
    padding: 14px 16px 16px;
}
.alb-album-body h3 {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.alb-album-body h3.empty {
    color: var(--text-muted);
    font-style: italic;
    font-weight: normal;
}
.alb-album-body .meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.alb-album-body .meta .num {
    color: var(--gold-primary);
    font-weight: 600;
    margin-right: 3px;
}

@media (max-width: 768px) {
    .alb-home { padding: 16px 14px 40px; }
    .alb-home-head { padding: 12px 0 24px; margin-bottom: 24px; }
    .alb-home-head h1 { font-size: 22px; letter-spacing: 3px; }
    .alb-users-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .alb-user-card { padding: 18px 12px; }
    .alb-user-avatar { width: 60px; height: 60px; }
    .alb-user-name { font-size: 14px; }
    .alb-user-stat { font-size: 11.5px; }

    .alb-user-page { padding: 16px 14px 40px; }
    .alb-user-head { padding: 16px 0 20px; margin-bottom: 22px; gap: 12px; }
    .alb-user-head .big-avatar { width: 64px; height: 64px; }
    .alb-user-head .head-info h1 { font-size: 19px; letter-spacing: 1px; }
    .alb-albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .alb-album-body { padding: 10px 12px 12px; }
    .alb-album-body h3 { font-size: 13.5px; }
}
@media (max-width: 420px) {
    .alb-albums-grid { grid-template-columns: 1fr; }
}

