/*
Theme Name: My Custom Theme       # 主题名称（必填）
Theme URI: https://your-site.com  # 主题网址（可选）
Author: Your Name                 # 作者（可选）
Author URI: https://your-profile.com # 作者网址（可选）
Description: A simple custom WordPress theme # 描述（可选）
Version: 1.0                      # 版本（可选）
License: GNU General Public License v2 or later # 协议（可选）
License URI: https://www.gnu.org/licenses/gpl-2.0.html # 协议网址（可选）
Text Domain: my-custom-theme      # 文本域（国际化用，可选）
*/
/* 全局/容器平滑滚动 */
html, .scroll-container {
    scroll-behavior: smooth; /* 锚点/JS滚动更柔 */
    overscroll-behavior: contain; /* 防滚动穿透 */
    -webkit-overflow-scrolling: touch; /* iOS惯性 */
    overflow-y: auto;
    height: 100vh; /* 固定高度 */
}

* {
    touch-action: manipulation;
}

/* 滚动项/动画元素：只走合成层（最快） */
.scroll-item {
    will-change: transform; /* 提前提示浏览器优化 */
    transform: translateZ(0); /* 强制GPU分层 */
    backface-visibility: hidden; /* 防闪烁 */
    contain: layout paint size; /* 隔离渲染：不影响外部 */
}

/* 现代浏览器：屏幕外元素跳过渲染（巨幅提速） */
.list-item {
    content-visibility: auto;
    contain-intrinsic-size: 120px; /* 预估高度防跳动 */
}

/* 基础样式重置 */
::-webkit-scrollbar{display:none}
.h-7vh{height:8vh}

input:focus {

    border: none;

    outline: none;

}

figure img{
    max-width:100%!important;
}
input {

    color: #ffffff;

    border: none;

    outline: none;

}

.page-content *{
    margin:0
}

.page-content figure{text-align:center}

.wp-block-gallery{display:flex;flex-direction:column;gap:0.5rem}


.game-rounded{border-radius:1.3rem}


@media (max-width: 576px) {
    .fs-3 {
        font-size: calc(1.1 + .3vw) !important;
    }
    .fs-4 {
        font-size: calc(1rem + .3vw) !important;
    }
    .fs-5,.post-content * {
        font-size: calc(0.9rem + .3vw) !important;
    }

    .bi-cloud-download{
        font-size: calc(1.2rem + .3vw) !important;
    }
    .bi-cloud-download span{
        font-size: calc(0.6rem + .3vw) !important;
    }
}