/* ===================================================================
   51吃瓜 · 单页官网样式表
   视觉：号外快报 —— 暖米白纸底 + 番茄红 + 暖金，虚线时间线 + 圆点节点
   =================================================================== */

:root{
  --paper:#FAF5EA;
  --panel:#F1E8D6;
  --ink:#201A13;
  --red:#E8442E;
  --gold:#F2B64B;
  --muted:#6B5F4E;
  --line:#D9CCB2;
  --white:#FFFFFF;
  --wrap:1100px;
  --pad:18px;
  --mono:ui-monospace,"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;
}

*,*::before,*::after{box-sizing:border-box}

html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:"Segoe UI","Microsoft YaHei","PingFang SC","Hiragino Sans GB",system-ui,sans-serif;
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3,p,figure,figcaption,ol,ul,dl,dd{margin:0}
ol,ul{padding:0;list-style:none}

:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

.wrap{
  width:100%;
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 var(--pad);
}

/* ---------- 按钮 ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 22px;
  font-size:16px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  border:2px solid var(--ink);
  border-radius:0;
  cursor:pointer;
}
.btn-ink{background:var(--ink);color:var(--paper)}
.btn-ink:hover{background:#372D22}
.btn-line{background:transparent;color:var(--ink)}
.btn-line:hover{background:var(--panel)}
.btn-s{padding:8px 13px;font-size:14px}

/* ---------- 顶栏 ---------- */
.head{
  position:sticky;
  top:0;
  z-index:60;
  background:var(--paper);
  border-bottom:2px solid var(--ink);
}
.head-row{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:58px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:17px;
  font-weight:800;
  letter-spacing:-0.02em;
  text-decoration:none;
  flex:1 1 auto;
  min-width:0;
}
.brand img{width:30px;height:30px}
.brand-tag{
  font-family:var(--mono);
  font-size:10px;
  font-weight:600;
  letter-spacing:0.06em;
  color:var(--ink);
  background:var(--gold);
  padding:1px 5px;
}
.menu{display:none}
@media (max-width:639.98px){
  .menu{
    position:absolute;
    left:0;
    right:0;
    top:100%;
    flex-direction:column;
    gap:0;
    padding:2px var(--pad) 10px;
    background:var(--paper);
    border-bottom:2px solid var(--ink);
  }
  body.nav-open .menu{display:flex}
  .menu a{
    font-size:15px;
    font-weight:700;
    text-decoration:none;
    padding:12px 0;
    border-bottom:1px dashed var(--line);
  }
  .menu a:last-child{border-bottom:0}
}
.burger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:38px;
  padding:0;
  border:2px solid var(--ink);
  background:transparent;
  color:var(--ink);
  cursor:pointer;
  flex:0 0 auto;
}

/* ---------- 首屏 ---------- */
.hero{padding:30px 0 34px}
.kicker{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.06em;
  color:var(--muted);
}
.kicker span{
  background:var(--red);
  color:var(--paper);
  padding:2px 7px;
  margin-right:8px;
  letter-spacing:0.08em;
}
h1{
  margin:14px 0 0;
  font-size:clamp(50px,14vw,88px);
  font-weight:800;
  line-height:0.92;
  letter-spacing:-0.05em;
}
.lead{
  margin-top:18px;
  font-size:16px;
  line-height:1.85;
  color:var(--muted);
  max-width:32em;
}
.hero-btns{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}
.quick{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin:26px 0 0;
  border-top:2px solid var(--ink);
}
.quick li{
  padding:10px 8px 12px;
  border-left:1px dashed var(--line);
}
.quick li:first-child{padding-left:0;border-left:0}
.quick b{display:block;font-size:15px;font-weight:800;line-height:1.3}
.quick span{display:block;margin-top:2px;font-size:11.5px;color:var(--muted)}

/* 截图卡 */
.hero-card{
  position:relative;
  margin-top:24px;
  padding:12px 12px 14px;
  background:var(--panel);
  border:1px solid var(--line);
}
.shot{background:var(--white);border:1px solid var(--line);padding:6px}
.shot img{width:100%;aspect-ratio:600/1067;object-fit:cover}
.hero-card figcaption{
  margin-top:10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.05em;
  color:var(--muted);
}
.pin{
  position:absolute;
  width:16px;
  height:16px;
  border-radius:50%;
  background:var(--gold);
  border:2px solid var(--ink);
}
.pin-a{top:-8px;left:18px}
.pin-b{bottom:-8px;right:18px}

/* ---------- 栏目条 ---------- */
.strip{background:var(--ink);color:var(--paper)}
.strip-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
  padding-top:12px;
  padding-bottom:12px;
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:0.12em;
}
.strip-row i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--red);
}

/* ---------- 区块 ---------- */
.sec{padding:34px 0}
.sec-tint{background:var(--panel)}
.sec-head{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:12px;
  border-bottom:2px solid var(--ink);
  padding-bottom:10px;
}
.sec-no{
  font-family:var(--mono);
  font-size:13px;
  font-weight:700;
  letter-spacing:0.08em;
  color:var(--red);
}
.sec-name{font-size:22px;font-weight:800;letter-spacing:-0.02em}
.sec-sub{
  margin-left:auto;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.05em;
  color:var(--muted);
}
.sec-lead{
  margin-top:14px;
  font-size:15px;
  line-height:1.8;
  color:var(--muted);
  max-width:44em;
}

/* ---------- 时间线 ---------- */
.tl{
  margin:22px 0 0;
  padding-left:0;
  border-left:2px dashed var(--line);
}
.tl-item{
  position:relative;
  padding:13px 0 13px 28px;
}
.tl-item::before{
  content:"";
  position:absolute;
  left:-7px;
  top:21px;
  width:12px;
  height:12px;
  background:var(--red);
  border:2px solid var(--paper);
  border-radius:50%;
}
.tl-item h3{font-size:16.5px;font-weight:800;line-height:1.35}
.tl-item p{margin-top:5px;font-size:14px;line-height:1.8;color:var(--muted)}

/* ---------- 我的页对照 ---------- */
.me-row{
  display:grid;
  gap:24px;
  margin-top:30px;
  align-items:start;
}
.me-card{
  background:var(--panel);
  border:1px solid var(--line);
  padding:12px;
}
.me-card figcaption{
  margin-top:10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.05em;
  color:var(--muted);
}
.me-list h3{font-size:17px;font-weight:800}
.me-list ul{margin-top:14px}
.me-list li{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:12px;
  padding:11px 0;
  border-bottom:1px dashed var(--line);
  font-size:14px;
  color:var(--muted);
}
.me-list li:last-child{border-bottom:0}
.me-list li span{
  font-weight:800;
  color:var(--ink);
}
.me-list li span::before{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:7px;
  background:var(--gold);
  border:1.5px solid var(--ink);
  border-radius:50%;
}

/* ---------- 三步 ---------- */
.flow{
  display:grid;
  gap:22px;
  margin-top:22px;
}
.flow li{padding-top:4px}
.f-no{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  background:var(--red);
  color:var(--paper);
  font-family:var(--mono);
  font-size:13px;
  font-weight:700;
}
.flow h3{margin:10px 0 0;font-size:17.5px;font-weight:800}
.flow p{margin-top:6px;font-size:14px;line-height:1.8;color:var(--muted)}

/* ---------- 规格 ---------- */
.spec{
  display:grid;
  gap:12px;
  margin-top:22px;
}
.spec div{
  background:var(--white);
  border:1px solid var(--line);
  padding:12px 14px 14px;
}
.spec dt{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.06em;
  color:var(--red);
}
.spec dd{margin-top:5px;font-size:15.5px;font-weight:800;line-height:1.45}
.spec span{display:block;margin-top:3px;font-size:12.5px;color:var(--muted)}

/* ---------- 引文 ---------- */
.sec-quote{padding:30px 0 36px}
.quote{
  font-size:clamp(20px,4.8vw,27px);
  font-weight:800;
  line-height:1.5;
  letter-spacing:-0.02em;
  max-width:26em;
  text-wrap:balance;
}
.quote-src{
  margin-top:10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.05em;
  color:var(--muted);
}

/* ---------- 问答 ---------- */
.asks{margin-top:18px;border-top:2px solid var(--ink)}
.asks details{border-bottom:1px dashed var(--line)}
.asks details:last-child{border-bottom:2px solid var(--ink)}
.asks summary{
  position:relative;
  list-style:none;
  cursor:pointer;
  padding:14px 40px 14px 0;
  font-size:16px;
  font-weight:800;
  line-height:1.5;
}
.asks summary::-webkit-details-marker{display:none}
.asks summary::after{
  content:"+";
  position:absolute;
  right:0;
  top:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  line-height:1;
  font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif;
  font-size:17px;
  font-weight:700;
  color:var(--paper);
  background:var(--red);
  border:2px solid var(--ink);
  border-radius:50%;
}
.asks details[open] summary::after{content:"–";background:var(--ink);color:var(--gold)}
.asks p{
  padding:0 0 15px;
  font-size:14.5px;
  line-height:1.85;
  color:var(--muted);
  max-width:42em;
}

/* ---------- 下载 ---------- */
.cta{
  background:var(--ink);
  color:var(--paper);
  padding:36px 0 40px;
}
.cta-in{display:grid;gap:22px}
.cta-idx{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.08em;
  color:var(--gold);
}
.cta h2{
  margin-top:12px;
  font-size:clamp(24px,5.6vw,31px);
  font-weight:800;
  line-height:1.25;
  letter-spacing:-0.02em;
}
.cta-in > div > p{
  margin-top:11px;
  font-size:14px;
  line-height:1.8;
  color:#B9AE9C;
  max-width:40em;
}
.cta-act{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.btn-gold{
  background:var(--gold);
  color:var(--ink);
  border-color:var(--gold);
  padding:14px 26px;
  font-size:17px;
}
.btn-gold:hover{background:#F7C873;border-color:#F7C873}
.cta-meta{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.05em;
  color:#8C8070;
}

/* ---------- 页脚 ---------- */
.foot{
  background:var(--paper);
  border-top:1px dashed var(--line);
  padding:14px 0 20px;
}
.foot-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
  font-size:12px;
  color:var(--muted);
}
.foot-mark{
  display:inline-block;
  width:22px;
  height:22px;
  line-height:22px;
  text-align:center;
  background:var(--red);
  color:var(--paper);
  font-family:var(--mono);
  font-size:11px;
  font-weight:700;
}
.foot-name{font-size:13px;font-weight:800;color:var(--ink)}
.foot .copy{margin-left:auto;font-family:var(--mono);font-size:11px}

/* ================= 640 以上 ================= */
@media (min-width:640px){
  :root{--pad:26px}
  .head-row{min-height:64px;gap:16px}
  .burger{display:none}
  .menu{
    display:flex;
    position:static;
    flex-direction:row;
    gap:24px;
    padding:0;
    background:transparent;
    border:0;
  }
  .menu a{
    font-size:14px;
    font-weight:700;
    text-decoration:none;
    padding:3px 0;
    border-bottom:2px solid transparent;
  }
  .menu a:hover{border-bottom-color:var(--gold)}
  .head-row .btn-s{margin-left:auto}

  .hero{padding:40px 0 40px}
  .lead{font-size:17px}
  .flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
  .spec{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quick b{font-size:16px}
}

/* ================= 900 以上 ================= */
@media (min-width:900px){
  .hero-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    align-items:start;
    gap:52px;
  }
  h1{font-size:84px}
  .hero-card{margin-top:6px}

  .sec{padding:46px 0}
  .tl{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:34px;
    border-left:0;
    padding-left:0;
  }
  .tl-item{
    padding-left:26px;
    border-left:2px dashed var(--line);
  }

  .me-row{grid-template-columns:340px minmax(0,1fr);gap:40px}
  .spec{grid-template-columns:repeat(4,minmax(0,1fr))}
  .cta{padding:44px 0 48px}
  .cta-in{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:36px}
  .cta-act{flex-direction:column;align-items:flex-end;gap:10px}
  .asks p{max-width:38em}
  .foot-row{font-size:13px}
}

@media (prefers-reduced-motion:reduce){
  *{transition:none !important;animation:none !important}
}
