 
 
 
html, body {
    overflow-x: hidden;
}




/* 默认隐藏汉堡菜单按钮 */
.hamburger {
    display: none;
}

@media (min-width: 829px), (orientation: landscape) {
    :root {
        /* Single control for nav-related text sizes */
        --nav-font-size: clamp(1rem, 0.6vw + 0.8rem, 1.2rem);
        font-size: clamp(15px, 0.7vw + 13px, 20px);
    }
    /* More specific selector that matches the actual element and forces override */
    #last-update.text {
        font-size: 1em !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-align: right !important;
        margin-top: -1em !important;
        margin-bottom: -1.5em !important;
        padding-left: 1em !important;
        padding-right: 1em !important;
    }
    
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #47A8F2;
        padding: 14px 24px;
    }

    /* 让整个 index 区块填充整个视口，并居中内容 */
    #index {
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content:center; /* 让内容垂直居中 */
        align-items: center; /* 让内容水平居中 */
        text-align: center;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        color: white;
        overflow: hidden;    
    }
    
   
    
    
    /* 标题优化 */
    #index .title {
        font-size: clamp(3.2rem, 3vw + 2rem, 4.7rem);
        font-weight:normal;
        line-height: 1.4em;
        justify-content: center;
        text-align: center;
        text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
        
        z-index: 2; /* 确保文字在遮罩上方 */
        
    }
    
    /* 文字说明 */
    #index .text {
        font-size: clamp(1.1rem, 0.8vw + 1rem, 1.6rem);
        max-width: 80%;
        color: white;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        line-height: 1.8em;
        z-index: 2; /* 确保文字在遮罩上方 */
        
    }
    .subtitle {
        max-width: 90%;
        text-align: center;
        font-size: 3em;
        font-weight:normal;
        margin: auto;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        color: rgba(255, 255, 255, 0.9);
        
    }

    :not(#index) > .text {
        max-width: 1200px;
        flex: 1;
        text-align: center;
        margin: auto;
        margin-bottom: 1.5em;
        
        line-height: 1.8;
        color: rgba(255, 255, 255, 0.9);
        padding-left: 1em;
        padding-right: 1em;
        
    }

    
        
    
    .logo {
        font-size: var(--nav-font-size);
        font-weight: bold;
        margin-left: 2em;
        color: rgba(255, 255, 255, 0.9);
    }

    .nav-liquid {
        --pill-height: 36px;
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px;
        border-radius: calc((var(--pill-height) + 8px) / 2);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
        border: 1px solid rgba(255, 255, 255, 0.35);
        box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        position: relative;
        overflow: hidden;
    }
    
    .nav-liquid .nav-link {
        text-decoration: none;
        color: rgba(255, 255, 255, 0.95);
        padding: 0 18px;
        height: var(--pill-height);
        border-radius: calc(var(--pill-height) / 2);
        font-size: var(--nav-font-size);
        font-weight: 500;
        transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
        position: relative;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .nav-liquid .nav-link.active {
        color: #0b2b4a;
    }

    .nav-liquid .liquid-indicator {
        position: absolute;
        left: 4px;
        top: 6px;
        height: var(--pill-height);
        border-radius: calc(var(--pill-height) / 2);
        background: rgba(255, 255, 255, 0.55);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.7),
            0 10px 20px rgba(0, 0, 0, 0.18);
        transition: transform 0.35s ease, width 0.35s ease;
        transform: translateY(0);
        z-index: 1;
    }
    .lang-dropdown {
        font-size: var(--nav-font-size);
        padding: 0 32px 0 16px;
        height: var(--pill-height);
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: calc(var(--pill-height) / 2);
        background-color: rgba(255, 255, 255, 0.18);
        color: rgba(255, 255, 255, 0.95);
        cursor: pointer;
        margin: 0 2px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        appearance: none;
        background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.9) 50%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.9) 50%, transparent 50%);
        background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%;
        background-size: 6px 6px;
        background-repeat: no-repeat;
    }

    .lang-dropdown option {
        color: #111;
    }

    .lang-dropdown:focus-visible {
        outline: none;
        border-color: rgba(255, 255, 255, 0.6);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.5),
            0 0 0 3px rgba(255, 255, 255, 0.25);
    }

    .nav-liquid .nav-link:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.35);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }
    
    
    

    .gallery-wrapper {
        position: relative;
        width: 100vw;
    }

    .gallery-shell {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 clamp(1.5em, 6vw, 8em);
        pointer-events: none;
        z-index: 9999;
    }

    .gallery-arrow {
        pointer-events: auto;
        position: static;
        width: 2.2em;
        height: 2.2em;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.45);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.12));
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.5),
            0 12px 26px rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(12px);
        color: rgba(255, 255, 255, 0.95);
        font-size: 1.4rem;
        line-height: 1;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .gallery-arrow:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.6),
            0 16px 30px rgba(0, 0, 0, 0.3);
    }

    .gallery-arrow-left {
        margin-right: auto;
    }

    .gallery-arrow-right {
        margin-left: auto;
    }

    .gallery-arrow span {
        transform: translateY(-1px);
    }

    /* 让 screenshot 有自己的滚动上下文，不会被首页结构裁剪 */
    .gallery-photo {
        display: flex;
        flex-direction: row;
        overflow-x: auto;        /* 允许横向滚动 */
        overflow-y: hidden;
        gap: clamp(1.2em, 3vw, 4em);
        padding: clamp(1.5em, 2vw + 1em, 3em) clamp(1.5em, 6vw, 8em);

        width: 100vw;            /* ⭐ 让区域真正占满视口宽度 */
        position: relative;

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 10vw;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .gallery-photo::-webkit-scrollbar {
        display: none;
    }

    

    /* 图片大小与 gallery 页匹配 */
    .gallery-photo > div {
        flex: 0 0 auto;   /* 横向排列的不换行核心 */
        scroll-snap-align: center;
    }

    .gallery-photo img {
        max-height: 42em;  /* 来自你的 gallery 页 CSS */
        width: 18em;       /* 固定宽度，便于 gap 计算均分 */
        max-width: 18em;
        height: auto;
        display: block;
        cursor: pointer;
        
    }

    

    
        
    

        
    

}
