:root{
  --bg:#F4F3F1;--deep:#E6E4E0;--paper:#FFFFFF;--soft:#EDECEA;
  --ink:#161616;--text:#2A2A2A;--muted:#5C5C5C;--quiet:#8A8A8A;
  --black:#161616;--charcoal:#2E2E2E;--silver:#C8C4BC;--ember:#B43A32;--frost:#FAF9F7;
  --border:rgba(22,22,22,.14);--shadow:0 12px 28px rgba(16,16,16,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.7;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%;object-fit:contain;object-position:center}
.site-head{position:fixed;z-index:60;left:0;right:0;top:0}
.head-wrap,.footer-inner,.site-main{width:min(960px,calc(100% - 32px));margin:0 auto}
.top-strip{height:18px;background:#161616;color:#FAF9F7;font-size:12px}
.top-strip .head-wrap{height:18px;display:flex;align-items:center;justify-content:space-between}
.top-search{border:0;background:transparent;color:#FAF9F7;padding:0 2px;height:18px}
.brand-bar{height:54px;background:#FAF9F7;border-bottom:1px solid var(--border)}
.brand-row{height:54px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand-home{display:inline-flex;align-items:center;min-height:44px;font-size:16px;color:#161616}
.brand-logo{height:24px;width:auto;max-width:150px}
.brand-actions{display:flex;align-items:center;gap:8px}
.head-app-link,.menu-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border-radius:10px;white-space:nowrap;font-size:14px}
.head-app-link{background:#161616;color:#FAF9F7;box-shadow:0 6px 16px rgba(16,16,16,.18)}
.menu-button{border:1px solid var(--border);background:#fff;color:#161616}
.pin-nav{height:44px;background:#EDECEA;border-bottom:1px solid var(--border)}
.pin-row{height:44px;display:flex;align-items:center;gap:10px}
.pin-link{height:34px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(22,22,22,.35);border-radius:9px;font-size:13px;background:#fff}
.pin-mark{width:12px;height:16px;border:1px solid #161616;border-radius:3px;display:inline-block}
.pin-link.is-current{background:#161616;color:#FAF9F7;border-color:#161616;box-shadow:0 6px 16px rgba(16,16,16,.18)}
.pin-link.is-current .pin-mark{background:#FAF9F7;border-color:#FAF9F7}
.site-main{padding-top:140px;padding-bottom:56px}
h1,h2,h3{color:#161616;margin-top:0}
h1{font-size:24px;line-height:1.3;margin-bottom:14px}
h2{font-size:20px;margin-bottom:12px}
h3{font-size:16px;margin-bottom:8px}
p{margin:0 0 14px}
.breadcrumb{font-size:13px;color:#5C5C5C;margin:0 0 18px}
.breadcrumb a{text-decoration:underline;text-underline-offset:3px}
.page-intro,.home-intro{padding:22px 0 28px}
.kicker{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#5C5C5C;margin-bottom:12px}
.kicker::before{content:"";width:12px;height:16px;border-radius:3px;background:#161616;box-shadow:0 0 0 2px rgba(200,196,188,.75)}
.lead{font-size:16px;color:#2A2A2A;max-width:760px}
.primary-button,.secondary-button{min-height:42px;padding:0 16px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;transition:filter .18s ease,box-shadow .18s ease,transform .18s ease}
.primary-button{color:#FAF9F7;background:linear-gradient(135deg,#3A3A3A 0%,#161616 55%,#0C0C0C 100%);box-shadow:0 6px 16px rgba(16,16,16,.18)}
.secondary-button{background:#fff;color:#161616;border:1px solid var(--border)}
.primary-button:hover,.pin-link.is-current:hover,.mobile-bottom a.is-current:hover{filter:brightness(1.08);box-shadow:0 0 0 3px rgba(196,164,74,.28),0 10px 24px rgba(16,16,16,.28)}
.primary-button:active,.pin-link.is-current:active,.mobile-bottom a.is-current:active{filter:brightness(1.12);box-shadow:0 0 0 4px rgba(180,58,50,.35),0 0 22px rgba(200,196,188,.45)}
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #C8C4BC;outline-offset:2px}
.section{padding:30px 0;border-top:1px solid var(--border)}
.section-title-row{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:14px}
.section-title-row p{margin:0;color:#5C5C5C;font-size:13px}
.paper,.note-card,.topic-card,.status-card,.faq-item,.article-block{background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow)}
.paper{padding:20px}
.image-slot{background:#FAF9F7;border:1px solid var(--border);border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.image-slot img{width:100%;height:100%;object-fit:contain}
.slot-wide{height:168px;width:100%}
.slot-small{height:160px;width:100%}
.slot-pin{height:176px;width:240px;max-width:100%}
.slot-app{height:320px;width:240px;max-width:100%}
.slot-banner{height:200px;width:100%}
.cut-layout{display:grid;grid-template-columns:240px 1fr;gap:24px;align-items:start}
.cut-copy{padding-top:10px}
.double-ink{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}
.double-ink .story{background:#161616;color:#FAF9F7;border-radius:10px;padding:18px}
.double-ink .story h3{color:#FAF9F7}
.double-ink .story p{color:#E6E4E0}
.page-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.page-pair .paper:first-child{border-top:4px solid #161616}
.status-list{display:grid;gap:12px}
.status-row{background:#fff;border:1px solid var(--border);border-radius:10px;padding:16px;display:grid;grid-template-columns:130px 1fr;gap:16px;align-items:start}
.status-badge{display:inline-flex;min-height:34px;align-items:center;justify-content:center;border-radius:8px;background:#161616;color:#FAF9F7;font-size:13px;padding:0 10px}
.status-badge.pending{background:#B43A32}
.status-badge.working{background:#2E2E2E}
.longread{max-width:780px;margin:0 auto}
.longread .article-block{padding:22px;margin-bottom:16px}
.topic-list{display:grid;gap:14px}
.topic-card{padding:18px;display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:start}
.topic-card .topic-index{font-weight:800;color:#B43A32;letter-spacing:.08em}
.wrap-pin::after{content:"";display:block;clear:both}
.wrap-pin .float-media{float:right;margin:0 0 18px 24px;width:240px}
.wrap-pin .icon-box{display:flex;align-items:center;gap:12px;background:#EDECEA;border-radius:10px;padding:12px;margin-bottom:10px}
.wrap-pin .icon-box img{width:48px;height:48px}
.terms .article-block{padding:20px;margin-bottom:14px}
.inline-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.inline-links a{min-height:40px;display:inline-flex;align-items:center;padding:0 13px;background:#EDECEA;border-radius:9px;border:1px solid var(--border)}
.faq-list{display:grid;gap:12px}
.faq-item{padding:18px}
.faq-item h3{display:flex;gap:10px}
.faq-item h3::before{content:"Q";color:#B43A32}
.mini-faq{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mini-faq .faq-item{box-shadow:none}
.brand-block{background:#161616;color:#E6E4E0;border-radius:10px;padding:22px}
.brand-block h2,.brand-block h3{color:#FAF9F7}
.brand-block a{color:#FAF9F7;text-decoration:underline}
.site-footer{background:#101010;color:#E6E4E0;border-top:1px solid #C8C4BC;padding:30px 0 26px;font-size:13px}
.footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.footer-logo{height:24px;width:auto}
.footer-brand div{display:flex;flex-direction:column}
.footer-brand strong{color:#FAF9F7;font-size:16px}
.footer-brand span{color:#C8C4BC;font-size:12px}
.footer-groups{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.footer-groups h3{color:#FAF9F7;margin-bottom:10px}
.footer-groups a{display:block;color:#E6E4E0;margin:5px 0}
.footer-note{border-top:1px solid rgba(200,196,188,.25);margin-top:20px;padding-top:16px;color:#C8C4BC}
.copyright{margin-bottom:0;color:#8A8A8A}
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:75;opacity:0;pointer-events:none;transition:opacity .18s ease}
.overlay.is-open{opacity:1;pointer-events:auto}
.site-sheet{position:fixed;left:0;right:0;bottom:0;z-index:80;background:#FAF9F7;border-top:1px solid var(--border);box-shadow:0 -16px 40px rgba(0,0,0,.16);max-height:200px;transform:translateY(110%);visibility:hidden;pointer-events:none;transition:transform .18s ease,visibility .18s ease;padding:14px 16px;overflow:auto}
.site-sheet.is-open{transform:translateY(0);visibility:visible;pointer-events:auto}
.sheet-top{width:min(960px,100%);margin:0 auto 10px;display:flex;align-items:center;justify-content:space-between}
.sheet-brand{display:flex;align-items:center;gap:10px}
.sheet-brand img{height:24px;max-width:130px}
.close-button{min-height:40px;border-radius:9px;border:1px solid var(--border);background:#fff;color:#161616;padding:0 12px}
.sheet-grid{width:min(960px,100%);margin:0 auto;display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:20px}
.sheet-grid h3{margin-bottom:6px}
.sheet-grid a{display:flex;align-items:baseline;gap:8px;margin:3px 0}
.sheet-grid b{font-size:13px;white-space:nowrap}
.sheet-grid span{font-size:12px;color:#5C5C5C}
.search-panel{position:fixed;z-index:82;left:0;right:0;top:72px;visibility:hidden;pointer-events:none;opacity:0;transition:opacity .18s ease}
.search-panel.is-open{visibility:visible;pointer-events:auto;opacity:1}
.search-card{width:min(720px,calc(100% - 32px));margin:0 auto;background:#FAF9F7;border:1px solid var(--border);border-radius:0 0 12px 12px;box-shadow:0 16px 36px rgba(0,0,0,.16);padding:18px}
.search-head{display:flex;justify-content:space-between;gap:16px}
.search-head p{font-size:13px;color:#5C5C5C}
.search-form{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}
.search-form label{font-size:13px}
.search-form input{height:42px;border:1px solid var(--border);border-radius:9px;padding:0 12px;background:#fff;color:#161616;min-width:0}
.search-presets{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.search-presets a{padding:6px 10px;background:#EDECEA;border-radius:8px;font-size:13px}
.mobile-bottom{display:none}
.modal-open{overflow:hidden}

@media (max-width:720px){
  .head-wrap,.footer-inner,.site-main{width:calc(100% - 32px)}
  .pin-nav{display:none}
  .site-main{padding-top:88px;padding-bottom:82px}
  .brand-actions{gap:4px}
  .head-app-link,.menu-button{padding:0 10px}
  .cut-layout,.double-ink,.page-pair,.topic-card{grid-template-columns:1fr}
  .cut-layout .slot-pin{margin:0 auto}
  .status-row{grid-template-columns:1fr}
  .mini-faq{grid-template-columns:1fr}
  .footer-groups{grid-template-columns:1fr 1fr;gap:18px}
  .wrap-pin .float-media{float:none;width:100%;margin:0 0 18px}
  .wrap-pin .slot-app{margin:0 auto}
  .site-sheet{max-height:66vh;padding-bottom:calc(16px + env(safe-area-inset-bottom))}
  .sheet-grid{grid-template-columns:1fr;gap:16px}
  .sheet-grid a{display:grid;grid-template-columns:120px 1fr;gap:8px}
  .search-panel{top:0;bottom:0;background:#161616}
  .search-card{width:100%;height:100%;border:0;border-radius:0;background:#161616;color:#FAF9F7;padding:72px 16px 20px}
  .search-card strong,.search-card label{color:#FAF9F7}
  .search-head p{color:#C8C4BC}
  .search-form{grid-template-columns:1fr}
  .search-form input{width:100%}
  .search-presets a{background:#2E2E2E;color:#FAF9F7}
  .mobile-bottom{position:fixed;z-index:55;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);height:calc(48px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#FAF9F7;border-top:1px solid var(--border)}
  .mobile-bottom a{display:flex;align-items:center;justify-content:center;font-size:13px}
  .mobile-bottom a.is-current{background:#161616;color:#FAF9F7;box-shadow:0 6px 16px rgba(16,16,16,.18)}
}
