/* Qeike 主题：WordPress 区块结构的补充样式（在 style.css 之后加载） */
html:not(.js) .reveal { opacity: 1; transform: none; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
.qk-pt0 { padding-top: 0 !important; }
.hero h1 strong { font-weight: inherit; display: inline-block; background: linear-gradient(90deg, #8FB0FF, #4F7CFF 55%, #A98BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .wp-block-buttons, .cta .wp-block-buttons { justify-content: center; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button__link.btn { text-decoration: none; word-break: normal; }
.download-meta > p { margin: 0; }
.qk-hero-badge { margin: 0; }
.review p strong { color: var(--c-title); font-weight: 600; }
.why-card__body p.qk-more { flex: none; }
.plugin-col .wp-block-buttons { margin-top: 4px; }
.plugin-card .dl { margin: 0; }
/* Logo（站点图标 + 站点标题） */
.logo .wp-block-site-logo { line-height: 0; }
.logo .wp-block-site-logo img, .logo .custom-logo { width: 32px !important; height: 32px !important; }
.logo .wp-block-site-title { margin: 0; font: inherit; letter-spacing: inherit; }
.logo .wp-block-site-title a, .logo a { color: inherit; text-decoration: none; }
.nav__links p { margin: 0; }
.nav__cta .wp-block-button__link { padding: 10px 18px; font-size: 15px; }
.footer .wp-block-heading { font-size: 15px; margin-bottom: 16px; }
.footer__brand .logo { color: var(--c-title); }
.footer__bottom p { margin: 0; }
/* 非首页：导航始终为浅色 */
.qk-subpage .nav { background: rgba(255,255,255,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(17,24,39,.08); }
.qk-subpage .nav .logo { color: var(--c-title); }
.qk-subpage .nav .nav__links a { color: var(--c-text); }
.qk-subpage .nav .nav__toggle { background: #F2F4F9; color: var(--c-title); }
.qk-page { padding: 140px 0 96px; }
.qk-page .wp-block-post-title { margin-bottom: 32px; }
.qk-page .wp-block-post-content > * + * { margin-top: 1em; }
/* 子页面正文排版 */
.qk-page .container { max-width: 880px; }
.qk-page .wp-block-post-title { font-size: clamp(32px, 4vw, 44px); line-height: 1.2; color: var(--c-title); font-weight: 800; letter-spacing: -.01em; }
.qk-page .wp-block-post-content { color: var(--c-text); font-size: 16px; line-height: 1.8; }
.qk-page .wp-block-post-content h2 { font-size: 26px; line-height: 1.3; color: var(--c-title); margin-top: 48px; scroll-margin-top: 96px; }
.qk-page .wp-block-post-content h3 { font-size: 19px; line-height: 1.4; color: var(--c-title); margin-top: 28px; scroll-margin-top: 96px; }
.qk-page .wp-block-post-content h2 + *, .qk-page .wp-block-post-content h3 + * { margin-top: 10px; }
.qk-page .wp-block-post-content a:not(.wp-block-button__link):not(.btn) { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.qk-page .wp-block-post-content ul.wp-block-list { list-style: disc; padding-left: 1.4em; }
.qk-page .wp-block-post-content ol.wp-block-list { list-style: decimal; padding-left: 1.4em; }
.qk-page .wp-block-post-content li + li { margin-top: 6px; }
.qk-page .wp-block-post-content li::marker { color: var(--c-primary); }
.qk-page .qk-lead { font-size: 19px; line-height: 1.7; color: var(--c-title); }
.qk-page .qk-meta { font-size: 14px; color: var(--c-muted); }
.qk-page .qk-box { padding: 28px 32px; }
.qk-page .qk-box > * + * { margin-top: 12px; }
.qk-page .qk-toc ul.wp-block-list { columns: 2; column-gap: 32px; }
.qk-page .qk-toc h3 { margin-top: 0; }
.qk-page .qk-dl-card { text-align: center; padding: 48px 32px; background: linear-gradient(180deg, #fff, #F6F8FF); }
.qk-page .qk-dl-card h2 { margin-top: 0; font-size: 30px; }
.qk-page .qk-dl-card .wp-block-buttons { justify-content: center; margin-top: 24px; }
.qk-page .qk-dl-card .download-meta { justify-content: center; }
.qk-page .qk-faq { padding: 22px 28px; margin-top: 16px; }
.qk-page .qk-faq h3 { margin-top: 0; font-size: 17px; }
.qk-page .qk-faq p { margin-top: 6px; }
.qk-page .plugin-cards { margin-top: 20px; }
.qk-page .plugin-cards h3 { margin-top: 12px; }
/* 联系表单 */
.qk-form { padding: 28px 32px; display: grid; gap: 18px; margin-top: 16px; }
.qk-form__row { display: grid; gap: 6px; }
.qk-form label { font-size: 14px; font-weight: 600; color: var(--c-title); }
.qk-form label span { color: #E5484D; }
.qk-form input, .qk-form textarea { font: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid #DDE1EA; border-radius: 10px; background: #fff; color: var(--c-title); width: 100%; box-sizing: border-box; }
.qk-form input:focus, .qk-form textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(79,124,255,.18); }
.qk-form button { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.qk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qk-form-msg { padding: 12px 16px; border-radius: 10px; font-size: 15px; }
.qk-form-msg--ok { background: #E8F7EE; color: #17663A; }
.qk-form-msg--err { background: #FDECEC; color: #B42318; }
/* 页脚社区链接 */
.footer .qk-social { display: grid; gap: 12px; }
.footer .social { display: inline-flex; align-items: center; gap: 8px; }
.footer .si { width: 16px; height: 16px; fill: currentColor; flex: none; }
@media (max-width: 640px) {
  .qk-page { padding: 112px 0 72px; }
  .qk-page .qk-toc ul.wp-block-list { columns: 1; }
  .qk-page .qk-box, .qk-form { padding: 22px 20px; }
  .qk-page .qk-dl-card { padding: 36px 20px; }
}
/* 1.0.3：实用工具 6 宫格、8 张画布卡片、居中按钮 */
.qk-tools-grid { grid-template-columns: repeat(3, 1fr); }
.qk-center { display: flex; justify-content: center; margin-top: 40px; }
.browse-cards.qk-cards-8, .browse-cards.qk-cards-10, .browse-cards.qk-cards-12 { margin-top: 40px; position: relative; z-index: 1; }
.browse-cards.qk-cards-10 { grid-template-columns: repeat(5, 1fr); }
.browse-cards.qk-cards-12 { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
@media (max-width: 1180px) { .browse-cards.qk-cards-12 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .browse-cards.qk-cards-12 { grid-template-columns: repeat(2, 1fr); margin-top: 28px; } }
@media (max-width: 1180px) { .browse-cards.qk-cards-10 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .browse-cards.qk-cards-10 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1023px) { .qk-tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .qk-tools-grid { grid-template-columns: 1fr; } .qk-center { margin-top: 28px; } }
/* 免费领取卡密 */
/* ---------- 免费领取卡密 ---------- */
.qk-keys-sec { padding-top: 96px; padding-bottom: 24px; }
.qk-keys { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; padding: 60px 64px; border-radius: var(--r-card, 20px); background: #0F1222; color: #C7CBE0; box-shadow: 0 30px 80px rgba(15,18,34,.18); }
.qk-keys::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px 320px at 8% 0%, rgba(79,124,255,.32), transparent 70%), radial-gradient(420px 300px at 100% 100%, rgba(255,138,61,.20), transparent 70%); }
.qk-keys::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.qk-keys__eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #C9D6FF; background: rgba(79,124,255,.16); box-shadow: inset 0 0 0 1px rgba(79,124,255,.35); }
.qk-keys__eyebrow .i { width: 16px; height: 16px; }
.qk-keys .qk-keys__title, .qk-page .wp-block-post-content .qk-keys__title { margin: 20px 0 14px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.qk-keys .qk-keys__sub { margin: 0; max-width: 34em; font-size: 17px; line-height: 1.75; color: #C7CBE0; }
.qk-keys__points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.qk-keys__points li::before, .qk-keys__points li::marker { content: none; display: none; }
.qk-keys .qk-keys__points li, .qk-page .wp-block-post-content .qk-keys__points li { padding: 0; display: flex; align-items: center; gap: 14px; margin: 0; font-size: 16px; font-weight: 500; color: #fff; }
.qk-keys__pi { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: #8FB0FF; }
.qk-keys__pi .i { width: 20px; height: 20px; }
.qk-keys__points li:nth-child(2) .qk-keys__pi { color: #FFB27A; }
.qk-keys__points li:nth-child(3) .qk-keys__pi { color: #6EE7B7; }
.qk-keys__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; font-size: 15px; font-weight: 600; color: #8FB0FF; text-decoration: none; }
.qk-keys__more:hover { color: #fff; }
.qk-keys__more .i { width: 16px; height: 16px; transition: transform .2s; }
.qk-keys__more:hover .i { transform: translateX(3px); }
/* 票券面板 */
.qk-ticket { --notch: 12px; position: relative; background: #fff; color: var(--c-text, #4B5563); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.qk-ticket__top { display: flex; align-items: center; gap: 24px; padding: 28px 28px 24px; }
.qk-ticket__cut { position: relative; height: 0; margin: 0 22px; border-top: 2px dashed #E3E6EF; }
.qk-ticket__cut::before, .qk-ticket__cut::after { content: ""; position: absolute; top: calc(-1 * var(--notch) - 1px); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2); border-radius: 50%; background: #0F1222; }
.qk-ticket__cut::before { left: calc(-22px - var(--notch)); }
.qk-ticket__cut::after { right: calc(-22px - var(--notch)); }
.qk-ticket__bottom { padding: 24px 28px 28px; }
.qk-ring { --p: 0; position: relative; flex: none; width: 112px; height: 112px; }
.qk-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.qk-ring circle { fill: none; stroke-width: 10; }
.qk-ring__bg { stroke: #EEF1F8; }
.qk-ring__fg { stroke: #4F7CFF; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p)); transition: stroke-dashoffset .8s cubic-bezier(.2,.7,.2,1); }
.qk-ring__txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-variant-numeric: tabular-nums; }
.qk-ring__txt p { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.qk-ring__txt > span { max-width: 84%; text-align: center; line-height: 1.2; font-size: 12px; font-weight: 600; color: var(--c-muted, #9CA3AF); }
.qk-ring__txt b { font-size: 25px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--c-title, #111827); }
.qk-ring__txt small { font-size: 12px; line-height: 1; font-weight: 600; color: var(--c-muted, #9CA3AF); }
.qk-ticket__stat { flex: 1; min-width: 0; }
.qk-ticket__label { margin: 0; font-size: 13px; font-weight: 600; color: var(--c-muted, #9CA3AF); letter-spacing: .02em; }
.qk-ticket__state + .qk-ticket__label--cd { margin-top: 10px; }
.qk-ticket__state { margin: 0; font-size: 18px; font-weight: 800; color: var(--c-title, #111827); }
.qk-cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.qk-cd > div { display: grid; justify-items: center; gap: 2px; padding: 8px 0 6px; border-radius: 10px; background: #F4F6FB; }
.qk-cd b { font: 800 20px/1.1 "Inter", ui-monospace, monospace; font-variant-numeric: tabular-nums; color: var(--c-title, #111827); }
.qk-cd span { font-size: 11px; color: var(--c-muted, #9CA3AF); }
/* 表单 */
.qk-keys__form { display: grid; gap: 16px; margin: 0; }
.qk-field { display: grid; gap: 8px; margin: 0; }
.qk-field__label { font-size: 14px; font-weight: 600; color: var(--c-title, #111827); }
.qk-field input { box-sizing: border-box; width: 100%; height: 48px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--c-title, #111827); background: #F8F9FC; border: 1px solid #DDE1EA; border-radius: 12px; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.qk-field input::placeholder { color: #A8AEBD; }
.qk-field input:hover { border-color: #C9CFDC; }
.qk-field input:focus { outline: none; background: #fff; border-color: #4F7CFF; box-shadow: 0 0 0 4px rgba(79,124,255,.18); }
.qk-field input:disabled { opacity: .6; }
.qk-keys__btn { width: 100%; height: 52px; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-size: 16px; font-weight: 700; border-radius: 12px; }
.qk-keys__btn .i { width: 18px; height: 18px; }
.qk-keys__btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.qk-keys.is-busy .qk-keys__btn { opacity: .7; cursor: progress; }
.qk-keys__msg { margin: 12px 0 0; font-size: 14px; line-height: 1.6; }
.qk-keys__msg:empty { display: none; }
.qk-keys__msg.is-err { color: #B42318; }
/* 已领完 / 暂无 */
.qk-keys__out { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px; background: #F4F6FB; }
.qk-keys__out[hidden], .qk-keys__result[hidden], .qk-keys__form[hidden], .qk-ticket__state[hidden] { display: none; }
.qk-keys__out-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: #9CA3AF; }
.qk-keys__out-ico .i { width: 20px; height: 20px; }
.qk-keys__out b { display: block; font-size: 16px; color: var(--c-title, #111827); }
.qk-keys__out span { display: block; font-size: 14px; color: var(--c-text, #4B5563); margin-top: 2px; }
.qk-keys.is-out .qk-ring__fg, .qk-keys.is-empty .qk-ring__fg { stroke: #C5CAD6; }
.qk-keys.is-out .qk-ring__txt b, .qk-keys.is-empty .qk-ring__txt b { color: #9CA3AF; }
.qk-keys.is-out .qk-cd > div { background: #EEF2FF; }
.qk-keys.is-out .qk-cd b { color: #3A63E0; }
/* 已领取 */
.qk-keys__rlabel { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; font-weight: 700; color: #067647; }
.qk-keys__rlabel .i { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #DCFAE6; }
.qk-keys__code { display: flex; align-items: stretch; gap: 0; border: 2px dashed #9DB5FF; border-radius: 14px; background: #F3F6FF; overflow: hidden; }
.qk-keys__code code { flex: 1; min-width: 0; display: flex; align-items: center; padding: 14px 16px; font: 700 19px/1.3 ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace; letter-spacing: .06em; color: #1E2A5A; background: none; word-break: break-all; }
.qk-keys__copy { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; border: 0; border-left: 2px dashed #9DB5FF; background: #E6EDFF; color: #3A63E0; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .15s; }
.qk-keys__copy:hover { background: #D8E2FF; }
.qk-keys__copy.is-done { color: #067647; background: #DCFAE6; }
.qk-keys__copy .i { width: 16px; height: 16px; }
.qk-keys__meta { margin: 12px 0 0; font-size: 14px; color: var(--c-text, #4B5563); }
.qk-keys__rule { margin: 0 0 16px; font-size: 14px; line-height: 1.65; color: var(--c-text, #4B5563); }
.qk-keys__rule b { color: var(--c-title, #111827); }
.qk-keys__warn { display: flex; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #FFF6E5; color: #8A4B00; font-size: 13.5px; line-height: 1.6; font-weight: 600; }
.qk-keys__warn::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: #F59E0B; color: #fff; font-size: 12px; font-weight: 800; }
.qk-toast { position: fixed; left: 50%; bottom: 32px; z-index: 9999; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 20px; white-space: nowrap; border-radius: 12px; background: #111827; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: opacity .2s, transform .2s; }
.qk-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
/* 独立页面：卡片比正文更宽 */
.qk-page .qk-keys { margin: 32px calc(50% - min(560px, 50vw - 24px)); }
.hero .showcase::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 3; pointer-events: none; background: linear-gradient(rgba(255,255,255,0), #fff 92%); }
@media (max-width: 1080px) { .qk-keys { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 40px; padding: 48px; } }
@media (max-width: 860px) {
  .qk-keys-sec { padding-top: 64px; }
  .qk-keys { grid-template-columns: 1fr; gap: 32px; padding: 36px 22px 22px; }
  .qk-keys__sub { font-size: 16px; }
  .qk-page .qk-keys { margin: 24px calc(50% - 50vw + 16px); }
  .qk-ticket__top { padding: 22px 20px 20px; gap: 18px; }
  .qk-ticket__bottom { padding: 20px; }
  .qk-ticket__cut { margin: 0 16px; }
  .qk-ticket__cut::before { left: calc(-16px - var(--notch)); }
  .qk-ticket__cut::after { right: calc(-16px - var(--notch)); }
  .qk-ring { width: 96px; height: 96px; }
  .qk-ring__txt b { font-size: 22px; }
  .qk-cd { gap: 6px; }
  .qk-cd b { font-size: 18px; }
  .qk-keys__code { flex-direction: column; }
  .qk-keys__code code { justify-content: center; font-size: 17px; padding: 14px 12px; }
  .qk-keys__copy { justify-content: center; height: 44px; border-left: 0; border-top: 2px dashed #9DB5FF; }
}

/* 404 */
.qk-404 { text-align: center; padding: 24px 0 40px; }
.qk-404__code { margin: 0; font: 800 clamp(72px, 12vw, 120px)/1 "Inter", sans-serif; letter-spacing: -.04em; background: linear-gradient(135deg, #4F7CFF, #9B6BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qk-404__title { margin: 12px 0 12px; font-size: clamp(28px, 4vw, 40px); color: var(--c-title); }
.qk-404__text { max-width: 36em; margin: 0 auto 24px; color: var(--c-text); line-height: 1.75; }
.qk-404__links { list-style: none; padding: 0; margin: 0 auto 32px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.qk-404__links a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: #F4F6FB; color: var(--c-title); text-decoration: none; font-weight: 600; font-size: 15px; }
.qk-404__links a:hover { background: #E6EDFF; color: #3A63E0; }

/* 顶部语言切换（中 / EN） */
.nav__lang { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; margin-right: -16px; border-radius: 999px; font: 600 14px/1 "Inter", "Noto Sans SC", sans-serif; color: rgba(199,203,224,.7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.nav__lang .i { width: 16px; height: 16px; }
.nav__lang b { color: #fff; font-weight: 700; }
.nav__lang:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav__lang:focus-visible { outline: 2px solid #4F7CFF; outline-offset: 2px; }
.nav.is-scrolled .nav__lang, .qk-subpage .nav .nav__lang, body.menu-open .nav .nav__lang { color: #8A90A2; box-shadow: inset 0 0 0 1px #DDE1EA; }
.nav.is-scrolled .nav__lang b, .qk-subpage .nav .nav__lang b, body.menu-open .nav .nav__lang b { color: var(--c-title); }
.nav.is-scrolled .nav__lang:hover, .qk-subpage .nav .nav__lang:hover { background: #EEF2FF; color: #3A63E0; box-shadow: inset 0 0 0 1px #C9D6FF; }
.mobile-menu a.mobile-menu__lang { justify-content: flex-start; gap: 10px; color: var(--c-primary); }
.mobile-menu a.mobile-menu__lang .i { color: var(--c-primary); }
@media (max-width: 1023px) {
  .nav__inner { gap: 8px; }
  .nav__inner > .logo { margin-right: auto; }
  .nav__lang { margin: 0; padding: 0 10px; height: 40px; }
  .nav__inner .nav__toggle { margin-left: 0; }
}
@media (max-width: 400px) {
  .nav__lang .i { display: none; }
  .nav__lang { padding: 0 9px; }
  .nav__cta .wp-block-button__link { padding: 9px 12px; font-size: 14px; }
}
@media (min-width: 1024px) and (max-width: 1180px) { .nav__links a { padding: 8px 10px; } .nav__inner { gap: 24px; } }
@media (max-width: 359px) { .nav__inner .nav__cta { display: none; } }
.nav__inner > .logo { flex: none; }
@media (max-width: 470px) { html[lang="en"] .nav__inner .logo .wp-block-site-title { display: none; } }
.nav__inner .nav__toggle, .nav__inner .nav__cta, .nav__lang { flex: none; }
@media (max-width: 374px) { .nav__inner .logo .wp-block-site-title { display: none; } }

/* ---- SEO/性能/无障碍 修正 (v1.0.4) ---- */
/* 英文页不加载 Noto Sans SC：少量中文（语言切换）用系统中文字体显示 */
html[lang="en"] { --font: "Inter", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
html[lang="en"] .nav__lang { font-family: "Inter", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif; }
/* 页脚栏目标题：h2（标题层级连续），保持原 h4 视觉 */
.footer .footer__grid h2 { font-size: 15px; line-height: 1.4; margin: 0 0 16px; }
/* 对比度 ≥ 4.5:1 */
.footer__bottom, .footer__bottom p { color: #6b7280; }
.nav__cta .wp-block-button__link { background: #3563f0; }
.nav__cta .wp-block-button__link:hover { background: #2d5be3; }
/* 首屏文字不等脚本：直接可见（只做位移入场，不影响 LCP） */
.hero .reveal:not(.scenes) { opacity: 1; transform: none; transition: none; animation: qk-rise .6s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes qk-rise { from { transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .hero .reveal:not(.scenes) { animation: none; } }
/* 首屏占位：脚本生成场景标签与演示窗口前先预留最终尺寸，避免布局偏移（CLS） */
.hero ul.qk-scenes { height: 56px; margin: 0; padding: 0; overflow: hidden; list-style: none; }
.hero [data-qk-demo="hero-showcase"] { display: block; max-width: 1120px; margin: 28px auto 0; aspect-ratio: 1200 / 720; }
@media (max-width: 767px) {
  .hero ul.qk-scenes { height: 52px; }
  .hero [data-qk-demo="hero-showcase"] { margin-left: -8px; margin-right: -8px; aspect-ratio: 4 / 5; }
}

/* 首屏徽章：脚本注入 .pill / .dot / 箭头前就占好最终尺寸，避免 CLS */
.qk-hero-badge a {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 6px 14px; font-size: var(--fs-small, 14px);
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff;
  text-decoration: none; margin-bottom: 28px; line-height: 1.4;
}
.qk-hero-badge a .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 4px rgba(79,124,255,.25); flex: none; }
.qk-hero-badge a .i { width: 16px; height: 16px; color: var(--c-dark-text, #c7cbe0); flex: none; }

/* ---- Changelog: platform split + newest open; older collapsed ---- */
.qk-cl-plat { margin: 36px 0 16px; }
.qk-cl-plat:first-of-type { margin-top: 24px; }
.qk-cl-plat__title { margin: 0; font-size: 28px; line-height: 1.25; letter-spacing: -0.02em; }
.qk-cl-plat + .qk-cl-ver { margin-top: 12px; }
/* ---- Changelog versions; older collapsed (details/summary) ---- */
.qk-cl-ver { margin: 0 0 20px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--c-line, #e5e7eb); overflow: hidden; }
.qk-cl-ver--open { padding: 22px 24px 8px; }
.qk-cl-ver--open .qk-cl-ver__title { margin: 0 0 8px; font-size: 22px; line-height: 1.3; }
.qk-cl-ver--open .qk-meta { margin: 0 0 12px; color: var(--c-muted, #6b7280); font-size: 14px; }
.qk-cl-ver--open ul { margin: 0 0 16px; padding-left: 1.2em; }
.qk-cl-ver__sum { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font-weight: 700; font-size: 17px; color: var(--c-title, #111827); user-select: none; }
.qk-cl-ver__sum::-webkit-details-marker { display: none; }
.qk-cl-ver__sum::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .55; transition: transform .2s; flex: none; margin-top: -4px; }
.qk-cl-ver[open] .qk-cl-ver__sum::after { transform: rotate(225deg); margin-top: 4px; }
.qk-cl-ver__sum:hover { background: rgba(79,124,255,.04); }
.qk-cl-ver__sum:focus-visible { outline: 2px solid var(--c-primary, #4f7cff); outline-offset: -2px; }
.qk-cl-ver__date { font-weight: 500; font-size: 13px; color: var(--c-muted, #6b7280); margin-left: auto; margin-right: 8px; }
.qk-cl-ver__body { padding: 0 20px 16px; border-top: 1px solid var(--c-line, #e5e7eb); }
.qk-cl-ver__body .qk-meta { margin: 12px 0 8px; color: var(--c-muted, #6b7280); font-size: 14px; }
.qk-cl-ver__body ul { margin: 0 0 8px; padding-left: 1.2em; }
.qk-page .qk-cl-ver + .qk-cl-ver { margin-top: 12px; }
.qk-page .qk-cl-ver--open + .qk-cl-ver { margin-top: 16px; }
.qk-cl-ver__expired { margin: 14px 0 8px; color: var(--c-muted, #6b7280); font-size: 14px; }
.qk-android-link { margin: 8px 0 20px; font-size: 13px; }
.qk-android-link a { color: var(--c-muted, #6b7280); text-decoration: underline; text-underline-offset: 2px; }
.qk-android-link a:hover { color: var(--c-primary, #4f7cff); }

/* layout fix: WP flow must not kill feature overview grid */
.why-grid.wp-block-group,.why-grid--8.wp-block-group{display:grid!important;gap:24px;align-items:stretch}
.why-grid--8.wp-block-group{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.why-card.wp-block-group{display:flex!important;flex-direction:column!important;height:100%;overflow:hidden;min-width:0}
.why-card__body.wp-block-group{display:flex!important;flex-direction:column!important;flex:1;padding:24px 24px 28px;gap:10px;min-width:0}
@media (max-width:640px){.why-grid--8.wp-block-group{grid-template-columns:1fr!important}}

.mac-logo { width: 18px; height: 18px; fill: currentColor; vertical-align: -2px; }
.qk-dl-card + .qk-dl-card { margin-top: 20px; }
