/* ================================================================
   全局 & 中式酒馆风格
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Serif+SC:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red-gold: #c0392b;
    --red-dark: #8b1a1a;
    --gold: #d4a450;
    --gold-light: #e8c97a;
    --wood-dark: #3e2c1b;
    --wood-mid: #6b4f2e;
    --wood-light: #a67c52;
    --paper: #f5efe6;
    --ink: #2c1810;
    --shadow: rgba(30, 15, 10, 0.4);
    --font-serif: 'Noto Serif SC', '华文楷体', 'KaiTi', serif;
    --font-title: 'Ma Shan Zheng', '华文楷体', 'KaiTi', cursive;
}

body {
    font-family: var(--font-serif);
    background: var(--paper);
    background-image:
        radial-gradient(ellipse at 10% 20%, rgba(212, 164, 80, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 80%, rgba(192, 57, 43, 0.05) 0%, transparent 60%),
        repeating-linear-gradient(45deg,
            transparent,
            transparent 40px,
            rgba(212, 164, 80, 0.02) 40px,
            rgba(212, 164, 80, 0.02) 41px);
    min-height: 100vh;
    color: var(--ink);
    padding-bottom: 100px;
}

/* ================================================================
   顶部装饰
   ================================================================ */
.page-header {
    text-align: center;
    padding: 40px 20px 20px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--red-gold), var(--gold), transparent);
    border-radius: 2px;
}

.header-ornament {
    font-size: 2.6rem;
    color: var(--gold);
    letter-spacing: 12px;
    opacity: 0.5;
    margin-bottom: -6px;
}

.page-header h1 {
    font-family: var(--font-title);
    font-size: 3.4rem;
    font-weight: 400;
    color: var(--red-dark);
    text-shadow: 2px 2px 0 rgba(212, 164, 80, 0.25);
    letter-spacing: 8px;
    position: relative;
    display: inline-block;
}

.page-header .sub {
    font-size: 1.05rem;
    color: var(--wood-mid);
    letter-spacing: 6px;
    margin-top: 6px;
    opacity: 0.7;
    border-top: 1px solid rgba(212, 164, 80, 0.25);
    border-bottom: 1px solid rgba(212, 164, 80, 0.25);
    display: inline-block;
    padding: 4px 20px;
}

.header-curtain {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    opacity: 0.3;
}

.header-curtain span {
    display: inline-block;
    width: 6px;
    height: 28px;
    background: var(--gold);
    border-radius: 3px 3px 0 0;
    transform: rotate(2deg);
}

.header-curtain span:nth-child(odd) {
    transform: rotate(-2deg);
    background: var(--red-gold);
}

/* ================================================================
   统计信息
   ================================================================ */
.stats-bar {
    max-width: 1200px;
    margin: 12px auto 24px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--wood-mid);
    letter-spacing: 1px;
}

.stats-bar .count {
    background: rgba(212, 164, 80, 0.12);
    padding: 4px 16px;
    border-radius: 20px;
    border: 1px solid rgba(212, 164, 80, 0.2);
}

.stats-bar .count em {
    font-style: normal;
    color: var(--red-dark);
    font-weight: 700;
}

.stats-bar .hint {
    opacity: 0.6;
    font-size: 0.82rem;
}

/* ================================================================
   卡片网格
   ================================================================ */
.card-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

/* ================================================================
   卡片 — 中式酒牌风格
   ================================================================ */
.card {
    background: #ffffff;
    border-radius: 12px 12px 8px 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(44, 24, 16, 0.08);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease;
    border: 1px solid rgba(212, 164, 80, 0.15);
    position: relative;
    will-change: transform;
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red-gold), var(--gold), var(--red-gold));
    opacity: 0.6;
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 48px rgba(44, 24, 16, 0.15);
    border-color: var(--gold-light);
}

.card:active {
    transform: scale(0.97) translateY(-2px);
    transition-duration: 0.08s;
}

.card-image {
    width: 100%;
    padding-top: 70%;
    position: relative;
    background: var(--wood-light);
    overflow: hidden;
}

.card-image .placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #d4c5b0 0%, #b8a58e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    color: rgba(44, 24, 16, 0.2);
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .card-image img {
    transform: scale(1.06);
}

.card-content {
    padding: 18px 20px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #fefcf8 0%, #f8f3ec 100%);
}

.card-content .name {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--red-dark);
    letter-spacing: 2px;
    line-height: 1.3;
}

.card-content .name .sub-name {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    color: var(--wood-mid);
    letter-spacing: 1px;
    font-weight: 400;
    opacity: 0.6;
    margin-left: 6px;
}

.card-content .origin {
    font-size: 0.82rem;
    color: var(--wood-mid);
    margin-top: 2px;
    letter-spacing: 1px;
    opacity: 0.7;
}

.card-content .origin::before {
    content: '· ';
    color: var(--gold);
}

.card-content .desc {
    font-size: 0.9rem;
    color: var(--ink);
    line-height: 1.6;
    margin-top: 8px;
    opacity: 0.8;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================================================================
   卡片底部 — 两行标签
   ================================================================ */
.card-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(212, 164, 80, 0.25);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.types-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.type-tag {
    font-size: 0.7rem;
    padding: 2px 12px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    font-weight: 600;
    border: 1px solid transparent;
}

.type-tag.jiang {
    background: rgba(192, 57, 43, 0.10);
    border-color: rgba(192, 57, 43, 0.20);
    color: #a93226;
}

.type-tag.nong {
    background: rgba(212, 164, 80, 0.14);
    border-color: rgba(212, 164, 80, 0.25);
    color: #7d5d3a;
}

.type-tag.qing {
    background: rgba(46, 134, 171, 0.10);
    border-color: rgba(46, 134, 171, 0.18);
    color: #1a6b8a;
}

.footer-row-1 .year {
    font-size: 0.7rem;
    color: var(--wood-mid);
    opacity: 0.4;
    letter-spacing: 1px;
    white-space: nowrap;
}

.footer-row-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 2px;
}

.attr-tag {
    font-size: 0.6rem;
    padding: 1px 10px;
    border-radius: 20px;
    background: rgba(107, 79, 46, 0.06);
    border: 1px solid rgba(107, 79, 46, 0.10);
    color: var(--wood-mid);
    letter-spacing: 1px;
    opacity: 0.5;
    font-weight: 400;
}

/* ================================================================
   灯箱 — 全新左右分栏布局
   ================================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(20, 10, 6, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    width: 94vw;
    max-width: 1300px;
    max-height: 90vh;
    background: rgba(30, 18, 10, 0.70);
    border-radius: 16px;
    border: 1px solid rgba(212, 164, 80, 0.12);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
    padding: 24px 28px 20px;
    transform: scale(0.94);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

/* ---- 关闭按钮 ---- */
.lightbox-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 164, 80, 0.08);
    color: #f5efe6;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.3s;
    z-index: 10;
    user-select: none;
}

.lightbox-close:hover {
    background: rgba(212, 164, 80, 0.15);
    transform: rotate(90deg);
}

/* ---- 内层容器（左右分栏） ---- */
.lightbox-inner {
    display: flex;
    gap: 28px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* ===== 左栏：图片区域 ===== */
.lightbox-left {
    flex: 0 0 46%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

/* 主图容器 */
.lightbox-image-wrapper {
    position: relative;
    flex: 1;
    min-height: 0;
    background: #1a110b;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 164, 80, 0.08);
}

.lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lightbox-image.loaded {
    opacity: 1;
}

.lightbox-image.loading {
    opacity: 0;
}

.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 164, 80, 0.12);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.lightbox-loader.show {
    opacity: 1;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 画廊缩略图 */
.lightbox-gallery {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 2px 6px;
    flex-shrink: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 164, 80, 0.2) transparent;
}

.lightbox-gallery::-webkit-scrollbar {
    height: 4px;
}

.lightbox-gallery::-webkit-scrollbar-thumb {
    background: rgba(212, 164, 80, 0.25);
    border-radius: 4px;
}

.lightbox-gallery::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-thumb {
    flex: 0 0 70px;
    height: 55px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.25s, transform 0.2s;
    opacity: 0.5;
    background: #2a1c14;
}

.gallery-thumb:hover {
    opacity: 0.8;
    transform: scale(1.04);
}

.gallery-thumb.active {
    border-color: var(--gold);
    opacity: 1;
}

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

/* 自定义区域（左图右文 — 二维码区域） */
.lightbox-custom {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(212, 164, 80, 0.06);
    min-height: 60px;
}

.lightbox-custom-image {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 6px;
    object-fit: contain;
    background: #1a110b;
    border: 1px solid rgba(212, 164, 80, 0.08);
}

.lightbox-custom-text {
    font-size: 0.8rem;
    color: rgba(245, 239, 230, 0.55);
    letter-spacing: 1px;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

/* ===== 右栏：文本信息 ===== */
.lightbox-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    padding-right: 4px;
    min-width: 0;
}

.lightbox-right::-webkit-scrollbar {
    width: 3px;
}

.lightbox-right::-webkit-scrollbar-thumb {
    background: rgba(212, 164, 80, 0.2);
    border-radius: 4px;
}

.lightbox-right::-webkit-scrollbar-track {
    background: transparent;
}

.lightbox-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: #f5efe6;
    letter-spacing: 4px;
    line-height: 1.2;
}

.lightbox-title .sub-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: rgba(245, 239, 230, 0.35);
    letter-spacing: 2px;
    font-weight: 400;
    margin-left: 8px;
}

.lightbox-sub {
    font-size: 0.9rem;
    color: rgba(245, 239, 230, 0.4);
    letter-spacing: 2px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 164, 80, 0.06);
    margin-bottom: 4px;
}

.lightbox-detail {
    font-size: 0.92rem;
    color: rgba(245, 239, 230, 0.75);
    line-height: 1.8;
    letter-spacing: 0.5px;
    padding: 6px 0 8px;
}

/* 信息区块（规格、获奖、品鉴） */
.lightbox-info-section {
    padding: 6px 0;
    border-top: 1px solid rgba(212, 164, 80, 0.04);
}

.lightbox-info-section .info-label {
    font-size: 0.75rem;
    color: rgba(212, 164, 80, 0.4);
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 2px;
}

.lightbox-info-section .info-content {
    font-size: 0.85rem;
    color: rgba(245, 239, 230, 0.55);
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.lightbox-info-section .info-content .spec-item {
    display: inline-block;
    margin-right: 18px;
}

.lightbox-info-section .info-content .spec-item strong {
    color: rgba(245, 239, 230, 0.3);
    font-weight: 400;
    margin-right: 4px;
}

/* ---- 底部控制区 ---- */
.lightbox-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-shrink: 0;
    padding-top: 14px;
    margin-top: 6px;
    border-top: 1px solid rgba(212, 164, 80, 0.06);
}

.lightbox-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 164, 80, 0.10);
    color: rgba(245, 239, 230, 0.4);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.2s, opacity 0.3s;
    user-select: none;
}

.lightbox-btn:hover {
    background: rgba(212, 164, 80, 0.12);
    color: #f5efe6;
    transform: scale(1.05);
}

.lightbox-btn:active {
    transform: scale(0.92);
}

.lightbox-counter {
    font-size: 0.8rem;
    color: rgba(245, 239, 230, 0.2);
    letter-spacing: 2px;
    min-width: 60px;
    text-align: center;
}

/* ================================================================
   底部菜单栏 — 中式酒馆风格
   ================================================================ */
.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(30, 18, 10, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 2px solid rgba(212, 164, 80, 0.2);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.3);
    padding: 10px 16px 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bottom-menu::before {
    content: '◆';
    color: var(--gold);
    font-size: 0.6rem;
    opacity: 0.2;
    margin-right: 4px;
}

.bottom-menu::after {
    content: '◆';
    color: var(--gold);
    font-size: 0.6rem;
    opacity: 0.2;
    margin-left: 4px;
}

.menu-btn {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    padding: 6px 20px;
    border: 1px solid rgba(212, 164, 80, 0.15);
    border-radius: 30px;
    background: transparent;
    color: rgba(245, 239, 230, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 3px;
    position: relative;
    min-width: 70px;
    text-align: center;
}

.menu-btn:hover {
    color: #f5efe6;
    background: rgba(212, 164, 80, 0.06);
    border-color: rgba(212, 164, 80, 0.25);
}

.menu-btn.active {
    color: #f5efe6;
    background: rgba(212, 164, 80, 0.12);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 164, 80, 0.06);
}

.menu-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 30%;
    right: 30%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.menu-btn .icon {
    margin-right: 6px;
    font-size: 0.85rem;
}

.menu-btn .badge {
    font-size: 0.6rem;
    opacity: 0.3;
    margin-left: 4px;
    font-weight: 400;
}

.menu-btn.all-btn {
    border-color: rgba(212, 164, 80, 0.08);
    color: rgba(245, 239, 230, 0.3);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.menu-btn.all-btn.active {
    color: #f5efe6;
    border-color: rgba(212, 164, 80, 0.2);
    background: rgba(212, 164, 80, 0.04);
}

.menu-btn.all-btn.active::after {
    background: rgba(212, 164, 80, 0.3);
}

.menu-divider {
    width: 1px;
    height: 24px;
    background: rgba(212, 164, 80, 0.08);
    margin: 0 4px;
}

/* ================================================================
   响应式
   ================================================================ */

@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .page-header h1 {
        font-size: 2.8rem;
    }

    .lightbox-left {
        flex: 0 0 42%;
    }

    .lightbox-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 820px) {
    .lightbox-inner {
        flex-direction: column;
        gap: 14px;
    }

    .lightbox-left {
        flex: 0 0 auto;
        max-height: 52vh;
    }

    .lightbox-image-wrapper {
        min-height: 180px;
        max-height: 38vh;
    }

    .lightbox-right {
        max-height: 40vh;
        overflow-y: auto;
    }

    .lightbox-content {
        padding: 16px 18px 14px;
        max-height: 94vh;
    }

    .lightbox-title {
        font-size: 1.3rem;
    }

    .lightbox-detail {
        font-size: 0.82rem;
    }

    .gallery-thumb {
        flex: 0 0 56px;
        height: 44px;
    }

    .lightbox-custom-image {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
    }

    .lightbox-custom-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
        padding: 0 8px;
    }

    .page-header h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .page-header .sub {
        font-size: 0.75rem;
        letter-spacing: 2px;
        padding: 2px 12px;
    }

    .lightbox-content {
        padding: 12px 12px 12px;
        max-height: 96vh;
        max-width: 98vw;
    }

    .lightbox-left {
        max-height: 40vh;
    }

    .lightbox-image-wrapper {
        min-height: 120px;
        max-height: 30vh;
    }

    .lightbox-right {
        max-height: 38vh;
        gap: 4px;
    }

    .lightbox-title {
        font-size: 1.1rem;
    }

    .lightbox-title .sub-name {
        font-size: 0.75rem;
    }

    .lightbox-sub {
        font-size: 0.7rem;
    }

    .lightbox-detail {
        font-size: 0.75rem;
        padding: 4px 0;
        line-height: 1.6;
    }

    .lightbox-info-section .info-label {
        font-size: 0.65rem;
    }

    .lightbox-info-section .info-content {
        font-size: 0.7rem;
    }

    .gallery-thumb {
        flex: 0 0 46px;
        height: 36px;
    }

    .lightbox-custom {
        padding: 4px 10px;
        min-height: 44px;
        gap: 10px;
    }

    .lightbox-custom-image {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
    }

    .lightbox-custom-text {
        font-size: 0.6rem;
    }

    .lightbox-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .lightbox-counter {
        font-size: 0.65rem;
        min-width: 44px;
    }

    .lightbox-close {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
        top: 6px;
        right: 8px;
    }

    .bottom-menu {
        padding: 6px 6px 10px;
        gap: 2px;
    }

    .menu-btn {
        font-size: 0.7rem;
        padding: 4px 10px;
        min-width: 44px;
        letter-spacing: 0.5px;
    }

    .menu-btn .icon {
        font-size: 0.7rem;
        margin-right: 2px;
    }

    .menu-divider {
        height: 14px;
        margin: 0 1px;
    }

    .menu-btn.all-btn {
        font-size: 0.65rem;
        padding: 4px 8px;
    }

    .stats-bar .hint {
        display: none;
    }
}

/* 横屏手机适配 */
@media (max-height: 500px) and (orientation: landscape) {
    .lightbox-content {
        padding: 10px 16px 10px;
    }

    .lightbox-inner {
        flex-direction: row;
        gap: 16px;
    }

    .lightbox-left {
        flex: 0 0 50%;
        max-height: 70vh;
    }

    .lightbox-image-wrapper {
        max-height: 45vh;
        min-height: 100px;
    }

    .lightbox-right {
        max-height: 70vh;
    }

    .lightbox-title {
        font-size: 1.2rem;
    }

    .lightbox-detail {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .gallery-thumb {
        flex: 0 0 42px;
        height: 34px;
    }

    .lightbox-custom {
        min-height: 36px;
        padding: 4px 10px;
    }

    .lightbox-custom-image {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
    }

    .lightbox-custom-text {
        font-size: 0.6rem;
    }

    .lightbox-controls {
        padding-top: 8px;
    }
}

/* ================================================================
   辅助
   ================================================================ */
.no-scroll {
    overflow: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ================================================================
   空状态
   ================================================================ */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--wood-mid);
    opacity: 0.4;
    font-size: 1.1rem;
    letter-spacing: 4px;
}

.empty-state .big {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
    opacity: 0.5;
}