/* X 回复副驾 · 视觉沿用 ResetStatus：奶油底、深棕粗描边、硬投影、黄色高亮、Baloo 2 标题 */
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("/assets/baloo-2-latin.woff2") format("woff2"); }
:root {
  --bg: #fff4dd; --paper: #fffdf7; --fg: #2c261f; --ink: #2c261f; --muted: #786e60; --line: #30281f; --soft-line: #d9d2c8;
  --yellow: #ffdf53; --accent: #ff6835; --brown: #a5641d; --sand: #f1e4c2; --mint: #b8e8c8; --pink: #ffbbd0;
  --ok: #1f7a4d; --danger: #c0392b; --shadow: 4px 4px 0 #2c261f; --shadow-sm: 2px 3px 0 #2c261f; --radius: 14px;
  --display: "Baloo 2", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
html[data-theme="dark"] { --bg: #221f1a; --paper: #302c25; --fg: #f7ebd6; --ink: #f7ebd6; --muted: #c5b69f; --line: #d8c6aa; --soft-line: #514637; --yellow: #e6c64c; --accent: #f88252; --sand: #40392e; --mint: #7fba90; --pink: #edabc1; --shadow: 4px 4px 0 #0d0c09; --shadow-sm: 2px 3px 0 #0d0c09; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.6 var(--body); color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; } a:hover { color: var(--accent); }
a[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
h1 { font: 800 clamp(30px, 4.2vw, 46px)/1.25 var(--display); margin: 0 0 14px; }
h2 { font: 800 clamp(22px, 2.6vw, 28px)/1.35 var(--display); margin: 0 0 10px; }
h3 { font: 800 19px/1.4 var(--display); margin: 0 0 6px; }
p { margin: 0 0 12px; } .muted { color: var(--muted); } .lead { font-size: 17px; color: var(--muted); }
.eyebrow { display: block; color: var(--muted); font: 600 11px var(--mono); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }

/* 页头 */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 80px; }
.brand { display: flex; align-items: center; gap: 9px; font: 800 24px/1 var(--display); color: var(--fg); text-decoration: none; white-space: nowrap; }
.brand img { width: 32px; height: 32px; } .brand:hover { color: var(--fg); }
.nav { display: flex; gap: 3px; margin-left: auto; border: 2px solid var(--line); border-radius: 999px; padding: 3px; background: var(--paper); }
.nav a { font: 700 14px var(--display); padding: 6px 15px; border-radius: 999px; color: var(--fg); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--yellow); color: #2c261f; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 2px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--fg); font-size: 19px; cursor: pointer; flex: none; }
.notice { margin: 4px 0 12px; padding: 11px 15px; border-left: 3px solid var(--brown); background: var(--sand); color: var(--muted); border-radius: 0 10px 10px 0; white-space: pre-wrap; font-size: 13px; }
.notice.warn { border-left-color: var(--accent); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 2px solid var(--line); border-radius: 999px; padding: 9px 20px; font: 700 15px var(--display); cursor: pointer; background: var(--paper); color: var(--fg); text-decoration: none !important; box-shadow: var(--shadow-sm); transition: transform .12s, box-shadow .12s, background .12s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 4px 0 var(--line); color: var(--fg); }
.btn:active { transform: translate(1px, 2px); box-shadow: none; }
.btn.primary, .btn.blue { background: var(--yellow); color: #2c261f; }
.btn.primary:hover, .btn.blue:hover { background: #ffe15b; color: #2c261f; }
.btn.ghost { box-shadow: none; background: transparent; } .btn.ghost:hover { box-shadow: none; transform: none; background: var(--paper); }
.btn.small { padding: 5px 13px; font-size: 13px; }
.btn.danger { color: var(--danger); }
.btn:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; }

/* 版块 */
section.block { padding: 56px 0; }
section.block.alt { background: transparent; border-top: 2px dashed var(--soft-line); }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; padding-top: 36px; padding-bottom: 40px; }
.hero h1 br { display: none; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 14px; }
.mock { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--line); padding: 18px; transform: rotate(-1.2deg); }
.mock .post { display: flex; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.mock .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--line); flex: none; }
.mock .tabs { display: flex; gap: 6px; margin: 12px 0 8px; }
.mock .tab { font: 700 13px var(--display); padding: 3px 13px; border-radius: 999px; border: 2px solid var(--line); }
.mock .tab.on { background: var(--yellow); color: #2c261f; }
.mock .draft { background: var(--sand); border-radius: 10px; padding: 12px; font-size: 14px; }
.mock .row { display: flex; gap: 6px; margin-top: 10px; font-size: 12px; } .mock .row span { padding: 4px 12px; border-radius: 999px; border: 2px solid var(--line); font-weight: 600; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.strip div { padding: 15px 18px; font: 800 17px var(--display); border-left: 2px solid var(--line); }
.strip div:first-child { border-left: 0; background: var(--yellow); color: #2c261f; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.card { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card + .card { margin-top: 20px; }
.grid3 > .card + .card, .grid2 > .card + .card, .grid2 > div + .card { margin-top: 0; }
.card.highlight { background: var(--yellow); color: #2c261f; } .card.highlight .muted { color: #5a4a10; }
.step-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: #2c261f; border: 2px solid var(--line); font: 800 17px var(--display); margin-bottom: 10px; }
.price { font: 800 38px/1.2 var(--display); } .price small { font: 500 14px var(--body); color: var(--muted); }
.pill { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 4px; background: var(--mint); color: #2c261f; border: 1px solid var(--line); font-weight: 700; }
.cny { margin: 10px 0; padding: 10px 12px; border-radius: 10px; background: var(--sand); border: 2px solid var(--line); font-weight: 700; }
.faq details { background: var(--paper); border: 2px solid var(--line); border-radius: 10px; padding: 13px 16px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 8px 0 0; }
.narrow { max-width: 760px; margin: 0 auto; }
.doc h2 { font-size: 20px; margin-top: 28px; }
.doc p { line-height: 1.9; }

/* 表单 */
form .f { display: block; margin: 14px 0 6px; font-weight: 700; font-size: 14px; }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select { width: 100%; padding: 10px 12px; min-height: 44px; border: 2px solid var(--line); border-radius: 10px; font: inherit; background: var(--paper); color: var(--fg); }
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { min-height: 140px; resize: vertical; }
input[type=checkbox], input[type=radio] { accent-color: #2c261f; }
.tabbar { display: flex; gap: 3px; border: 2px solid var(--line); background: var(--paper); border-radius: 999px; padding: 3px; margin-bottom: 18px; }
.tabbar button { flex: 1; border: 0; background: none; padding: 7px; border-radius: 999px; font: 700 14px var(--display); cursor: pointer; color: var(--fg); }
.tabbar button.on { background: var(--yellow); color: #2c261f; }
.msg { margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; border: 2px solid var(--line); } .msg:empty { display: none; }
.msg.ok { background: var(--mint); color: #2c261f; } .msg.err { background: var(--pink); color: #2c261f; } .msg.info { background: var(--sand); color: var(--fg); }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-methods label { display: flex; gap: 10px; align-items: center; border: 2px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; font: 700 16px var(--display); background: var(--paper); }
.pay-methods label:has(input:checked) { background: var(--yellow); color: #2c261f; box-shadow: var(--shadow-sm); }

/* 表格、统计 */
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { font: 500 11px var(--mono); color: var(--muted); text-align: left; padding: 9px 10px; border-bottom: 2px solid var(--line); letter-spacing: .5px; }
td { padding: 10px; border-bottom: 1px solid var(--soft-line); vertical-align: top; overflow-wrap: anywhere; }
tr:last-child td { border-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--line); border-radius: 12px; overflow: hidden; }
.stat { padding: 14px; border-left: 2px solid var(--line); } .stat:first-child { border-left: 0; background: var(--yellow); color: #2c261f; }
.stat b { display: block; font: 800 32px/1.15 var(--display); } .stat span { color: var(--muted); font-size: 12px; } .stat:first-child span { color: #5a4a10; }
.skeleton { background: linear-gradient(90deg, var(--sand), var(--paper), var(--sand)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 12px; min-height: 80px; border: 2px dashed var(--soft-line); }
@keyframes sk { to { background-position: -200% 0; } }

/* 页脚 */
.site-footer { border-top: 2px solid var(--line); padding: 26px 0; margin-top: 48px; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; } .footer-links a { color: var(--muted); }
.hide, [hidden] { display: none !important; }

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 14px 0; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; justify-content: space-between; }
  .nav a { padding: 5px 10px; font-size: 13px; }
  .header-actions { margin-left: auto; }
  .hero, .grid2, .grid3, .pay-methods { grid-template-columns: 1fr; }
  .strip, .stats { grid-template-columns: 1fr; } .strip div, .stat { border-left: 0; border-top: 2px solid var(--line); } .strip div:first-child, .stat:first-child { border-top: 0; }
  .mock { transform: none; } section.block { padding: 40px 0; }
  h1 { font-size: 28px; }
  input, select, textarea { font-size: 16px !important; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
