/* ============================================================
   pk001 体育企业模板 style.css
   设计语言：深色导航 + 亮黄高亮 + 浅蓝渐变首屏 + 圆角卡片
   全站统一 pk- 前缀 class 与 --pk-* CSS 变量，纯自研，不依赖 Bootstrap
   ============================================================ */
:root {
    --pk-dark: #212529;
    --pk-darker: #14151c;
    --pk-navy: #1d3557;
    --pk-yellow: #ffc107;
    --pk-yellow-dark: #e0a800;
    --pk-blue: #417fff;
    --pk-blue-dark: #2f65d4;
    --pk-primary: #0d6efd;
    --pk-success: #198754;
    --pk-warning: #ffc107;
    --pk-info: #0dcaf0;
    --pk-danger: #dc3545;
    --pk-text: #212529;
    --pk-muted: #6c757d;
    --pk-bg-light: #f8f9fa;
    --pk-border: #dee2e6;
    --pk-radius: 12px;
    --pk-shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --pk-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px; line-height: 1.6; color: var(--pk-text);
    background: #fff; overflow-x: hidden;
}
a { color: var(--pk-primary); text-decoration: none; transition: color .3s; }
a:hover { color: var(--pk-blue-dark); }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--pk-text); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.text-muted { color: var(--pk-muted); }

/* ================= 顶部导航 ================= */
.pk-header {
    background: var(--pk-dark);
    position: sticky; top: 0; z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.pk-nav-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 68px; gap: 10px; }
.pk-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.pk-brand:hover { color: #fff; }
.pk-brand-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.pk-brand-text { font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.pk-header-actions { display: flex; align-items: center; gap: 12px; }
.pk-btn-register {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--pk-yellow); color: #212529; font-weight: 500; font-size: .9rem;
    padding: 7px 16px; border-radius: 8px; transition: .3s;
}
.pk-btn-register:hover { background: var(--pk-yellow-dark); color: #fff; box-shadow: 0 2px 6px rgba(255, 193, 7, .4); }
.pk-nav-state { display: none; }
.pk-main-nav { order: 3; width: 100%; max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.pk-nav-state:checked ~ .pk-main-nav { max-height: 520px; }
.pk-main-nav ul { display: flex; flex-direction: column; padding: 8px 0 14px; }
.pk-main-nav li { position: relative; }
.pk-main-nav > ul > li > a {
    display: block; color: #fff; margin: 2px 0; padding: 8px 12px;
    border-radius: 6px; font-size: .98rem; transition: .3s;
}
.pk-main-nav > ul > li > a:hover, .pk-main-nav > ul > li.active > a {
    color: var(--pk-yellow); background: rgba(255, 255, 255, .1);
}
.pk-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 38px; padding: 8px; background: transparent; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; cursor: pointer; }
.pk-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.pk-nav-state:checked ~ .pk-header-actions .pk-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pk-nav-state:checked ~ .pk-header-actions .pk-toggle span:nth-child(2) { opacity: 0; }
.pk-nav-state:checked ~ .pk-header-actions .pk-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 992px) {
    .pk-nav-bar { flex-wrap: nowrap; }
    .pk-main-nav { order: 2; width: auto; max-height: none; overflow: visible; }
    .pk-main-nav ul { flex-direction: row; align-items: center; padding: 0; }
    .pk-main-nav > ul > li { margin: 0 6px; }
    .pk-main-nav > ul > li > a { margin: 0; padding: 6px 10px; }
    .pk-toggle { display: none; }
}

/* ================= Hero ================= */
.pk-sec-hero { background: linear-gradient(to bottom, #e0efff, #fff); padding: 90px 0 70px; }
.pk-hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.pk-sec-hero h1 { font-size: 38px; color: #1a1a1a; margin-bottom: 14px; }
.pk-sec-hero h1 strong { color: var(--pk-navy); }
.pk-hero-slogan { font-weight: 600; color: var(--pk-muted); margin-bottom: 8px; letter-spacing: .5px; }
.pk-hero-desc { font-size: 16px; line-height: 1.7; color: #444; margin-bottom: 24px; }
.pk-btn-hero {
    display: inline-block; background: var(--pk-blue); color: #fff;
    padding: 12px 26px; font-weight: 700; border-radius: 10px; font-size: 16px; transition: .3s;
}
.pk-btn-hero:hover { background: var(--pk-blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(65, 127, 255, .35); }
.pk-hero-media { text-align: center; }
.pk-hero-media img { max-height: 400px; width: auto; border-radius: 16px; box-shadow: 0 16px 40px rgba(31, 63, 128, .18); }
@media (min-width: 768px) { .pk-hero-grid { grid-template-columns: 1fr 1fr; } .pk-hero-media { margin-top: 0; } }
@media (max-width: 767px) { .pk-sec-hero { padding: 56px 0 48px; } .pk-sec-hero h1 { font-size: 28px; } }

/* ================= 通用 section ================= */
section { padding: 64px 0; }
.pk-sec-head { text-align: center; margin-bottom: 40px; }
.pk-sec-head h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.pk-sec-head p { color: var(--pk-muted); max-width: 760px; margin: 0 auto; }

/* ================= 公司简介 about ================= */
.pk-sec-about { background: #fff; }
.pk-sec-about h2 { text-align: center; color: var(--pk-primary); margin-bottom: 26px; font-size: 28px; }
.pk-about-text { max-width: 900px; margin: 0 auto; }
.pk-about-text p { color: var(--pk-muted); margin-bottom: 14px; }
.pk-about-text strong { color: var(--pk-text); }
.pk-about-media { margin-top: 40px; }
.pk-about-media img { width: 100%; border-radius: 14px; box-shadow: var(--pk-shadow-sm); }

/* ================= 精彩瞬间 moments ================= */
.pk-sec-moments { background: linear-gradient(to bottom, #fff, #eef4ff); }
.pk-moment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.pk-moment-card { position: relative; border-radius: var(--pk-radius); overflow: hidden; box-shadow: var(--pk-shadow-sm); aspect-ratio: 3 / 2; }
.pk-moment-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pk-moment-card:hover img { transform: scale(1.06); }
.pk-moment-card figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
    color: #fff; font-size: .88rem; font-weight: 500;
}

/* ================= 数据快照 stats ================= */
.pk-sec-stats { background: var(--pk-bg-light); }
.pk-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; padding-top: 1rem; }
.pk-stats-item {
    display: flex; align-items: center; gap: 1.25rem;
    background: #fff; padding: 1.5rem; border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .05); transition: .3s;
}
.pk-stats-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.pk-stats-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: #f1f3f5; border-radius: 50%; font-size: 22px;
}
.pk-stats-icon.c-success { color: var(--pk-success); }
.pk-stats-icon.c-warning { color: var(--pk-warning); }
.pk-stats-icon.c-info { color: var(--pk-info); }
.pk-stats-icon.c-danger { color: var(--pk-danger); }
.pk-stats-data h5 { font-size: 1rem; margin-bottom: 2px; }
.pk-stats-data .pk-num { font-size: 1.5rem; font-weight: 700; line-height: 1.2; color: var(--pk-text); }
.pk-stats-data small { color: var(--pk-muted); }

/* ================= 安全流程 security ================= */
.pk-sec-security { background: linear-gradient(to bottom, #fdfdfd, #e6ecf3); }
.pk-security-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.pk-security-visual img { width: 100%; border: 6px solid #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }
.pk-sec-security h2 { font-size: 28px; font-weight: 700; margin-bottom: 22px; color: #212529; }
.pk-security-step {
    display: flex; align-items: flex-start; gap: 15px;
    background: #fff; padding: 15px 20px; border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05); transition: .3s; margin-bottom: 16px;
}
.pk-security-step:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 0, 0, .08); }
.pk-step-icon {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px;
}
.pk-step-icon.bg-primary { background: var(--pk-primary); }
.pk-step-icon.bg-success { background: var(--pk-success); }
.pk-step-icon.bg-warning { background: var(--pk-warning); color: #212529; }
.pk-step-icon.bg-danger { background: var(--pk-danger); }
.pk-security-step h5 { margin-bottom: 4px; font-size: 1.05rem; }
.pk-security-step p { font-size: .88rem; color: var(--pk-muted); margin: 0; }
@media (min-width: 768px) { .pk-security-grid { grid-template-columns: 1fr 1fr; } }

/* ================= 版本更新 update（原生 details/summary 手风琴，无 JS） ================= */
.pk-sec-update { background: linear-gradient(135deg, #1e3c72, #2a5298); }
.pk-sec-update h2 { color: #fff; text-align: center; margin-bottom: 10px; font-size: 28px; }
.pk-sec-update .pk-sec-sub { color: rgba(255, 255, 255, .85); text-align: center; margin-bottom: 34px; }
.pk-acc-item { background: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 1.2rem; box-shadow: 0 8px 20px rgba(0, 0, 0, .08); border: none; }
.pk-acc-item summary {
    list-style: none; cursor: pointer; padding: 1.15rem 1.5rem; font-weight: 600; color: var(--pk-navy); background: #f8f9fa;
    display: flex; align-items: center; gap: 8px; transition: .3s; position: relative;
}
.pk-acc-item summary::-webkit-details-marker { display: none; }
.pk-acc-item summary:hover { background: #eef2f7; }
.pk-acc-item summary::after {
    content: "+"; position: absolute; right: 1.5rem; font-size: 20px; color: var(--pk-primary); transition: .3s;
}
.pk-acc-item[open] summary { background: #e3f2fd; color: var(--pk-primary); }
.pk-acc-item[open] summary::after { content: "-"; }
.pk-acc-body { padding: 1rem 1.5rem 1.2rem; font-size: .95rem; color: #333; background: #fff; }
.pk-acc-body li { line-height: 1.7; margin-bottom: .4rem; padding-left: 1.2rem; position: relative; }
.pk-acc-body li::before { content: "•"; color: var(--pk-primary); position: absolute; left: 0; }

/* ================= 品牌使命 mission ================= */
.pk-sec-mission { background: linear-gradient(to right, #111827, #1f2937); position: relative; overflow: hidden; }
.pk-mission-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.pk-mission-media img { width: 100%; border-radius: 14px; box-shadow: 0 14px 36px rgba(0, 0, 0, .35); }
.pk-sec-mission h2 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.pk-sec-mission h2 .pk-flag { color: var(--pk-yellow); margin-right: 8px; }
.pk-sec-mission p { font-size: 1rem; color: #ccc; line-height: 1.8; margin-bottom: 16px; }
.pk-mission-list li { margin-bottom: 1rem; font-size: 1rem; color: #ddd; display: flex; align-items: flex-start; line-height: 1.6; }
.pk-mission-list .pk-mi { font-size: 1.1rem; min-width: 26px; color: var(--pk-info); }
.pk-mission-list strong { color: #fff; }
@media (min-width: 992px) { .pk-mission-grid { grid-template-columns: 1fr 1fr; } }

/* ================= 推荐热讯 news ================= */
.pk-sec-news { background: var(--pk-bg-light); }
.pk-news-wrapper { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.pk-news-card {
    display: flex; flex-direction: column;
    background: #fff; min-height: 160px;
    border: 1px solid var(--pk-border); border-radius: 18px; overflow: hidden;
    box-shadow: var(--pk-shadow-sm); transition: transform .3s, box-shadow .3s;
}
.pk-news-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.pk-news-img-wrap { width: 100%; height: 200px; overflow: hidden; flex-shrink: 0; background: #e9ecef; }
.pk-news-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pk-news-card:hover .pk-news-img-wrap img { transform: scale(1.05); }
.pk-news-body { padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; }
.pk-news-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pk-news-body h3 a { color: #212529; }
.pk-news-body h3 a:hover { color: var(--pk-primary); }
.pk-news-excerpt { font-size: .85rem; color: var(--pk-muted); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pk-news-foot { display: flex; justify-content: space-between; align-items: center; }
.pk-news-foot time { font-size: .82rem; color: var(--pk-muted); }
.pk-news-more { font-size: .85rem; font-weight: 600; color: var(--pk-primary); }
.pk-news-more::after { content: " ›"; }
.pk-news-empty { text-align: center; padding: 40px 20px; color: var(--pk-muted); background: #fff; border: 1px dashed var(--pk-border); border-radius: 18px; }
.pk-news-empty img { width: 160px; border-radius: 12px; margin-bottom: 14px; opacity: .8; }
@media (min-width: 768px) {
    .pk-news-card { flex-direction: row; }
    .pk-news-img-wrap { width: 240px; min-height: 160px; max-height: 180px; height: auto; }
}

/* ================= 页脚 footer ================= */
.pk-site-footer {
    background: linear-gradient(rgba(0, 0, 0, .88), rgba(0, 0, 0, .88)), var(--pk-darker);
    color: #f8f9fa; padding: 56px 0 16px;
}
.pk-footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding-bottom: 26px; border-bottom: 1px solid #495057; }
.pk-site-footer h6 { color: #fff; text-transform: uppercase; font-size: .98rem; margin-bottom: 16px; letter-spacing: .5px; }
.pk-site-footer h6 .pk-fi { margin-right: 6px; }
.pk-site-footer .pk-flist { font-size: .88rem; }
.pk-site-footer .pk-flist li { margin-bottom: 10px; color: rgba(255, 255, 255, .5); }
.pk-site-footer .pk-flist a { color: rgba(255, 255, 255, .5); }
.pk-site-footer .pk-flist a:hover { color: var(--pk-yellow); }
.pk-footer-brand-col { text-align: left; }
.pk-footer-brand-col img { height: 48px; border-radius: 10px; margin-bottom: 12px; }
.pk-footer-brand-col p { font-size: .82rem; color: rgba(255, 255, 255, .5); margin-bottom: 6px; line-height: 1.8; }
.pk-footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px;
    padding-top: 20px; font-size: .82rem; color: rgba(255, 255, 255, .5);
}
.pk-footer-bottom a { color: rgba(255, 255, 255, .5); }
.pk-footer-bottom a:hover { color: var(--pk-yellow); }
@media (min-width: 768px) {
    .pk-footer-grid { grid-template-columns: repeat(3, 1fr); }
    .pk-footer-brand-col { text-align: right; }
}

/* ================= 面包屑 ================= */
.pk-breadcrumb-nav { padding: 16px 0 4px; font-size: .9rem; color: var(--pk-muted); }
.pk-breadcrumb-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pk-breadcrumb-nav li { display: flex; align-items: center; gap: 6px; }
.pk-crumb-item { display: flex; align-items: center; gap: 6px; }
.pk-breadcrumb-nav li + li::before { content: "/"; color: #ced4da; }
.pk-breadcrumb-nav a { color: var(--pk-muted); }
.pk-breadcrumb-nav a:hover { color: var(--pk-primary); text-decoration: underline; }

/* ================= 内页页头 pagehead ================= */
.pk-pagehead { background: linear-gradient(to bottom, #e0efff, #fff); padding: 36px 0 8px; }
.pk-pagehead h1 { font-size: 26px; margin: 6px 0 4px; }
.pk-pagehead p { color: var(--pk-muted); margin: 0; }

/* ================= 列表页 list ================= */
.pk-sec-list { background: #fff; padding: 40px 0 64px; }
.pk-nav-scroll { display: flex; overflow-x: auto; gap: 10px; margin-bottom: 24px; -ms-overflow-style: none; scrollbar-width: none; padding-bottom: 4px; }
.pk-nav-scroll::-webkit-scrollbar { display: none; }
.pk-nav-scroll a {
    flex-shrink: 0; display: inline-block; padding: 6px 16px; border-radius: 999px;
    font-size: .88rem; text-decoration: none; border: 1px solid var(--pk-border);
    background: #fff; color: #212529; transition: .3s;
}
.pk-nav-scroll a:hover, .pk-nav-scroll a.on { background: var(--pk-dark); border-color: var(--pk-dark); color: var(--pk-yellow); }
.pk-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.pk-list-card {
    display: block; background: var(--pk-bg-light); border: 1px solid var(--pk-border);
    border-radius: 12px; overflow: hidden; height: 100%;
    box-shadow: var(--pk-shadow-sm); transition: .3s; color: var(--pk-text);
}
.pk-list-card:hover { transform: translateY(-4px); box-shadow: 0 0 12px rgba(0, 0, 0, .1); }
.pk-list-card .pk-thumb { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; background: #e9ecef; }
.pk-list-card .pk-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pk-list-card:hover .pk-thumb img { transform: scale(1.05); }
.pk-list-card .pk-info { padding: 14px 16px 16px; }
.pk-list-card h3 { font-size: 1rem; line-height: 1.45; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pk-list-card .pk-meta { font-size: .8rem; color: var(--pk-muted); display: flex; gap: 14px; }

/* 纵向列表（block/article-list） */
.pk-list-rows { display: grid; gap: 18px; }
.pk-list-row {
    display: flex; gap: 18px; background: var(--pk-bg-light); border: 1px solid var(--pk-border);
    border-radius: 14px; overflow: hidden; transition: .3s;
}
.pk-list-row:hover { transform: translateY(-3px); box-shadow: var(--pk-shadow); }
.pk-list-row .pk-thumb { width: 220px; flex-shrink: 0; position: relative; min-height: 150px; background: #e9ecef; }
.pk-list-row .pk-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pk-list-row .pk-info { padding: 16px 18px 16px 0; display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; }
.pk-list-row h4 { font-size: 1.02rem; }
.pk-list-row h4 a { color: var(--pk-text); }
.pk-list-row h4 a:hover { color: var(--pk-primary); }
.pk-list-row .pk-desc { font-size: .85rem; color: var(--pk-muted); margin: 8px 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pk-list-row .pk-meta { font-size: .8rem; color: var(--pk-muted); display: flex; gap: 14px; }
@media (max-width: 576px) { .pk-list-row { flex-direction: column; } .pk-list-row .pk-thumb { width: 100%; padding-top: 56.25%; } .pk-list-row .pk-info { padding: 14px 16px 16px; } }

/* ================= 两栏布局 ================= */
.pk-layout { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; padding: 26px 0 60px; }
@media (min-width: 992px) { .pk-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.pk-main-col { min-width: 0; }
.pk-side-col { display: none; }
@media (min-width: 992px) { .pk-side-col { display: block; } }

/* ================= 文章详情 articleDetail ================= */
.pk-sec-article { background: var(--pk-bg-light); padding: 40px 0 64px; }
.pk-article-topbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: .88rem; color: var(--pk-muted); }
.pk-article-topbar a { color: var(--pk-muted); }
.pk-article-topbar a:hover { color: var(--pk-primary); text-decoration: underline; }
.pk-article-layout { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.pk-article-head-card { background: #fff; padding: 26px; border-radius: 12px; box-shadow: var(--pk-shadow-sm); }
.pk-article-head-card h1 { font-size: 1.3rem; line-height: 1.45; word-break: break-all; }
.pk-article-head-card .pk-detail-meta { margin-top: 14px; font-size: .82rem; color: var(--pk-muted); display: flex; flex-direction: column; gap: 6px; }
.pk-article-body-card { background: #fff; padding: 30px 34px; border-radius: 12px; box-shadow: var(--pk-shadow-sm); }
.pk-article-body { line-height: 1.9; font-size: 16px; color: #333; word-break: break-word; }
.pk-article-body p { margin-bottom: 1rem; }
.pk-article-body h2, .pk-article-body h3, .pk-article-body h4 { margin: 1.5rem 0 1rem; }
.pk-article-body img { max-width: 100%; height: auto; margin: 1.5rem 0; border-radius: .75rem; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.pk-article-body blockquote { background: #f8f9fa; padding: .8rem 1.2rem; color: #555; margin: 1.5rem 0; border-left: 4px solid var(--pk-primary); border-radius: 0 8px 8px 0; }
.pk-article-body ul, .pk-article-body ol { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.pk-article-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.pk-article-body table th, .pk-article-body table td { border: 1px solid var(--pk-border); padding: 8px 12px; }
.pk-page-code { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 24px 0 8px; font-size: .9rem; }
.pk-page-code a, .pk-page-code span { display: inline-block; padding: 6px 12px; border: 1px solid var(--pk-border); border-radius: 8px; color: var(--pk-text); }
.pk-page-code .current, .pk-page-code a:hover { background: var(--pk-dark); border-color: var(--pk-dark); color: var(--pk-yellow); }
.pk-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pk-detail-tags a { background: #eef2f7; color: #495057; font-size: .8rem; padding: 4px 12px; border-radius: 999px; transition: .3s; }
.pk-detail-tags a:hover { background: var(--pk-primary); color: #fff; }
.pk-article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.pk-article-nav .pk-nav-cell { background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: var(--pk-shadow-sm); font-size: .9rem; }
.pk-article-nav .pk-nav-cell.pk-next { text-align: right; }
.pk-article-nav .pk-nav-cell p { color: var(--pk-muted); font-size: .8rem; margin-bottom: 4px; }
.pk-article-nav .pk-nav-cell a { color: var(--pk-text); }
.pk-article-nav .pk-nav-cell a:hover { color: var(--pk-primary); }
@media (max-width: 767px) { .pk-article-nav { grid-template-columns: 1fr; } }
@media (min-width: 992px) { .pk-article-layout { grid-template-columns: 1fr 2fr; } }
.pk-related-section { margin-top: 26px; background: #fff; border-radius: 12px; padding: 24px 26px; box-shadow: var(--pk-shadow-sm); }
.pk-related-section h3 { font-size: 1.1rem; margin-bottom: 16px; }
.pk-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.pk-related-card .pk-thumb { display: block; border-radius: 10px; overflow: hidden; padding-top: 56.25%; position: relative; background: #e9ecef; }
.pk-related-card .pk-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.pk-related-card:hover .pk-thumb img { transform: scale(1.05); }
.pk-related-card h4 { font-size: .9rem; margin: 10px 0 4px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pk-related-card h4 a { color: var(--pk-text); }
.pk-related-card h4 a:hover { color: var(--pk-primary); }
.pk-related-card .pk-date { font-size: .78rem; color: var(--pk-muted); }

/* ================= 侧边栏 widget ================= */
.pk-widget { background: #fff; border-radius: 12px; box-shadow: var(--pk-shadow-sm); margin-bottom: 22px; overflow: hidden; }
.pk-widget-title { font-size: 1.05rem; font-weight: 700; padding: 16px 20px; border-bottom: 1px solid var(--pk-border); position: relative; }
.pk-widget-title::before { content: ""; display: inline-block; width: 4px; height: 16px; background: var(--pk-yellow); border-radius: 2px; margin-right: 10px; vertical-align: -2px; }
.pk-widget-body { padding: 16px 20px; }
.pk-hot-list li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #eee; }
.pk-hot-list li:last-child { border-bottom: 0; }
.pk-hot-num {
    width: 24px; height: 24px; flex-shrink: 0; border-radius: 6px; margin-top: 2px;
    display: flex; align-items: center; justify-content: center;
    background: #eef2f7; color: var(--pk-muted); font-size: .8rem; font-weight: 700;
}
.pk-hot-list li:nth-child(1) .pk-hot-num { background: var(--pk-danger); color: #fff; }
.pk-hot-list li:nth-child(2) .pk-hot-num { background: #fd7e14; color: #fff; }
.pk-hot-list li:nth-child(3) .pk-hot-num { background: var(--pk-warning); color: #212529; }
.pk-hot-main a { color: var(--pk-text); font-size: .92rem; display: block; line-height: 1.45; }
.pk-hot-main a:hover { color: var(--pk-primary); }
.pk-item-date { font-size: .78rem; color: var(--pk-muted); margin-top: 3px; }
.pk-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-tag-cloud a { background: #f1f3f5; color: #495057; font-size: .82rem; padding: 5px 14px; border-radius: 999px; transition: .3s; }
.pk-tag-cloud a:hover { background: var(--pk-primary); color: #fff; }

/* ================= 单页 articlePage ================= */
.pk-page-single { background: #fff; border-radius: 14px; box-shadow: var(--pk-shadow-sm); padding: 34px 36px 44px; margin: 24px 0 60px; }
.pk-page-single-head { text-align: center; margin-bottom: 26px; }
.pk-page-single-head h1 { font-size: 1.6rem; }
.pk-page-single-line { display: block; width: 56px; height: 4px; background: var(--pk-yellow); border-radius: 2px; margin: 14px auto 0; }
.pk-page-single .pk-article-body { max-width: 860px; margin: 0 auto; }

/* ================= 图集页 articleImg ================= */
.pk-img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.pk-img-card { display: block; background: #fff; border: 1px solid var(--pk-border); border-radius: 12px; overflow: hidden; box-shadow: var(--pk-shadow-sm); transition: .3s; }
.pk-img-card:hover { transform: translateY(-4px); box-shadow: var(--pk-shadow); }
.pk-img-card .pk-thumb { position: relative; padding-top: 66%; overflow: hidden; background: #e9ecef; }
.pk-img-card .pk-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pk-img-card:hover .pk-thumb img { transform: scale(1.05); }
.pk-img-card figcaption { padding: 12px 14px; font-size: .92rem; color: var(--pk-text); }

/* ================= 分页 ================= */
.pk-pagination-wrap { margin-top: 28px; }
.pk-pagination-wrap .pagination, .pk-pagination-wrap ul.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pk-pagination-wrap .page-item .page-link, .pk-pagination-wrap a, .pk-pagination-wrap span {
    display: block; padding: 8px 14px; font-size: 14px; border-radius: 10px;
    border: 1px solid var(--pk-border); color: #475569; background: #fff; transition: .3s;
}
.pk-pagination-wrap a:hover { border-color: var(--pk-blue); color: var(--pk-blue); }
.pk-pagination-wrap .page-item.active .page-link, .pk-pagination-wrap .active {
    background: var(--pk-dark); border-color: var(--pk-dark); color: var(--pk-yellow);
}
.pk-pagination-wrap .page-item.disabled .page-link { color: #adb5bd; pointer-events: none; }

/* ================= 搜索 / so ================= */
.pk-search-section { padding: 44px 0 10px; text-align: center; }
.pk-search-section h1 { font-size: 1.4rem; margin-bottom: 18px; }
.pk-search-form { display: flex; max-width: 560px; margin: 0 auto 20px; }
.pk-search-form input[type="text"] {
    flex-grow: 1; border: 1px solid var(--pk-border); border-right: 0; border-radius: 10px 0 0 10px;
    padding: 12px 16px; font-size: 15px; outline: none;
}
.pk-search-form input[type="text"]:focus { border-color: var(--pk-blue); }
.pk-search-form input[type="submit"] {
    border: 0; border-radius: 0 10px 10px 0; background: var(--pk-dark); color: var(--pk-yellow);
    font-weight: 700; padding: 12px 26px; cursor: pointer;
}
.pk-empty-tip { padding: 56px 0; text-align: center; color: var(--pk-muted); }
.pk-empty-emoji { font-size: 44px; margin-bottom: 12px; }

/* ================= 标签页头 ================= */
.pk-tag-header { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 12px; box-shadow: var(--pk-shadow-sm); padding: 22px 26px; margin-bottom: 22px; }
.pk-tag-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; background: var(--pk-dark); color: var(--pk-yellow); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 900; }
.pk-tag-info h1 { font-size: 1.25rem; }
.pk-tag-info p { color: var(--pk-muted); font-size: .88rem; margin: 0; }

/* ================= 回到顶部 ================= */
#pkBackTop {
    position: fixed; right: 18px; bottom: 26px; z-index: 1040;
    width: 44px; height: 44px; border: 0; border-radius: 12px; cursor: pointer;
    background: var(--pk-dark); color: var(--pk-yellow); font-size: 18px; font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25); display: none; align-items: center; justify-content: center;
    transition: .3s;
}
#pkBackTop.show { display: inline-flex; }
#pkBackTop:hover { transform: translateY(-3px); }

/* ================= 自定义页 diy ================= */
.pk-diy-page { background: #fff; border-radius: 14px; box-shadow: var(--pk-shadow-sm); padding: 34px 36px; margin: 24px 0 60px; }
.pk-diy-page h1 { font-size: 1.5rem; margin-bottom: 18px; }
.pk-diy-page h2 { font-size: 1.2rem; margin: 26px 0 12px; }
.pk-diy-page p { color: #444; margin-bottom: 14px; line-height: 1.8; }
.pk-diy-page ul { padding-left: 1.2rem; margin-bottom: 14px; }
.pk-diy-page ul li { list-style: disc; margin-bottom: 6px; color: #555; }
.pk-diy-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 26px; }
@media (min-width: 768px) { .pk-diy-grid { grid-template-columns: 1fr 1fr; } }
.pk-diy-card { background: var(--pk-bg-light); border: 1px solid var(--pk-border); border-radius: 12px; padding: 20px 22px; }
.pk-diy-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pk-diy-card p { font-size: .92rem; color: var(--pk-muted); margin: 0; }
.pk-contact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .95rem; color: #444; }
.pk-contact-list .pk-ci { color: var(--pk-primary); }
.pk-app-hero { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
@media (min-width: 768px) { .pk-app-hero { grid-template-columns: 1.2fr 1fr; } }
.pk-app-hero-media img { width: 100%; max-width: 320px; max-height: 400px; object-fit: cover; border-radius: 18px; box-shadow: var(--pk-shadow); margin: 0 auto; display: block; }
.pk-btn-primary {
    display: inline-block; background: var(--pk-blue); color: #fff;
    padding: 12px 26px; font-weight: 700; border-radius: 10px; font-size: 16px; transition: .3s;
}
.pk-btn-primary:hover { background: var(--pk-blue-dark); color: #fff; }
.pk-btn-outline {
    display: inline-block; background: transparent; color: var(--pk-text);
    border: 1px solid var(--pk-border); padding: 12px 26px; font-weight: 700; border-radius: 10px; font-size: 16px; transition: .3s; margin-left: 10px;
}
.pk-btn-outline:hover { border-color: var(--pk-blue); color: var(--pk-blue); }

/* ================= 404 ================= */
.pk-404 { text-align: center; padding: 80px 0 100px; }
.pk-404 b { display: block; font-size: 96px; line-height: 1; color: var(--pk-border); margin-bottom: 16px; }
.pk-404 p { color: var(--pk-muted); margin-bottom: 24px; }

/* ================= 杂项 ================= */
::selection { background: var(--pk-yellow); color: #212529; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; }
