/**
 * 猫咪专属网站 - 极简萌系设计规范
 * 主色+辅助色+白底，圆角 8–12px，响应式优先手机端
 */
:root {
    --color-main: #F9A825;
    --color-accent: #FFF3E0;
    --color-bg: #FFFFFF;
    --radius: 10px;
    --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: var(--color-bg);
}

/* ========== 头部 ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid var(--color-accent);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-main);
    font-weight: 700;
    font-size: 1.1rem;
}
.site-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.site-logo-text {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.site-title { color: inherit; }
.nav-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.nav-bar a {
    padding: 6px 12px;
    border-radius: var(--radius);
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
}
.nav-bar a:hover { background: var(--color-accent); color: var(--color-main); }
.nav-bar a.active { background: var(--color-accent); color: var(--color-main); }

/* ========== 主内容区（留出 fixed 头部） ========== */
.main-content { padding-top: 60px; min-height: 100vh; }

/* ========== 首页 Hero ========== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-carousel { position: absolute; inset: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide.placeholder {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-main) 100%);
    opacity: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 24px;
}
.hero-slogan {
    margin: 0;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}
.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}
.carousel-dots .dot.active { background: #fff; }

/* 音乐控制 */
.music-control {
    position: fixed;
    bottom: 80px;
    right: 16px;
    z-index: 50;
}
.btn-music {
    padding: 8px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--color-main);
    background: var(--color-accent);
    color: var(--color-main);
    cursor: pointer;
    font-size: 0.9rem;
}

/* ========== 通用区块 ========== */
.page-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 16px 48px;
}
.section-title {
    font-size: 1.35rem;
    color: var(--color-main);
    margin: 0 0 20px;
    padding-bottom: 8px;
}
.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
}
.card-inner { margin-top: 20px; padding-top: 16px; border-top: 1px solid #f0f0f0; }
.label { font-size: 0.95rem; color: #666; margin: 0 0 8px; }

/* ========== 猫咪档案 ========== */
.profile-page .profile-card { max-width: 640px; }
.profile-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.profile-avatar-wrap { flex-shrink: 0; }
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-accent);
}
.profile-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
}
.profile-name { margin: 0 0 8px; font-size: 1.5rem; color: var(--color-main); }
.profile-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: #555;
}
.profile-meta li { margin: 4px 0; }
.personality-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.personality-tags .tag,
.tag {
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--color-accent);
    color: var(--color-main);
    font-size: 0.9rem;
}
.bio-text { margin: 0; color: #444; }
.habits-list, .timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.habits-list li, .timeline-list li {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}
.timeline-list li .timeline-dot {
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-main);
}

/* ========== 日常记 ========== */
.album-list {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.album-card {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.album-card.featured { border-left: 4px solid var(--color-main); }
.album-title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: #333;
}
.album-title .badge {
    background: var(--color-main);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
}
.album-date { font-size: 0.9rem; color: #888; font-weight: normal; }
.album-category { margin: 0 0 12px; font-size: 0.9rem; color: #666; }
.album-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.photo-item { margin: 0; }
.photo-link {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    background: #f5f5f5;
}
.photo-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.photo-link:hover img { transform: scale(1.05); }
.photo-link video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.photo-item-video .photo-link { aspect-ratio: 16/10; }
.video-cover-wrap {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    background: #222;
    cursor: pointer;
}
.video-cover-wrap .video-play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-size: 24px;
    color: #fff;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    pointer-events: none;
}
.video-cover-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* 留言栏：仅在有铲屎官评论后显示，铲屎官显示为「铲屎官：内容」 */
.item-comments.comment-box {
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
    background: var(--color-accent);
    border: 1px solid rgba(249, 168, 37, 0.2);
}
.comments-title { font-size: 0.95rem; color: #555; margin: 0 0 12px; font-weight: 600; }
.comment-list { margin-bottom: 14px; }
.message-form-inline.comment-form {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(249, 168, 37, 0.25);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}
.message-form-inline .comment-nickname {
    width: 100px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    background: #fff;
}
.message-form-inline textarea {
    flex: 1;
    min-width: 140px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    resize: vertical;
    background: #fff;
}
.message-item-small {
    padding: 10px 12px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #eee;
}
.message-item-small .message-nickname { margin-right: 8px; }
.message-item-small .message-time { font-size: 0.8rem; color: #888; display: block; margin-top: 4px; }
/* 铲屎官评论：突出显示「铲屎官：内容」 */
.message-item-small.comment-owner {
    border-color: rgba(249, 168, 37, 0.35);
    background: #fff;
}
.comment-owner-line { margin: 0; line-height: 1.5; }
.comment-owner-label {
    font-weight: 700;
    color: var(--color-main);
    margin-right: 4px;
}
.comment-owner .message-time { margin-top: 6px; }
.comment-login-tip { font-size: 0.85rem; color: #888; margin-top: 8px; }
.btn-small { padding: 6px 14px; font-size: 0.9rem; }

.live-photo-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}
.live-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-caption { margin: 6px 0 0; font-size: 0.85rem; color: #666; }
.diary-title { margin-top: 32px; }
.diary-list { list-style: none; padding: 0; margin: 0; }
.diary-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}
.diary-icon { font-size: 1.2rem; flex-shrink: 0; }
.diary-date { font-size: 0.85rem; color: #888; margin: 0 0 4px; }
.diary-content { margin: 0; color: #444; }
.empty-hint { color: #888; text-align: center; padding: 24px !important; }

/* ========== 留言板 ========== */
.message-prompt { text-align: center; color: #666; margin: 0 0 20px; }
.password-box { max-width: 360px; margin: 0 auto 24px; }
.unlock-form label { display: block; margin-bottom: 8px; }
.unlock-form input { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #ddd; margin-bottom: 12px; }
.message-form-wrap { max-width: 560px; margin: 0 auto 32px; }
.message-login-tip { text-align: center; }
.message-login-tip a { color: var(--color-main); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; margin-bottom: 6px; font-size: 0.9rem; color: #555; }
.form-row input[type="text"],
.form-row input[type="password"],
.form-row input[type="url"],
.form-row input[type="number"],
.form-row input[type="email"],
.form-row textarea {
    width: 100%;
    max-width: 360px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}
.auth-card { max-width: 400px; margin: 0 auto; }
/* 登录/注册：密码登录 / 验证码登录 大按钮 */
.login-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    padding: 8px;
    background: #eee;
    border-radius: 16px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
}
.login-tab {
    flex: 1;
    padding: 22px 28px;
    border: none;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 500;
    color: #777;
    transition: all 0.25s ease;
}
.login-tab:hover {
    color: var(--color-main);
    background: rgba(255, 243, 224, 0.7);
}
.login-tab.active {
    background: #fff;
    color: var(--color-main);
    font-weight: 700;
    font-size: 1.28rem;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.password-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.password-row input { flex: 1; }
.forgot-link { font-size: 0.9rem; color: var(--color-main); white-space: nowrap; }
.auth-form-wide { max-width: 480px; }
.auth-form-wide .form-row input[type="text"],
.auth-form-wide .form-row input[type="password"],
.auth-form-wide .form-row input[type="tel"],
.auth-form-wide .form-row input[type="email"] { max-width: none; }
.phone-row { display: flex; gap: 10px; align-items: stretch; }
.phone-row input {
    flex: 1;
    height: 44px;
    box-sizing: border-box;
    padding: 0 12px;
}
.phone-row .btn-sms {
    flex-shrink: 0;
    height: 44px;
    padding: 0 16px;
    font-size: 0.95rem;
    white-space: nowrap;
    line-height: 44px;
    box-sizing: border-box;
    border-radius: 8px;
}
.btn-sms:disabled { opacity: 0.7; cursor: not-allowed; }

/* 图形验证码区域 */
.captcha-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.captcha-img {
    display: block;
    width: 120px;
    height: 44px;
    min-width: 120px;
    min-height: 44px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    background: #fafafa;
    object-fit: contain;
}
.captcha-hint { margin-top: 8px; font-size: 0.9rem; color: #888; }
.captcha-hint a { color: var(--color-main); }

.slider-captcha-wrap { position: relative; width: 300px; min-height: 180px; margin: 10px 0; }
.slider-bg { width: 300px; height: 150px; background-size: 300px 150px; background-repeat: no-repeat; border-radius: 8px; border: 1px solid #ddd; }
.slider-piece-wrap { position: absolute; left: 0; width: 50px; height: 50px; cursor: grab; z-index: 2; }
.slider-piece-wrap:active { cursor: grabbing; }
.slider-piece { width: 100%; height: 100%; display: block; pointer-events: none; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.slider-hint { margin: 8px 0 0; font-size: 0.9rem; color: #666; }
.auth-tip { margin-top: 16px; font-size: 0.95rem; color: #666; }
.auth-tip a { color: var(--color-main); }
.subsection-title { font-size: 1.1rem; margin: 24px 0 12px; color: #555; }
.tip-list { list-style: none; padding: 0; margin: 0; }
.tip-item { margin-bottom: 12px; }
.tip-amount { font-weight: 700; color: var(--color-main); margin-right: 12px; }
.tip-msg { margin: 8px 0 0; color: #444; font-size: 0.95rem; }
.tip-time { font-size: 0.85rem; color: #888; }
.form-row textarea { resize: vertical; min-height: 80px; }
.btn, .btn-main {
    padding: 10px 20px;
    border-radius: var(--radius);
    border: none;
    background: var(--color-main);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
}
.btn:hover, .btn-main:hover { opacity: 0.9; }
.form-error { color: #c00; font-size: 0.9rem; margin-top: 8px; }
.success-msg { color: #2e7d32; margin-bottom: 16px; }
.message-list { margin-top: 24px; }
.message-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.message-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.message-body { flex: 1; min-width: 0; }
.message-nickname { margin-right: 8px; color: var(--color-main); }
.message-time { font-size: 0.8rem; color: #888; }
.message-content { margin: 8px 0 0; color: #444; }

/* ========== 页脚 ========== */
.site-footer {
    text-align: center;
    padding: 24px 16px;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #f0f0f0;
}
.footer-build, .footer-owner, .footer-tip { margin: 4px 0; }

/* ========== 后台 ========== */
.admin-body { background: #f5f5f5; min-height: 100vh; }
.admin-login-wrap {
    max-width: 360px;
    margin: 60px auto;
    padding: 24px;
    text-align: center;
}
.admin-login-wrap h1 { margin-bottom: 24px; color: var(--color-main); }
.admin-login-form .form-row { margin-bottom: 16px; }
.admin-login-form input { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #ddd; }
.admin-header {
    background: #fff;
    padding: 12px 24px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
}
.admin-header a { color: #333; text-decoration: none; }
.admin-header a:hover { color: var(--color-main); }
.admin-main { max-width: 900px; margin: 0 auto; padding: 24px 16px; }
.admin-main h1 { margin-bottom: 20px; }
.admin-form .form-row { margin-bottom: 14px; }
.admin-form .form-row label { display: block; margin-bottom: 4px; }
.admin-form input[type="text"],
.admin-form input[type="url"],
.admin-form input[type="file"],
.admin-form textarea { width: 100%; max-width: 480px; padding: 8px 10px; border-radius: 8px; border: 1px solid #ddd; }
.admin-form h3 { margin: 20px 0 12px; font-size: 1rem; color: #666; }
/* 相册管理：竖着排列每一条，手机端友好 */
.album-admin-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.album-admin-card {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fafafa;
}
.album-admin-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.album-admin-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    flex: 1;
    min-width: 0;
}
.album-admin-card .btn-delete { font-size: 0.85rem; color: #c00; flex-shrink: 0; }
.album-list-item .album-admin-card-header { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.album-list-preview {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
    margin-bottom: 12px;
}
.album-list-preview img,
.album-list-preview video {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: cover;
    display: block;
}
/* 后台强制 80×80，避免缓存或其它样式覆盖 */
body.admin-body .album-list-preview {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
}
body.admin-body .album-list-preview img,
body.admin-body .album-list-preview video {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
}
body.admin-body .album-photos-admin .photo-thumb {
    width: 80px !important;
    min-width: 80px;
    max-width: 80px;
}
body.admin-body .album-photos-admin .photo-thumb img,
body.admin-body .album-photos-admin .photo-thumb video {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
}
.album-list-meta { margin: 8px 0 0; font-size: 0.9rem; color: #888; }
.admin-breadcrumb { margin: -8px 0 16px; font-size: 0.9rem; }
.admin-breadcrumb a { color: var(--color-main); }
.album-photos-admin {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 16px;
}
.photo-thumb {
    width: 80px;
    text-align: center;
    position: relative;
}
.photo-thumb img,
.photo-thumb video { width: 80px !important; height: 80px !important; max-width: 80px !important; max-height: 80px !important; object-fit: cover; border-radius: 8px; display: block; }
.photo-thumb .thumb-badge { position: absolute; top: 2px; right: 2px; background: rgba(0,0,0,0.6); color: #fff; font-size: 10px; padding: 2px 4px; border-radius: 4px; }
.photo-thumb p { margin: 4px 0; font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-thumb a { font-size: 0.8rem; color: #c00; }
.add-photos-form {
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.add-photos-form .add-photos-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.add-photos-form .add-photos-row label {
    font-size: 0.9rem;
    color: #555;
}
.add-photos-form .add-photos-row input[type="file"],
.add-photos-form .add-photos-row textarea {
    width: 100%;
    max-width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
}
.add-photos-form .add-photos-row button { align-self: flex-start; }
.diary-admin-list { list-style: none; padding: 0; margin: 24px 0 0; }
.diary-admin-list li { margin-bottom: 12px; }
.diary-admin-list .btn-small { color: #c00; font-size: 0.85rem; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eee; }
.admin-table th { background: var(--color-accent); color: #333; font-weight: 600; }
.admin-table .ua { max-width: 200px; font-size: 0.85rem; color: #666; }
.admin-summary { margin-bottom: 16px; color: #666; font-size: 0.95rem; }
.pagination { margin-top: 20px; display: flex; align-items: center; gap: 16px; }
.pagination a { color: var(--color-main); }
.btn-small.danger { color: #c00; }

/* ========== 响应式 ========== */
@media (max-width: 600px) {
    .header-inner { padding: 10px 12px; }
    .nav-bar a { padding: 6px 10px; font-size: 0.9rem; }
    .hero { min-height: 60vh; }
    .profile-header { flex-direction: column; align-items: center; text-align: center; }
    /* 前台相册：手机端竖着排，每一条更清晰 */
    .album-list { gap: 24px; }
    .album-card { padding: 16px; border-radius: 12px; }
    .album-photos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .album-title { font-size: 1.05rem; flex-wrap: wrap; }
    .album-admin-list { gap: 16px; margin-top: 16px; }
    .album-admin-card { padding: 14px; }
    .album-admin-card-header { flex-direction: column; align-items: flex-start; }
    .album-photos-admin { gap: 10px; }
    .photo-thumb img, .photo-thumb video { width: 64px; height: 64px; }
    .photo-thumb { width: 64px; }
    /* 后台相册管理保持 80×80 */
    body.admin-body .album-list-preview,
    body.admin-body .album-photos-admin .photo-thumb { width: 80px !important; min-width: 80px; max-width: 80px; }
    body.admin-body .album-list-preview img,
    body.admin-body .album-list-preview video,
    body.admin-body .album-photos-admin .photo-thumb img,
    body.admin-body .album-photos-admin .photo-thumb video { width: 80px !important; height: 80px !important; min-width: 80px !important; min-height: 80px !important; max-width: 80px !important; max-height: 80px !important; }
    .add-photos-form .add-photos-row input[type="file"],
    .add-photos-form .add-photos-row textarea { max-width: none; }
    .music-control { bottom: 70px; right: 12px; }
}
@media (max-width: 400px) {
    .album-photos { grid-template-columns: 1fr; }
}
