/* 相册列表样式 - 根据图片设计优化 */
.album-list {
    background: #fff;
    border-radius: 6px;
    /*padding: 20px;*/
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e8e8e8;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.album-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.album-item:hover {
    border-color: #ff6b00;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.15);
    transform: translateY(-3px);
}

.album-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f8f8;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.album-item:hover .album-cover img {
    transform: scale(1.08);
}

.album-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.album-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.album-stats i {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}

.album-info {
    padding: 18px;
}

.album-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.album-info h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.album-info h3 a:hover {
    color: #ff6b00;
}

.album-desc {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 15px;
    background: #f9f9f9;
    padding: 8px 10px;
    border-radius: 4px;
    border-left: 3px solid #ff6b00;
}

.album-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-weight: 500;
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.create-time {
    color: #999;
    font-size: 11px;
}

/* 相册详情页样式 */
.album_top {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.album_head {
    background: #fff;
    padding: 25px 30px 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.album_head h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    flex: 1;
    min-width: 200px;
    line-height: 1.3;
}

.album_head .album-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.album_head .album-tags span {
    display: inline-block;
    padding: 4px 10px;
    background: #f5f5f5;
    color: #666;
    border-radius: 3px;
    font-size: 12px;
    border: 1px solid #e8e8e8;
}

.album_exe {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.album_exe a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    transition: all 0.3s;
    font-size: 13px;
    min-width: 90px;
    justify-content: center;
    font-weight: 500;
}

.album_exe a:hover {
    border-color: #ff6b00;
    color: #ff6b00;
    background: #fff9f0;
}

.album_exe a.curr {
    border-color: #ff6b00;
    background: #ff6b00;
    color: #fff;
}

.album_exe a i {
    font-size: 15px;
}

.album_content {
    padding: 0 30px 30px 30px;
    background: #fff;
}

.album_menu {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    margin: 0 0 25px 0;
    background: #fff;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    position: relative;
}

.album_menu a {
    flex: 1;
    padding: 16px 20px;
    text-align: center;
    color: #666;
    text-decoration: none;
    background: #f9f9f9;
    transition: all 0.3s;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
}

.album_menu a:hover {
    color: #ff6b00;
    background: #fff9f0;
}

.album_menu a.curr {
    color: #ff6b00;
    background: #fff;
    border-bottom: 2px solid #ff6b00;
    font-weight: 600;
}

.album_menu a em {
    background: #ff6b00;
    color: #fff;
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 10px;
    font-style: normal;
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

/* 照片网格样式 */
.photo-gallery {
    background: #fff;
    border-radius: 6px;
    min-height: 300px;
}

.empty-photos {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    background: #fafafa;
    border-radius: 6px;
    border: 2px dashed #e8e8e8;
}

.empty-photos i {
    font-size: 70px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
    opacity: 0.6;
}

.empty-photos p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #888;
    font-weight: 500;
}

.btn-upload {
    display: inline-block;
    padding: 10px 24px;
    background: #ff6b00;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.2);
}

.btn-upload:hover {
    background: #ff8533;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px 0;
}

.photo-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.photo-item:hover {
    border-color: #ff6b00;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.15);
    transform: translateY(-3px);
}

.photo-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #f8f8f8;
    transition: transform 0.5s ease;
}

.photo-item:hover .photo-thumb {
    transform: scale(1.08);
}

.photo-title {
    padding: 10px 12px;
    font-size: 12px;
    color: #666;
    text-align: center;
    background: #fafafa;
    border-top: 1px solid #f5f5f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

/* 右侧边栏样式 */
.hot-albums {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hot-album-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    transition: all 0.3s;
}

.hot-album-item:hover {
    border-color: #ff6b00;
    background: #fff9f0;
    transform: translateX(5px);
}

.hot-album-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.hot-album-item span {
    flex: 1;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 500;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    flex: 1;
    min-width: calc(50% - 4px);
    font-weight: 500;
}

.category-item:hover {
    border-color: #ff6b00;
    color: #ff6b00;
    background: #fff9f0;
    transform: translateY(-1px);
}

.category-item em {
    background: #ff6b00;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-style: normal;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* 热门标签样式 */
.hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.hot-tags .tag {
    display: inline-block;
    padding: 6px 12px;
    background: #f9f9f9;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.3s;
    border: 1px solid #e8e8e8;
    font-weight: 500;
}

.hot-tags .tag:hover {
    background: #ff6b00;
    color: #fff;
    border-color: #ff6b00;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(255, 107, 0, 0.2);
}

.no-tags {
    color: #999;
    font-size: 13px;
    text-align: center;
    padding: 15px 0;
    font-style: italic;
}

/* 用户信息栏样式 */
.blogin {
    background: #fff;
    border-radius: 8px;
    /*padding: 25px 20px;*/
    text-align: center;
    border: 1px solid #e8e8e8;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.bavatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid #fff;
    /*box-shadow: 0 0 0 1px #ff6b00, 0 2px 8px rgba(0,0,0,0.1);*/
}

.bavatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blogin p {
    font-size: 18px;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.blink {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blink a {
    display: block;
    padding: 12px 20px;
    background: #ff6b00;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.2);
}

.blink a:hover {
    background: #ff8533;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

/* 右侧区块样式 */
.brec {
    background: #fff;
    border-radius: 8px;
    /*padding: 20px;*/
    border: 1px solid #e8e8e8;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.brec h3 {
    font-size: 16px;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 600;
    position: relative;
}

.brec h3:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ff6b00;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .album-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .album-grid {
        grid-template-columns: 1fr;
    }
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .album_head {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .album_exe {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    .album_menu {
        flex-direction: column;
    }
    .album_menu a {
        width: 100%;
    }
    .category-item {
        min-width: 100%;
    }
    .album_content {
        padding: 0 15px 20px 15px;
    }
    .album_head, .album_content {
        padding-left: 20px;
        padding-right: 20px;
    }
}