/* ============================================================
   py001 · 体育企业模板样式
   配色：深夜海军蓝 + 琥珀金
   全站统一 py- 前缀 class，自定义 CSS 变量，无第三方框架依赖
   ============================================================ */
:root {
    --py-page: #f5f6fb;
    --py-surface: #ffffff;
    --py-ink: #171c33;
    --py-body: #4b5375;
    --py-muted: #8b93b0;
    --py-line: #e2e6f3;
    --py-night-1: #1b1f3b;
    --py-night-2: #0a0d22;
    --py-night-3: #262b52;
    --py-gold: #f0a92b;
    --py-gold-2: #ffc85c;
    --py-gold-deep: #d88a12;
    --py-grad: linear-gradient(135deg, #f0a92b 0%, #ffc85c 100%);
    --py-grad-dark: linear-gradient(135deg, #1b1f3b 0%, #0a0d22 100%);
    --py-radius: 18px;
    --py-radius-sm: 12px;
    --py-shadow: 0 10px 30px rgba(16, 22, 54, 0.10);
    --py-shadow-lg: 0 18px 50px rgba(16, 22, 54, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
    background: var(--py-page);
    color: var(--py-body);
    font-size: 16px;
    line-height: 1.75;
}
img { border: 0; max-width: 100%; height: auto; display: block; }
a { color: var(--py-ink); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--py-gold-deep); }
h1, h2, h3, h4, h5, h6 { color: var(--py-ink); line-height: 1.35; font-weight: 700; }
time { color: var(--py-muted); font-size: .85rem; }
ul.list-unstyled, .list-unstyled { list-style: none; margin: 0; padding: 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 按钮 ---------- */
.py-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 32px; border-radius: 999px; font-size: 1rem; font-weight: 600;
    border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
}
.py-btn-primary { background: var(--py-grad); color: #211a04; box-shadow: 0 8px 22px rgba(240, 169, 43, .35); }
.py-btn-primary:hover { color: #211a04; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(240, 169, 43, .45); }
.py-btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.py-btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.py-btn-outline { border-color: var(--py-line); color: var(--py-ink); background: var(--py-surface); }
.py-btn-outline:hover { border-color: var(--py-gold); color: var(--py-gold-deep); transform: translateY(-2px); }
.py-btn-sm { padding: 8px 20px; font-size: .9rem; }

/* ---------- 页头 ---------- */
.py-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
    box-shadow: 0 2px 16px rgba(16, 22, 54, .08);
}
.py-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.py-brand { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; color: var(--py-ink); flex-shrink: 0; }
.py-brand img { width: 40px; height: 40px; }
.py-brand:hover { color: var(--py-ink); }
.py-nav { display: flex; align-items: center; gap: 6px; margin: 0 auto; min-width: 0; }
.py-nav a { padding: 8px 15px; border-radius: 10px; font-size: .98rem; font-weight: 500; color: var(--py-body); }
.py-nav a:hover { color: var(--py-gold-deep); background: rgba(240, 169, 43, .08); }
.py-nav a.active { color: var(--py-gold-deep); background: rgba(240, 169, 43, .12); font-weight: 700; }
.py-nav-cta { flex-shrink: 0; }
.py-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--py-line); border-radius: 10px; background: var(--py-surface); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.py-toggle span { display: block; width: 20px; height: 2px; background: var(--py-ink); border-radius: 2px; }
#py-nav-state { display: none; }

/* ---------- 首屏 Hero ---------- */
.py-hero {
    position: relative; display: flex; align-items: center; justify-content: center;
    min-height: 86vh; text-align: center; color: #fff; overflow: hidden;
    background: var(--py-grad-dark);
}
.py-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.py-hero-mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 13, 34, .45) 0%, rgba(10, 13, 34, .72) 70%, rgba(10, 13, 34, .92) 100%); }
.py-hero-content { position: relative; z-index: 2; padding: 96px 20px 130px; max-width: 880px; }
.py-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: .88rem; letter-spacing: .06em; color: var(--py-gold-2); margin-bottom: 26px; }
.py-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3.2rem); font-weight: 800; letter-spacing: .01em; margin-bottom: 18px; }
.py-hero h1 em { font-style: normal; background: var(--py-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.py-hero-lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .82); max-width: 720px; margin: 0 auto 34px; }
.py-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.py-hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; }
.py-hero-wave svg { width: 100%; height: 110px; display: block; }
.py-wave-track { animation: pyWave 14s linear infinite; }
@keyframes pyWave { from { transform: translateX(0); } to { transform: translateX(-1200px); } }

/* ---------- 区块通用 ---------- */
.py-sec { padding: 84px 0; }
.py-sec-light { background: var(--py-page); }
.py-sec-white { background: var(--py-surface); }
.py-sec-dark { background: var(--py-grad-dark); color: rgba(255, 255, 255, .78); }
.py-sec-dark h2, .py-sec-dark h3, .py-sec-dark h4 { color: #fff; }
.py-sec-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.py-eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .22em; color: var(--py-gold-deep); text-transform: uppercase; margin-bottom: 10px; }
.py-sec-dark .py-eyebrow { color: var(--py-gold-2); }
.py-sec-title { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-bottom: 12px; }
.py-sec-sub { color: var(--py-muted); font-size: 1rem; }
.py-sec-dark .py-sec-sub { color: rgba(255, 255, 255, .62); }

/* ---------- 关于区（图文交替两行） ---------- */
.py-about-row { display: flex; align-items: center; gap: 56px; margin-bottom: 56px; }
.py-about-row:last-child { margin-bottom: 0; }
.py-about-row.py-rev { flex-direction: row-reverse; }
.py-about-img { flex: 0 0 46%; border-radius: var(--py-radius); overflow: hidden; box-shadow: var(--py-shadow-lg); }
.py-about-img img { width: 100%; height: 340px; object-fit: cover; }
.py-about-text { flex: 1; min-width: 0; }
.py-about-text h4 { font-size: 1.35rem; margin-bottom: 14px; }
.py-about-text p { margin-bottom: 16px; }
.py-about-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 20px; }
.py-stat b { display: block; font-size: 1.7rem; font-weight: 800; background: var(--py-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.py-stat span { font-size: .88rem; color: var(--py-muted); }
.py-sec-dark .py-stat span { color: rgba(255, 255, 255, .6); }

/* ---------- 业务矩阵（五行图文） ---------- */
.py-dept-row { display: flex; align-items: center; gap: 56px; padding: 30px 0; }
.py-dept-row + .py-dept-row { border-top: 1px solid var(--py-line); }
.py-dept-row.py-rev { flex-direction: row-reverse; }
.py-dept-img { flex: 0 0 48%; border-radius: var(--py-radius); overflow: hidden; box-shadow: var(--py-shadow); }
.py-dept-img img { width: 100%; height: 300px; object-fit: cover; transition: transform .45s ease; }
.py-dept-row:hover .py-dept-img img { transform: scale(1.04); }
.py-dept-text { flex: 1; min-width: 0; }
.py-dept-no { font-size: .95rem; font-weight: 800; color: var(--py-gold); letter-spacing: .1em; margin-bottom: 8px; }
.py-dept-text h3 { font-size: 1.45rem; margin-bottom: 12px; }
.py-dept-text p { color: var(--py-body); }
.py-dept-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.py-dept-tags span { font-size: .82rem; padding: 4px 14px; border-radius: 999px; background: rgba(240, 169, 43, .1); color: var(--py-gold-deep); font-weight: 600; }

/* ---------- 安全保障区 ---------- */
.py-sec-band { display: flex; align-items: center; gap: 60px; }
.py-band-text { flex: 1; min-width: 0; }
.py-band-text h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 14px; }
.py-band-text p { margin-bottom: 22px; }
.py-check-list { list-style: none; margin: 0; padding: 0; }
.py-check-list li { position: relative; padding: 9px 0 9px 38px; color: rgba(255, 255, 255, .85); }
.py-check-list li::before {
    content: ""; position: absolute; left: 0; top: 13px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--py-grad);
}
.py-check-list li::after {
    content: ""; position: absolute; left: 7px; top: 18px; width: 10px; height: 6px;
    border-left: 2px solid #211a04; border-bottom: 2px solid #211a04; transform: rotate(-45deg);
}
.py-band-badge { flex: 0 0 auto; text-align: center; }
.py-badge-circle {
    width: 210px; height: 210px; border-radius: 50%; margin: 0 auto;
    background: radial-gradient(circle at 30% 25%, rgba(255, 200, 92, .28), rgba(255, 255, 255, .04) 60%);
    border: 2px solid rgba(255, 200, 92, .5); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 60px rgba(240, 169, 43, .25) inset, 0 18px 44px rgba(0, 0, 0, .35);
}
.py-badge-circle svg { width: 92px; height: 92px; }
.py-badge-cap { margin-top: 16px; font-size: .9rem; color: rgba(255, 255, 255, .6); }

/* ---------- 口碑区 ---------- */
.py-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.py-review-card { background: var(--py-surface); border: 1px solid var(--py-line); border-radius: var(--py-radius); padding: 26px; box-shadow: var(--py-shadow); display: flex; flex-direction: column; gap: 12px; }
.py-review-head { display: flex; align-items: center; gap: 12px; }
.py-review-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(240, 169, 43, .55); box-shadow: 0 3px 10px rgba(16, 22, 54, .16); flex-shrink: 0; background: var(--py-night-1); }
.py-review-name { font-weight: 700; color: var(--py-ink); font-size: .98rem; }
.py-review-stars { color: var(--py-gold); letter-spacing: 3px; font-size: .9rem; }
.py-review-card p { font-size: .94rem; color: var(--py-body); margin: 0; }

/* ---------- APP 下载区 ---------- */
.py-app-card {
    background: var(--py-surface); border-radius: 26px; box-shadow: var(--py-shadow-lg);
    padding: 56px 44px; text-align: center; max-width: 920px; margin: 0 auto; position: relative; overflow: hidden;
}
.py-app-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--py-grad); }
.py-app-card h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 10px; }
.py-app-card > p { color: var(--py-muted); max-width: 620px; margin: 0 auto 30px; }
.py-app-body { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.py-app-show { width: 240px; max-width: 240px; height: 320px; max-height: 320px; object-fit: cover; border-radius: 22px; box-shadow: var(--py-shadow); background: var(--py-night-1); }
.py-app-side { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.py-app-qr { width: 148px; height: 148px; border: 1px solid var(--py-line); border-radius: 14px; padding: 8px; background: #fff; }
.py-app-qr img { width: 100%; height: 100%; }
.py-app-cap { font-size: .85rem; color: var(--py-muted); margin-top: -8px; }
.py-app-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- 资讯卡片区 ---------- */
.py-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.py-news-card { background: var(--py-surface); border: 1px solid var(--py-line); border-radius: var(--py-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--py-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.py-news-card:hover { transform: translateY(-5px); box-shadow: var(--py-shadow-lg); }
.py-news-img { display: block; }
.py-news-img img { width: 100%; height: 190px; object-fit: cover; }
.py-news-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.py-news-title { font-size: 1.05rem; font-weight: 700; line-height: 1.5; margin: 0; }
.py-news-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.py-news-title a:hover { color: var(--py-gold-deep); }
.py-news-desc { font-size: .9rem; color: var(--py-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex-grow: 1; }
.py-news-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.py-news-more { font-size: .86rem; font-weight: 700; color: var(--py-gold-deep); border: 1px solid rgba(240, 169, 43, .45); padding: 4px 14px; border-radius: 999px; }
.py-news-more:hover { background: rgba(240, 169, 43, .12); color: var(--py-gold-deep); }
.py-news-empty { text-align: center; color: var(--py-muted); background: var(--py-surface); border: 1px dashed var(--py-line); border-radius: var(--py-radius); padding: 46px 20px; grid-column: 1 / -1; }

/* ---------- 页脚 ---------- */
.py-footer { background: linear-gradient(115deg, #1c1f3f 0%, #231437 60%, #3d0b40 100%); color: rgba(255, 255, 255, .65); padding: 64px 0 26px; }
.py-footer h6 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.py-footer a { color: rgba(255, 255, 255, .65); }
.py-footer a:hover { color: var(--py-gold-2); }
.py-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 36px; }
.py-footer-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 22px; min-height: 190px; }
.py-footer-card p { font-size: .9rem; margin: 0; }
.py-footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.py-footer-brand img { width: 34px; height: 34px; }
.py-footer-list { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.py-footer-list li { margin-bottom: 9px; }
.py-footer-link { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .88rem; }
.py-copy { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; text-align: center; font-size: .88rem; color: rgba(255, 255, 255, .5); }
.py-copy a { color: rgba(255, 255, 255, .7); }

/* ---------- 子页通用 ---------- */
.py-pagehead { background: var(--py-grad-dark); padding: 54px 0 46px; color: #fff; }
.py-pagehead h1 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.py-pagehead p { color: rgba(255, 255, 255, .6); margin: 10px 0 0; }
.py-crumb { font-size: .88rem; margin-bottom: 16px; }
.py-crumb ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.py-crumb li { color: rgba(255, 255, 255, .55); }
.py-crumb li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .35); }
.py-crumb a { color: rgba(255, 255, 255, .75); }
.py-crumb a:hover { color: var(--py-gold-2); }
.py-crumb-light li { color: var(--py-muted); }
.py-crumb-light li + li::before { color: var(--py-line); }
.py-crumb-light a { color: var(--py-body); }
.py-crumb-light a:hover { color: var(--py-gold-deep); }
.py-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 30px; align-items: start; padding: 46px 0 84px; }
.py-main-col { min-width: 0; }
.py-side-col { min-width: 0; position: sticky; top: 92px; }
.py-side-box { background: var(--py-surface); border: 1px solid var(--py-line); border-radius: var(--py-radius); padding: 22px; box-shadow: var(--py-shadow); margin-bottom: 22px; }
.py-side-box h3 { font-size: 1.05rem; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--py-line); }
.py-rank-list { list-style: none; margin: 0; padding: 0; }
.py-rank-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--py-line); }
.py-rank-list li:last-child { border-bottom: 0; }
.py-rank-no { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--py-page); color: var(--py-muted); font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 4px; }
.py-rank-list li:nth-child(-n+3) .py-rank-no { background: var(--py-grad); color: #211a04; }
.py-rank-list a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .92rem; line-height: 1.55; }
.py-taglist { display: flex; flex-wrap: wrap; gap: 10px; }
.py-taglist a { font-size: .84rem; padding: 5px 14px; border-radius: 999px; background: var(--py-page); color: var(--py-body); border: 1px solid var(--py-line); }
.py-taglist a:hover { background: rgba(240, 169, 43, .12); border-color: var(--py-gold); color: var(--py-gold-deep); }

/* ---------- 列表卡片 ---------- */
.py-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.py-list-card { background: var(--py-surface); border: 1px solid var(--py-line); border-radius: var(--py-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--py-shadow); transition: transform .25s ease; }
.py-list-card:hover { transform: translateY(-4px); }
.py-list-img img { width: 100%; height: 175px; object-fit: cover; }
.py-list-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.py-list-title { font-size: 1rem; font-weight: 700; line-height: 1.5; margin: 0; }
.py-list-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.py-list-title a:hover { color: var(--py-gold-deep); }
.py-list-desc { font-size: .88rem; color: var(--py-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex-grow: 1; }
.py-list-meta { display: flex; align-items: center; gap: 16px; font-size: .82rem; color: var(--py-muted); margin-top: 4px; }

/* ---------- 图集网格 ---------- */
.py-imggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.py-imgcard { background: var(--py-surface); border: 1px solid var(--py-line); border-radius: var(--py-radius); overflow: hidden; box-shadow: var(--py-shadow); }
.py-imgcard img { width: 100%; height: 200px; object-fit: cover; }
.py-imgcard-body { padding: 14px 16px 16px; }
.py-imgcard-body .py-list-title { font-size: .96rem; }

/* ---------- 详情页 ---------- */
.py-article { background: var(--py-surface); border: 1px solid var(--py-line); border-radius: var(--py-radius); padding: 40px 44px 44px; box-shadow: var(--py-shadow); }
.py-article h1 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 16px; }
.py-article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .88rem; color: var(--py-muted); padding-bottom: 18px; border-bottom: 1px solid var(--py-line); margin-bottom: 26px; }
.py-article-meta a { color: var(--py-gold-deep); }
.py-detail-body { font-size: 1.02rem; color: #2c3352; }
.py-detail-body p { margin: 0 0 1.1em; }
.py-detail-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 14px auto; }
.py-detail-body h2, .py-detail-body h3, .py-detail-body h4 { margin: 1.4em 0 .7em; }
.py-detail-body ul, .py-detail-body ol { padding-left: 1.6em; margin: 0 0 1.1em; }
.py-detail-body blockquote { border-left: 4px solid var(--py-gold); background: var(--py-page); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 0 0 1.1em; color: var(--py-body); }
.py-detail-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.1em; }
.py-detail-body table th, .py-detail-body table td { border: 1px solid var(--py-line); padding: 9px 12px; font-size: .92rem; }
.py-detail-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.py-updown { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.py-updown a, .py-updown span { display: block; background: var(--py-page); border: 1px solid var(--py-line); border-radius: 12px; padding: 14px 18px; font-size: .92rem; }
.py-updown em { font-style: normal; display: block; font-size: .8rem; color: var(--py-muted); margin-bottom: 4px; }
.py-updown a:hover { border-color: var(--py-gold); }
.py-page-code { display: flex; justify-content: center; gap: 8px; margin: 22px 0; }

/* ---------- 分页（系统输出固定为 .pagination/.page-item/.page-link） ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 30px 0 0; padding: 0; }
.page-item { list-style: none; }
.page-link { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--py-line); border-radius: 10px; background: var(--py-surface); color: var(--py-body); font-size: .92rem; }
.page-link:hover { color: var(--py-gold-deep); border-color: var(--py-gold); }
.page-item.active .page-link { background: var(--py-grad); border-color: transparent; color: #211a04; font-weight: 700; }
.page-item.disabled .page-link { color: var(--py-muted); opacity: .6; pointer-events: none; }

/* ---------- 搜索 / 表单 ---------- */
.py-searchbar { display: flex; gap: 12px; max-width: 640px; margin: 26px auto 0; }
.py-searchbar input { flex: 1; min-width: 0; }
input[type="text"], input[type="email"], input[type="search"], textarea, select {
    width: 100%; padding: 12px 16px; border: 1px solid var(--py-line); border-radius: 12px;
    font-size: .98rem; font-family: inherit; color: var(--py-ink); background: var(--py-surface); outline: none; transition: border-color .2s ease;
}
input:focus, textarea:focus { border-color: var(--py-gold); }
textarea { min-height: 140px; resize: vertical; }
.py-form { display: grid; gap: 18px; }
.py-form label { font-size: .92rem; font-weight: 600; color: var(--py-ink); display: block; margin-bottom: 8px; }

/* ---------- 单页内容排版 ---------- */
.py-prose { background: var(--py-surface); border: 1px solid var(--py-line); border-radius: var(--py-radius); padding: 40px 44px; box-shadow: var(--py-shadow); }
.py-prose h1 { margin-bottom: 18px; }
.py-prose h2 { font-size: 1.25rem; margin: 1.8em 0 .8em; padding-left: 14px; border-left: 4px solid var(--py-gold); }
.py-prose p { margin: 0 0 1.1em; }
.py-prose ul, .py-prose ol { padding-left: 1.6em; margin: 0 0 1.1em; }
.py-prose .py-note { font-size: .88rem; color: var(--py-muted); }

/* ---------- 404 ---------- */
.py-404 { text-align: center; padding: 110px 20px 130px; }
.py-404 b { display: block; font-size: clamp(4.5rem, 12vw, 8rem); font-weight: 900; background: var(--py-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.py-404 p { color: var(--py-muted); margin: 14px 0 30px; font-size: 1.05rem; }

/* ---------- 返回顶部 ---------- */
#backTop {
    position: fixed; right: 22px; bottom: 26px; z-index: 1200; width: 46px; height: 46px;
    border: 0; border-radius: 14px; background: var(--py-grad); color: #211a04; font-size: 1.2rem; font-weight: 800;
    cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s ease;
    box-shadow: 0 10px 24px rgba(240, 169, 43, .35);
}
#backTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backTop:hover { transform: translateY(-3px); }

/* ---------- DIY 首屏（内页大视觉） ---------- */
.py-subhero { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: var(--py-grad-dark); }
.py-subhero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.py-subhero-mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 13, 34, .5), rgba(10, 13, 34, .85)); }
.py-subhero-c { position: relative; z-index: 2; padding: 70px 20px; max-width: 820px; }
.py-subhero-c h1 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: 14px; }
.py-subhero-c p { color: rgba(255, 255, 255, .78); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .py-nav a { padding: 8px 11px; font-size: .92rem; }
}
@media (max-width: 992px) {
    .py-layout { grid-template-columns: 1fr; }
    .py-side-col { position: static; }
    .py-news-grid { grid-template-columns: repeat(2, 1fr); }
    .py-review-grid { grid-template-columns: repeat(2, 1fr); }
    .py-imggrid { grid-template-columns: repeat(2, 1fr); }
    .py-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .py-about-row, .py-dept-row, .py-about-row.py-rev, .py-dept-row.py-rev { flex-direction: column; gap: 26px; }
    .py-about-img, .py-dept-img { flex: none; width: 100%; }
    .py-sec-band { flex-direction: column; gap: 34px; }
}
@media (max-width: 768px) {
    .py-header-inner { min-height: 64px; }
    .py-toggle { display: flex; }
    .py-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: var(--py-surface); box-shadow: var(--py-shadow-lg); padding: 12px 18px 18px;
    }
    #py-nav-state:checked ~ .py-header-inner .py-nav { display: flex; }
    .py-nav-cta { display: none; }
    .py-hero-content { padding: 70px 18px 110px; }
    .py-list { grid-template-columns: 1fr; }
    .py-news-grid { grid-template-columns: 1fr; }
    .py-review-grid { grid-template-columns: 1fr; }
    .py-imggrid { grid-template-columns: 1fr 1fr; }
    .py-article, .py-prose { padding: 26px 20px 30px; }
    .py-updown { grid-template-columns: 1fr; }
    .py-sec { padding: 60px 0; }
}
@media (max-width: 576px) {
    .py-imggrid { grid-template-columns: 1fr; }
    .py-footer-grid { grid-template-columns: 1fr; }
    .py-app-card { padding: 40px 22px; }
    .py-app-show { width: 200px; height: 270px; }
}
