/* ============================================================
   非必要造物 · 主站门户原型
   颜色全部来自 theme.css 令牌 + 本页频道强调色
   ============================================================ */


/* ----------------------------------------------------------------
   免费商用字体（SIL OFL 1.1，子集仅用于本站网页）
   Smiley Sans / 小赖字体 / 霞鹜文楷 / 站酷快乐体 / Ma Shan Zheng
   完整字体已安装到本机；网页只加载本页用到的子集。
   ---------------------------------------------------------------- */
@font-face {
  font-family: "Smiley Sans";
  src: url("./fonts/SmileySans.woff2?v=20261201u") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Xiaolai SC";
  src: url("./fonts/XiaolaiSC.woff2?v=20261201u") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "LXGW WenKai";
  src: url("./fonts/LXGWWenKai.woff2?v=20261201u") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "ZCOOL KuaiLe";
  src: url("./fonts/ZCOOLKuaiLe.woff2?v=20261201u") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Ma Shan Zheng";
  src: url("./fonts/MaShanZheng.woff2?v=20261201u") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --pf-paper: var(--c-elevate);
  --pf-paper-2: var(--c-input);
  --pf-ink: var(--c-text);
  --pf-ink-2: var(--c-text-2);
  --pf-muted: var(--c-dim);
  --pf-line: var(--c-line);
  --pf-shell: var(--c-shell);
  --pf-butter: var(--c-butter);
  --pf-shadow: 0 18px 50px rgba(120, 95, 70, .13);
  --pf-enamel: #2F5F72;
  --pf-enamel-soft: #E7EFF0;
  --pf-perler: #B96E7E;
  --pf-perler-soft: #F6E8EA;
  --pf-prompt: #3E342B;
  --pf-prompt-soft: #EDE6DA;
  --pf-bili: #00AEEC;
  --pf-bili-text: #0088B5;
  --pf-bili-soft: #E5F8FD;
  --pf-douyin: #161823;
  --pf-douyin-text: #161823;
  --pf-douyin-soft: #F0F0F2;
  --pf-kuaishou: #FF6B00;
  --pf-kuaishou-text: #C94F00;
  --pf-kuaishou-soft: #FFF0E5;
  --pf-xhs: #FF2442;
  --pf-xhs-text: #C81E32;
  --pf-xhs-soft: #FFECEF;
  --pf-radius: 20px;
  --pf-display: clamp(46px, 7.2vw, 100px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.pf {
  margin: 0;
  background-color: var(--c-bg);
  background-image:
    linear-gradient(rgba(var(--rgb-bg), .82), rgba(var(--rgb-bg), .82)),
    url("./paper-texture.webp");
  background-size: auto, 1600px auto;
  background-repeat: no-repeat, repeat;
  background-position: center top, left top;
  color: var(--pf-ink);
  font-family: "LXGW WenKai", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.pf.pf-lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--pf-butter); color: var(--pf-ink); }

.pf-skip {
  position: fixed; left: 12px; top: -80px; z-index: 999;
  padding: 10px 16px; border-radius: 10px; background: var(--pf-paper);
  box-shadow: var(--pf-shadow); color: var(--pf-ink);
}
.pf-skip:focus { top: 12px; }

.pf-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
#channels, #notes, #about, #guide { scroll-margin-top: 88px; }
.pf-hero h1, .pf-sec-head h2, .pf-about-copy h2, .pf-channel h3 { text-wrap: balance; }
.pf-lead, .pf-channel p, .pf-notes p, .pf-about-copy p { text-wrap: pretty; }

/* ---------------------------------------------------------------- 顶栏 */
.pf-top {
  position: sticky; top: 0; z-index: 80;
  background: var(--pf-shell);
  color: var(--c-shell-text);
  border-bottom: 1px solid var(--c-shell-line);
  box-shadow: 0 8px 28px rgba(70, 45, 26, .16);
}
.pf-top-in { height: 66px; display: flex; align-items: center; gap: 28px; }
.pf-brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.pf-logo {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pf-butter); color: var(--c-vip-text);
  font-size: 18px; font-weight: 800; line-height: 1;
  box-shadow: inset 0 -2px 0 rgba(74, 46, 23, .14);
}
.pf-brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.pf-brand-txt b { font-size: 16px; letter-spacing: .04em; font-weight: 400; font-family: "Smiley Sans", "PingFang SC", sans-serif; }
.pf-brand-txt small { font-size: 8px; letter-spacing: .1em; opacity: .62; margin-top: 3px; font-family: "Xiaolai SC", "PingFang SC", sans-serif; }
.pf-nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.pf-nav a, .pf-nav .pf-soon {
  position: relative; padding: 8px 11px; border-radius: 9px;
  font-size: 13px; color: var(--c-shell-dim); white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.pf-nav a:hover, .pf-nav a:focus-visible { color: var(--c-shell-text); background: rgba(251, 243, 230, .08); }
.pf-nav a.on { color: var(--pf-butter); font-weight: 700; }
.pf-nav a.on::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--pf-butter);
}
.pf-nav .pf-soon { color: var(--c-shell-dim); opacity: .66; cursor: default; }
.pf-nav em {
  display: inline-block; margin-left: 5px; padding: 0 5px;
  border: 1px solid rgba(251, 243, 230, .25); border-radius: 999px;
  font-style: normal; font-size: 8px; line-height: 15px; vertical-align: 1px;
}
.pf-nav em.pf-new { background: var(--pf-butter); color: var(--c-vip-text); border-color: transparent; font-weight: 700; }
.pf-actions { display: flex; align-items: center; gap: 9px; flex: none; }
.pf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 16px; border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; font-size: 13px; font-weight: 600; line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .1s ease, box-shadow .18s ease;
}
.pf-btn:active { transform: translateY(1px); }
.pf-btn:focus-visible { outline: 2px solid var(--pf-butter); outline-offset: 2px; }
.pf-btn-login {
  background: var(--pf-butter); color: var(--c-vip-text);
  border-color: transparent; box-shadow: 0 5px 16px rgba(0, 0, 0, .12);
}
.pf-btn-login:hover { background: var(--c-vip-hover); }
.pf-user-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--c-vip-text); opacity: .55;
}
.pf-btn-login.is-in { background: var(--c-shell-text); color: var(--pf-shell); }
.pf-btn-ghost {
  background: transparent; color: var(--c-shell-dim);
  border-color: rgba(251, 243, 230, .24);
}
.pf-btn-ghost:hover { color: var(--c-shell-text); border-color: rgba(251, 243, 230, .48); }
.pf-burger { display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(251, 243, 230, .24); background: transparent; color: var(--c-shell-text); cursor: pointer; }
.pf-drawer {
  position: fixed; inset: 66px 0 auto; z-index: 79;
  background: var(--c-bg-2); border-bottom: 1px solid var(--pf-line);
  box-shadow: var(--pf-shadow);
}
.pf-drawer nav { display: flex; flex-direction: column; padding: 10px 24px 18px; }
.pf-drawer a, .pf-drawer span, .pf-drawer button {
  display: block; width: 100%; padding: 12px 8px; text-align: left;
  background: transparent; border: 0; border-bottom: 1px solid var(--pf-line);
  font-size: 15px; color: var(--pf-ink); cursor: pointer;
}
.pf-drawer span { color: var(--pf-muted); }
.pf-drawer button { color: var(--c-accent-text); font-weight: 600; }

/* ---------------------------------------------------------------- Hero */
.pf-hero { padding: 74px 0 68px; overflow: hidden; }
.pf-hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr); gap: 44px; align-items: center; }
.pf-eyebrow {
  margin: 0 0 18px; font-size: 11px; letter-spacing: .12em;
  color: var(--pf-muted); font-weight: 400;
  font-family: "Xiaolai SC", "PingFang SC", sans-serif;
}
.pf-eyebrow span { color: var(--c-accent-text); margin-right: 8px; font-variant-numeric: tabular-nums; }
.pf-hero h1 {
  margin: 0; font-size: var(--pf-display); line-height: 1.04; letter-spacing: -.045em;
  font-family: "Smiley Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 400; color: var(--pf-ink);
}
.pf-hero h1 em {
  font-style: normal; color: var(--c-accent-text); white-space: nowrap;
  background: linear-gradient(transparent 72%, rgba(242, 200, 121, .55) 72%);
}
.pf-lead {
  max-width: 560px; margin: 28px 0 0; font-size: 17px; line-height: 1.9;
  color: var(--pf-ink-2);
  font-family: "LXGW WenKai", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.pf-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 28px; }
.pf-btn-primary {
  background: var(--c-accent-btn); color: var(--c-elevate);
  border-color: transparent; box-shadow: 0 10px 24px rgba(120, 95, 70, .22);
}
.pf-btn-primary:hover { background: var(--c-accent-deep); }
.pf-btn-paper {
  background: rgba(255, 253, 249, .62); color: var(--pf-ink);
  border-color: var(--pf-line); box-shadow: 0 6px 18px rgba(120, 95, 70, .07);
}
.pf-btn-paper:hover { background: var(--pf-paper); border-color: var(--c-line-3); }
.pf-socials { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 30px; color: var(--pf-muted); font-size: 12px; font-weight: 500; }
.pf-socials a { display: inline-flex; align-items: center; gap: 7px; transition: color .18s ease; }
.pf-socials a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 5px; }
.pf-socials a:hover { color: var(--c-accent-text); }
.pf-social-ic {
  width: 22px; height: 22px; border-radius: 7px; display: inline-flex;
  align-items: center; justify-content: center; background: var(--pf-paper);
  border: 1px solid var(--pf-line); color: var(--c-accent-text);
  font-size: 10px; font-weight: 700;
}
.pf-socials-dark { color: var(--c-shell-dim); margin-top: 24px; }
.pf-socials-dark a:hover { color: var(--pf-butter); }
.pf-socials-dark .pf-social-ic { background: rgba(251, 243, 230, .09); border-color: rgba(251, 243, 230, .18); color: var(--pf-butter); }
/* 平台品牌色：文字用可读的品牌色，图标用品牌原色 + 浅底 */
.pf-socials a.pf-social-bili { color: var(--pf-bili-text); }
.pf-socials a.pf-social-douyin { color: var(--pf-douyin-text); }
.pf-socials a.pf-social-kuaishou { color: var(--pf-kuaishou-text); }
.pf-socials a.pf-social-xhs { color: var(--pf-xhs-text); }
.pf-socials a.pf-social-bili .pf-social-ic { color: var(--pf-bili); background: var(--pf-bili-soft); border-color: rgba(0, 174, 236, .22); }
.pf-socials a.pf-social-douyin .pf-social-ic { color: var(--pf-douyin); background: var(--pf-douyin-soft); border-color: rgba(22, 24, 35, .16); }
.pf-socials a.pf-social-kuaishou .pf-social-ic { color: var(--pf-kuaishou); background: var(--pf-kuaishou-soft); border-color: rgba(255, 107, 0, .3); }
.pf-socials a.pf-social-xhs .pf-social-ic { color: var(--pf-xhs); background: var(--pf-xhs-soft); border-color: rgba(255, 36, 66, .22); }
.pf-socials a.pf-social-bili:hover { color: var(--pf-bili); }
.pf-socials a.pf-social-kuaishou:hover { color: var(--pf-kuaishou); }
.pf-socials a.pf-social-xhs:hover { color: var(--pf-xhs); }
.pf-socials-dark a.pf-social-bili { color: #56D7FA; }
.pf-socials-dark a.pf-social-douyin { color: #FF6B81; }
.pf-socials-dark a.pf-social-kuaishou { color: #FFA85C; }
.pf-socials-dark a.pf-social-xhs { color: #FF7B8C; }
.pf-socials-dark a .pf-social-ic { background: rgba(251, 243, 230, .09); border-color: rgba(251, 243, 230, .18); }
.pf-socials-dark a.pf-social-bili .pf-social-ic { color: #56D7FA; }
.pf-socials-dark a.pf-social-douyin .pf-social-ic { color: #FF6B81; }
.pf-socials-dark a.pf-social-kuaishou .pf-social-ic { color: #FFA85C; }
.pf-socials-dark a.pf-social-xhs .pf-social-ic { color: #FF7B8C; }
/* 页脚平台链接：保持普通文字排版，只用品牌色，不做独立按钮 */
.pf-footer-cols div { align-items: flex-start; }
.pf-footer-cols a.pf-social-bili,
.pf-footer-cols a.pf-social-douyin,
.pf-footer-cols a.pf-social-kuaishou,
.pf-footer-cols a.pf-social-xhs {
  display: inline; width: auto; margin: 0; padding: 0;
  background: transparent; box-shadow: none; font-size: 12px; font-weight: 500;
  transition: color .16s ease;
}
/* 深棕底需要比浅色区更亮的同色系，才能看得清 */
.pf-footer-cols a.pf-social-bili { color: #6FD5F7; }
.pf-footer-cols a.pf-social-douyin { color: #FF7C8E; }
.pf-footer-cols a.pf-social-kuaishou { color: #FFA45C; }
.pf-footer-cols a.pf-social-xhs { color: #FF7A8C; }
.pf-footer-cols a.pf-social-bili:hover { color: #A6E8FF; }
.pf-footer-cols a.pf-social-douyin:hover { color: #FFA6B2; }
.pf-footer-cols a.pf-social-kuaishou:hover { color: #FFC08A; }
.pf-footer-cols a.pf-social-xhs:hover { color: #FFA6B2; }

/* Hero 手工纸片拼贴 */
.pf-hero-art { position: relative; min-height: 430px; }
.pf-stack { position: relative; width: 100%; height: 430px; }
.pf-card {
  position: absolute; width: 225px; padding: 17px 17px 15px;
  background: var(--pf-paper); border: 1px solid var(--pf-line);
  border-radius: 16px; box-shadow: var(--pf-shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.pf-card-k,
.pf-card-t {
  font-family: "Xiaolai SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
}
.pf-card-k { font-size: 10px; letter-spacing: .04em; color: var(--pf-muted); }
.pf-card-t { font-size: 11.5px; color: var(--pf-ink-2); line-height: 1.55; }
.pf-card-cookie { left: 4%; top: 18px; transform: rotate(-5deg); z-index: 3; }
.pf-card-enamel { right: 2%; top: 2px; transform: rotate(5deg); z-index: 2; }
.pf-card-perler { left: 17%; bottom: 6px; transform: rotate(3deg); z-index: 4; }
.pf-card-prompt { right: 3%; bottom: 22px; transform: rotate(-4deg); z-index: 1; }
.pf-cookie {
  position: relative; width: 132px; height: 84px; margin: 2px auto;
  border-radius: 50%; background: var(--c-butter);
  border: 7px solid var(--c-choco); box-shadow: inset 0 0 0 2px var(--c-butter-deep);
}
.pf-cookie i {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-choco-2);
}
.pf-cookie i:nth-child(1) { left: 35%; top: 32%; }
.pf-cookie i:nth-child(2) { right: 27%; top: 26%; }
.pf-cookie i:nth-child(3) { left: 26%; bottom: 25%; }
.pf-cookie i:nth-child(4) { right: 31%; bottom: 22%; width: 7px; height: 7px; }
.pf-enamel { position: relative; height: 84px; border-radius: 10px; overflow: hidden; background: var(--pf-enamel-soft); }
.pf-enamel i { position: absolute; border-radius: 50%; border: 2px solid var(--pf-enamel); opacity: .8; }
.pf-enamel i:nth-child(1) { width: 74px; height: 74px; left: 10px; top: 5px; border-style: dashed; }
.pf-enamel i:nth-child(2) { width: 52px; height: 52px; left: 25px; top: 16px; border-color: var(--c-butter); }
.pf-enamel i:nth-child(3) { width: 18px; height: 18px; left: 41px; top: 33px; background: var(--pf-enamel); border: 0; opacity: .6; }
.pf-perler { height: 84px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; align-content: center; padding: 8px; border-radius: 10px; background: var(--pf-perler-soft); }
.pf-perler i { height: 10px; border-radius: 3px; background: var(--pf-perler); opacity: .7; }
.pf-perler i:nth-child(2n) { opacity: .35; }
.pf-perler i:nth-child(3n) { background: var(--c-butter); opacity: .8; }
.pf-promptlines { height: 84px; border-radius: 10px; background: var(--pf-prompt); padding: 15px 13px; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.pf-promptlines i { display: block; height: 3px; border-radius: 2px; background: var(--pf-butter); opacity: .82; }
.pf-promptlines i:nth-child(2) { width: 75%; opacity: .6; }
.pf-promptlines i:nth-child(3) { width: 88%; opacity: .42; }
.pf-promptlines i:nth-child(4) { width: 55%; opacity: .28; }
.pf-art-tape { position: absolute; width: 74px; height: 20px; left: 40%; top: 10px; transform: rotate(-34deg); background: rgba(242, 200, 121, .52); border-left: 1px dashed rgba(120, 95, 70, .18); border-right: 1px dashed rgba(120, 95, 70, .18); }
.pf-art-tape-2 { left: 8%; top: 39%; transform: rotate(52deg); width: 60px; opacity: .55; }
.pf-art-note {
  position: static; display: block;
  margin: 14px 4px 0 auto; text-align: right;
  font-size: 13px; color: var(--pf-muted); letter-spacing: .04em;
  font-family: "Xiaolai SC", "PingFang SC", sans-serif;
}

/* ---------------------------------------------------------------- 通用区块 */
.pf-section { padding: 76px 0; }
.pf-sec-head { max-width: 640px; margin-bottom: 32px; }
.pf-sec-head-sm { margin-bottom: 22px; }
.pf-sec-head h2 {
  margin: 0; font-size: clamp(28px, 3.3vw, 42px); line-height: 1.3;
  letter-spacing: -.02em; font-weight: 400;
  font-family: "Smiley Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.pf-sec-head > p:last-child { margin: 14px 0 0; color: var(--pf-muted); font-size: 13px; }
.pf-textlink { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--c-accent-text); font-size: 12px; font-weight: 600; }
.pf-textlink:hover { color: var(--pf-ink); }

/* ---------------------------------------------------------------- 频道 */
.pf-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-channel {
  position: relative; display: flex; flex-direction: column; min-height: 236px;
  padding: 26px 26px 22px; overflow: hidden;
  background: var(--pf-paper); border: 1px solid var(--pf-line);
  border-radius: var(--pf-radius); box-shadow: 0 8px 24px rgba(120, 95, 70, .055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.pf-channel:hover { transform: translateY(-4px); box-shadow: var(--pf-shadow); border-color: var(--c-line-3); }
.pf-channel::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--ch-accent, var(--c-accent));
}
.pf-channel.cookie { --ch-accent: var(--c-accent-text); --ch-soft: var(--c-accent-soft); }
.pf-channel.enamel { --ch-accent: var(--pf-enamel); --ch-soft: var(--pf-enamel-soft); }
.pf-channel.perler { --ch-accent: var(--pf-perler); --ch-soft: var(--pf-perler-soft); }
.pf-channel.prompt { --ch-accent: var(--pf-prompt); --ch-soft: var(--pf-prompt-soft); }
.pf-channel-no { font-size: 10px; color: var(--ch-accent); letter-spacing: .12em; font-weight: 700; }
.pf-channel-status {
  position: absolute; right: 22px; top: 22px;
  padding: 3px 8px; border-radius: 999px; background: var(--ch-soft);
  color: var(--ch-accent); font-size: 10px; font-weight: 400; letter-spacing: .02em;
  font-family: "Xiaolai SC", "PingFang SC", sans-serif;
}
.pf-channel h3 { margin: 10px 0 0; font-size: 26px; line-height: 1.2; letter-spacing: 0; font-family: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif; font-weight: 400; }
.pf-channel p { max-width: 420px; margin: 10px 0 0; color: var(--pf-muted); font-size: 12.5px; line-height: 1.8; }
.pf-channel-link { margin-top: auto; padding-top: 20px; color: var(--ch-accent); font-size: 12px; font-weight: 700; }
.pf-channel.is-soon { opacity: .78; }
.pf-channel.is-soon .pf-channel-link { color: var(--pf-muted); font-weight: 500; }
.pf-channel-art { position: absolute; right: 24px; bottom: 22px; width: 66px; height: 60px; opacity: .5; pointer-events: none; }
.pf-channel-art i { position: absolute; display: block; border: 2px solid var(--ch-accent); }
.pf-channel.cookie .pf-channel-art i:nth-child(1) { width: 46px; height: 46px; border-radius: 50%; left: 8px; top: 2px; border-style: dashed; }
.pf-channel.cookie .pf-channel-art i:nth-child(2) { width: 22px; height: 22px; border-radius: 50%; left: 20px; top: 14px; }
.pf-channel.cookie .pf-channel-art i:nth-child(3) { width: 7px; height: 7px; border-radius: 50%; left: 28px; top: 21px; background: var(--ch-accent); }
.pf-channel.enamel .pf-channel-art i { border-radius: 50%; }
.pf-channel.enamel .pf-channel-art i:nth-child(1) { width: 52px; height: 52px; left: 6px; top: 2px; border-style: dotted; }
.pf-channel.enamel .pf-channel-art i:nth-child(2) { width: 32px; height: 32px; left: 16px; top: 12px; border-color: var(--c-butter); }
.pf-channel.enamel .pf-channel-art i:nth-child(3) { width: 10px; height: 10px; left: 28px; top: 24px; background: var(--ch-accent); border: 0; }
.pf-channel.perler .pf-channel-art i { width: 11px; height: 11px; border-radius: 3px; background: var(--ch-accent); border: 0; opacity: .7; }
.pf-channel.perler .pf-channel-art i:nth-child(1) { left: 6px; top: 6px; }
.pf-channel.perler .pf-channel-art i:nth-child(2) { left: 26px; top: 18px; opacity: .4; }
.pf-channel.perler .pf-channel-art i:nth-child(3) { left: 44px; top: 34px; opacity: .75; }
.pf-channel.prompt .pf-channel-art i { height: 3px; border: 0; border-radius: 2px; background: var(--ch-accent); }
.pf-channel.prompt .pf-channel-art i:nth-child(1) { width: 54px; left: 4px; top: 16px; }
.pf-channel.prompt .pf-channel-art i:nth-child(2) { width: 38px; left: 4px; top: 28px; opacity: .6; }
.pf-channel.prompt .pf-channel-art i:nth-child(3) { width: 46px; left: 4px; top: 40px; opacity: .35; }

/* ---------------------------------------------------------------- 手记 + 更新 */
.pf-notes-section { padding-top: 0; }
.pf-notes-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 46px; align-items: start; }
.pf-notes { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--pf-line); }
.pf-notes li { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--pf-line); }
.pf-notes time { font-size: 11px; color: var(--pf-muted); letter-spacing: .06em; padding-top: 3px; font-family: "Xiaolai SC", "PingFang SC", sans-serif; }
.pf-notes b { font-size: 16px; font-weight: 400; font-family: "LXGW WenKai", "PingFang SC", "Microsoft YaHei", sans-serif; }
.pf-notes p { margin: 3px 0 0; color: var(--pf-muted); font-size: 12.5px; line-height: 1.8; }
.pf-update-card {
  background: var(--pf-shell); color: var(--c-shell-text);
  border-radius: var(--pf-radius); padding: 24px 24px 22px;
  box-shadow: var(--pf-shadow); position: relative; overflow: hidden;
}
.pf-update-card::after {
  content: ""; position: absolute; right: -34px; top: -34px; width: 120px; height: 120px;
  border-radius: 50%; border: 1px dashed rgba(251, 243, 230, .22);
}
.pf-update-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(251, 243, 230, .18); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.pf-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pf-butter); box-shadow: 0 0 0 4px rgba(242, 200, 121, .15); }
.pf-updates { list-style: none; margin: 0; padding: 4px 0 0; }
.pf-updates li { display: flex; gap: 13px; padding: 11px 0; font-size: 12px; color: var(--c-shell-dim); }
.pf-updates time { flex: none; width: 34px; color: var(--pf-butter); font-size: 11px; font-variant-numeric: tabular-nums; padding-top: 1px; font-family: "Xiaolai SC", "PingFang SC", sans-serif; }
.pf-updates li + li { border-top: 1px solid rgba(251, 243, 230, .09); }
.pf-update-card .pf-textlink { color: var(--pf-butter); margin-top: 14px; }

/* ---------------------------------------------------------------- 关于 */
.pf-about { background: transparent; border-top: 0; border-bottom: 0; }
.pf-about-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: center; }
.pf-about-mark {
  aspect-ratio: 1 / 1.15; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pf-about-mark::before { content: none; }
.pf-about-mark-cat { width: 96%; height: auto; position: relative; z-index: 1; margin-top: 2px; }
.pf-about-mark small { margin-top: 10px; font-size: 8px; letter-spacing: .18em; color: var(--pf-muted); text-align: center; line-height: 1.7; }
.pf-about-copy h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.35; letter-spacing: -.02em; font-family: "Smiley Sans", "PingFang SC", "Microsoft YaHei", sans-serif; font-weight: 400; }
.pf-about-lead { margin: 22px 0 8px; color: var(--c-accent-text); font-weight: 400; font-size: 17px; font-family: "LXGW WenKai", "PingFang SC", "Microsoft YaHei", sans-serif; }
.pf-about-copy p:not(.pf-eyebrow):not(.pf-about-lead) { max-width: 620px; margin: 0 0 10px; color: var(--pf-ink-2); font-size: 13.5px; line-height: 2; }

/* ---------------------------------------------------------------- 指南 */
.pf-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pf-guide-card {
  position: relative; display: flex; flex-direction: column; min-height: 190px;
  padding: 22px; border: 1px solid var(--pf-line); border-radius: 16px;
  background: rgba(255, 253, 249, .62);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
a.pf-guide-card:hover { background: var(--pf-paper); border-color: var(--c-line-3); transform: translateY(-3px); }
.pf-guide-no { font-size: 10px; letter-spacing: .12em; color: var(--c-accent-text); font-weight: 700; }
.pf-guide-card b { margin-top: 10px; font-size: 16px; }
.pf-guide-card p { margin: 7px 0 0; color: var(--pf-muted); font-size: 12.5px; line-height: 1.8; }
.pf-guide-card .pf-channel-link { margin-top: auto; padding-top: 18px; }
.pf-guide-card.is-soon { opacity: .7; }

/* ---------------------------------------------------------------- Footer */
.pf-footer { background: var(--pf-shell); color: var(--c-shell-text); padding: 48px 0 24px; }
.pf-footer-in { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 34px; }
.pf-footer .pf-logo { background: var(--pf-butter); }
.pf-footer-brand p { margin: 18px 0 0; max-width: 260px; color: var(--c-shell-dim); font-size: 12px; }
.pf-footer-cols { display: flex; gap: 60px; }
.pf-footer-cols div { display: flex; flex-direction: column; gap: 7px; min-width: 92px; }
.pf-footer-cols b { margin-bottom: 5px; font-size: 11px; letter-spacing: .1em; color: var(--pf-butter); font-weight: 400; font-family: "Xiaolai SC", "PingFang SC", sans-serif; }
.pf-footer-cols a, .pf-footer-cols span { color: var(--c-shell-dim); font-size: 12px; }
.pf-footer-cols a:hover { color: var(--c-shell-text); }
.pf-footer-cols span { opacity: .55; }
.pf-footer-meta {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid rgba(251, 243, 230, .16);
  color: rgba(227, 205, 176, .7); font-size: 10px;
}
.pf-footer-meta a { color: inherit; }
.pf-footer-meta a:hover { color: var(--pf-butter); }

/* ---------------------------------------------------------------- 弹窗 / toast */
.pf-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 22px; }
.pf-modal[hidden] { display: none; }
.pf-modal-mask { position: absolute; inset: 0; background: rgba(45, 32, 22, .42); backdrop-filter: blur(3px); }
.pf-modal-box {
  position: relative; width: min(420px, 100%); padding: 28px;
  background: var(--pf-paper); border: 1px solid var(--pf-line);
  border-radius: 20px; box-shadow: 0 28px 80px rgba(45, 32, 22, .28);
  animation: pf-pop .18s ease both;
}
@keyframes pf-pop { from { opacity: 0; transform: translateY(8px) scale(.985); } }
.pf-modal-x {
  position: absolute; right: 14px; top: 12px; width: 32px; height: 32px;
  border: 0; border-radius: 9px; background: transparent; color: var(--pf-muted);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.pf-modal-x:hover { background: var(--c-bg-2); color: var(--pf-ink); }
.pf-modal-box h3 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.pf-modal-sub { margin: 10px 0 20px; color: var(--pf-muted); font-size: 12.5px; line-height: 1.8; }
.pf-login-form { display: flex; flex-direction: column; gap: 12px; }
.pf-login-form label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; color: var(--pf-muted); }
.pf-login-form input {
  height: 40px; border-radius: 10px; border: 1px solid var(--pf-line);
  background: var(--c-input); color: var(--pf-ink); padding: 0 12px; outline: none;
}
.pf-login-form input:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(192, 138, 94, .14); }
.pf-btn-block { width: 100%; height: 42px; margin-top: 2px; }
.pf-login-err { min-height: 16px; margin: 0; color: var(--c-err-text); font-size: 11px; }
.pf-account { display: flex; flex-direction: column; gap: 9px; }
.pf-account[hidden], .pf-login-form[hidden], .pf-modal-hint[hidden] { display: none; }
.pf-account-name { margin: 0 0 4px; padding: 12px 14px; border-radius: 11px; background: var(--c-bg-2); color: var(--pf-ink-2); font-size: 12px; word-break: break-all; }
.pf-account .pf-btn-ghost { color: var(--pf-ink-2); border-color: var(--pf-line); background: transparent; }
.pf-account .pf-btn-ghost:hover { background: var(--c-bg-2); color: var(--pf-ink); }
.pf-modal-hint { margin: 14px 0 0; text-align: center; color: var(--pf-muted); font-size: 11px; }
.pf-modal-hint a { color: var(--c-accent-text); font-weight: 600; }
.pf-toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 130;
  transform: translateX(-50%) translateY(8px); opacity: 0; pointer-events: none;
  padding: 9px 16px; border-radius: 999px; background: var(--pf-shell);
  color: var(--c-shell-text); font-size: 12px; box-shadow: var(--pf-shadow);
  transition: opacity .18s ease, transform .18s ease;
}
.pf-toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------------------------------------------------------- 移动端底栏 */
.pf-mobilebar { display: none; }
@media (max-width: 960px) {
  .pf-wrap { width: min(100% - 36px, 760px); }
  .pf-nav { display: none; }
  .pf-burger { display: inline-flex; align-items: center; justify-content: center; }
  .pf-top-in { height: 60px; gap: 12px; }
  .pf-drawer { top: 60px; }
  .pf-actions .pf-btn-ghost { display: none; }
  .pf-hero { padding: 48px 0 42px; }
  .pf-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .pf-hero-art { min-height: 340px; }
  .pf-stack { height: 340px; transform: scale(.88); transform-origin: center top; }
  .pf-notes-grid { grid-template-columns: 1fr; gap: 34px; }
  .pf-about-grid { grid-template-columns: 1fr; gap: 26px; }
  .pf-about-mark { width: 190px; aspect-ratio: 1 / 1; }
  .pf-about-mark small { display: none; }
  .pf-guides { grid-template-columns: 1fr; }
  .pf-guide-card { min-height: 0; }
  .pf-footer-in { flex-direction: column; gap: 28px; }
  .pf-footer-cols { gap: 34px; flex-wrap: wrap; }
  .pf-mobilebar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; justify-content: space-around; align-items: center;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 249, .94); border-top: 1px solid var(--pf-line);
    backdrop-filter: blur(10px);
  }
  .pf-mobilebar a, .pf-mobilebar button {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    min-width: 58px; padding: 5px 8px; border: 0; border-radius: 9px;
    background: transparent; color: var(--pf-muted); font-size: 9px; cursor: pointer;
  }
  .pf-mobilebar span[aria-hidden] { font-size: 16px; line-height: 1; }
  .pf-mobilebar .on { color: var(--c-accent-text); font-weight: 700; }
  body.pf { padding-bottom: 64px; }
  .pf-toast { bottom: 82px; }
  .pf-section { padding: 52px 0; }
  .pf-notes-section { padding-top: 0; }
}
@media (max-width: 560px) {
  .pf-brand-txt b { font-size: 14px; }
  .pf-brand-txt small { font-size: 7px; }
  .pf-hero h1 { font-size: clamp(44px, 13.5vw, 68px); }
  .pf-lead { margin-top: 20px; font-size: 14px; }
  .pf-cta { margin-top: 22px; }
  .pf-cta { flex-direction: column; align-items: stretch; }
  .pf-cta .pf-btn { flex: none; width: 100%; padding: 0 12px; }
  .pf-socials { gap: 7px 12px; margin-top: 22px; font-size: 11px; }
  .pf-hero-art { min-height: 0; margin-top: 4px; }
  .pf-stack {
    height: auto; width: 100%; margin: 0; transform: none;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  }
  .pf-card {
    position: relative; inset: auto; width: auto; padding: 12px 12px 11px;
    border-radius: 14px; transform: none !important; gap: 9px;
  }
  .pf-card-k { font-size: 8.5px; }
  .pf-card-t { font-size: 9.5px; }
  .pf-cookie, .pf-enamel, .pf-perler, .pf-promptlines { height: 62px; }
  .pf-cookie { width: 96px; border-width: 6px; }
  .pf-art-tape, .pf-art-tape-2, .pf-art-note { display: none; }
  .pf-channel-art { display: none; }
  .pf-channels { grid-template-columns: 1fr; gap: 12px; }
  .pf-channel { min-height: 210px; padding: 22px 20px 20px; }
  .pf-channel h3 { font-size: 23px; }
  .pf-notes li { grid-template-columns: 1fr; gap: 3px; padding: 17px 0; }
  .pf-notes time { padding: 0; }
  .pf-sec-head h2 { font-size: 28px; }
  .pf-footer { padding-top: 38px; }
  .pf-footer-cols { gap: 24px; }
  .pf-footer-cols div { min-width: 76px; }
  .pf-modal-box { padding: 24px 20px; }
  .pf-btn { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* 关于区：黑猫吉祥物（宽屏显示，避免挤压手机端正文） */

/* Hero 纸片直接作为频道入口 */
a.pf-card { color: inherit; text-decoration: none; }
a.pf-card:hover { box-shadow: 0 22px 48px rgba(120, 95, 70, .18); }
a.pf-card:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.pf-card.is-soon { opacity: .78; }
.pf-card-go {
  position: absolute; right: 12px; top: 12px;
  color: var(--c-accent-text); font-size: 14px; line-height: 1;
}
.pf-card.is-soon .pf-card-go { display: none; }
