/* =========================================================
   FaceWinUnlock — 基础层（三个页面共用）
   纸：f3ede3 / 墨：17120d / 朱砂：b23b2c
   ========================================================= */
:root{
  --paper:#f3ede3;
  --paper-2:#e9e1d3;
  --paper-3:#ded4c3;
  --ink:#17120d;
  --ink-2:#2c2620;
  --muted:#6f6557;
  --muted-2:#918777;
  --seal:#b23b2c;
  --seal-deep:#8c2a1e;
  --line:rgba(23,18,13,.14);
  --line-soft:rgba(23,18,13,.07);
  --serif:"Noto Serif SC","Songti SC","STSong","SimSun",serif;
  --sans:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  --ease:cubic-bezier(.22,.72,.24,1);
  --wrap:1180px;
}
html[data-theme="dark"]{
  --paper:#050a15;
  --paper-2:#081120;
  --paper-3:#0c1727;
  --ink:#e9f0ff;
  --ink-2:#c8d5ec;
  --muted:#93a3c0;
  --muted-2:#6d7e9a;
  --seal:#e0604e;
  --seal-deep:#c04535;
  --line:rgba(233,240,255,.16);
  --line-soft:rgba(233,240,255,.08);
  color-scheme:dark;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:auto}
body{
  background:var(--paper);color:var(--ink);
  font-family:var(--serif);font-weight:400;line-height:1.75;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
  transition:background-color .6s var(--ease),color .6s var(--ease);
}
/* 宣纸纤维纹理 */
body::before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.38;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}
html[data-theme="dark"] body::before{filter:invert(1);opacity:.16}
img,svg{display:block}
a{color:inherit;text-decoration:none}
::selection{background:var(--ink);color:var(--paper)}

/* 夜间 ASCII 背景 */
.ascii-bg{
  position:fixed;inset:0;width:100%;height:100%;z-index:0;
  pointer-events:none;opacity:0;
  transition:opacity .9s var(--ease);
}
.ascii-bg.is-on{opacity:.62}
