@charset "UTF-8";
/* ===== 漫蛙2 · 摊开的书（旧纸 / 书布 / 烫金 / 朱印） ===== */
:root{
  --paper:#efe6d0; --paper2:#e4d8bb; --page:#f7efda;
  --ink:#2a241c; --mut:#73684f; --dim:#a2957a;
  --cloth:#243a5e; --cloth-d:#1a2c49; --gold:#c8a24a; --seal:#b23a2e;
  --serif:"Noto Serif SC",serif; --sans:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

/* ===== 书脊导航 ===== */
.mast{position:sticky;top:0;z-index:100;background:rgba(36,58,94,.96);backdrop-filter:blur(10px);
  border-bottom:2px solid var(--gold);box-shadow:0 4px 18px rgba(26,44,73,.35)}
.mast-in{max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:18px;padding:10px 22px}
.mast-brand{display:flex;align-items:center;gap:11px;color:#f4ecd6}
.mast-brand img{width:42px;height:42px;border-radius:8px;border:1.5px solid var(--gold)}
.mast-brand b{font-family:var(--serif);font-size:22px;font-weight:900;letter-spacing:2px;line-height:1}
.mast-brand small{display:block;font-size:8.5px;letter-spacing:2px;color:#b9a77e;margin-top:3px}
.mast-links{display:flex;gap:22px;margin:0 auto}
.mast-links a{font-size:13.5px;color:#cfc4a3;transition:.2s}
.mast-links a i{font-style:normal;color:var(--gold);margin-right:5px;font-family:var(--serif)}
.mast-links a:hover,.mast-links a.active{color:#fff}
.mast-seal{background:var(--seal);color:#fff;font-weight:700;font-size:14px;letter-spacing:2px;
  border:1.5px solid #e0b89a;border-radius:6px;padding:9px 20px;transition:.2s;
  box-shadow:3px 3px 0 rgba(0,0,0,.25)}
.mast-seal:hover{transform:translateY(-1px);background:#c34736}
.mast-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px;margin-left:auto}
.mast-toggle span{width:23px;height:2.5px;background:var(--gold);border-radius:2px}

/* ===== 摊开的书 ===== */
.book-sec{padding:60px 20px 30px;
  background:
    radial-gradient(ellipse at 20% 0%,rgba(200,162,74,.14),transparent 60%),
    radial-gradient(ellipse at 80% 100%,rgba(178,58,46,.08),transparent 55%)}
.book{display:grid;grid-template-columns:1fr 1fr;max-width:1100px;margin:0 auto;background:var(--page);
  border-radius:8px;box-shadow:0 34px 70px rgba(42,36,28,.32);position:relative;overflow:visible}
.book::before{content:'';position:absolute;left:50%;top:0;bottom:0;width:26px;transform:translateX(-50%);z-index:2;
  background:linear-gradient(to right,rgba(42,36,28,0) 0,rgba(42,36,28,.14) 45%,rgba(20,16,10,.34) 50%,rgba(42,36,28,.14) 55%,rgba(42,36,28,0) 100%)}
.page{padding:58px 54px;position:relative}
.page-l{border-radius:8px 0 0 8px}
.page-r{border-radius:0 8px 8px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}
.edition-line{font-family:var(--serif);font-size:12px;letter-spacing:3px;color:var(--dim)}
.page-l h1{display:flex;align-items:center;gap:16px;margin:20px 0 12px}
.h1-cn{font-family:var(--serif);font-size:clamp(56px,7vw,84px);font-weight:900;color:var(--cloth);line-height:1}
.h1-stamp{font-style:normal;font-family:var(--serif);font-size:26px;font-weight:900;color:var(--seal);
  border:2.5px solid var(--seal);border-radius:8px;width:52px;height:52px;display:grid;place-items:center;
  transform:rotate(-8deg);background:rgba(178,58,46,.05)}
.h1-sub{font-family:var(--serif);font-size:clamp(18px,2.2vw,22px);font-weight:700;color:var(--ink)}
.page-lead{font-size:14.5px;line-height:2.1;color:var(--mut);margin:22px 0}
.page-cta{margin-top:28px}
.btn-seal{display:inline-block;background:var(--seal);color:#fff;font-family:var(--serif);font-weight:700;
  font-size:17px;letter-spacing:2px;border:1.5px solid #8f2d22;border-radius:8px;padding:15px 34px;
  box-shadow:4px 4px 0 rgba(42,36,28,.28);transition:.15s}
.btn-seal:hover{transform:translate(-1px,-1px);box-shadow:6px 6px 0 rgba(42,36,28,.28);background:#c34736}
.btn-seal:active{transform:translate(3px,3px);box-shadow:1px 1px 0 rgba(42,36,28,.28)}
.btn-seal.lg{font-size:19px;padding:17px 44px}
.page-note{font-size:12px;color:var(--dim);line-height:1.9;margin-top:14px}
.plate-hero{background:#fffaf0;border:1px solid #d3c4a0;border-radius:4px;padding:16px 16px 0;
  box-shadow:0 14px 30px rgba(42,36,28,.18);transform:rotate(1.2deg);max-width:280px}
.plate-hero img{border:1px solid #cdbd96;width:100%}
.plate-hero figcaption{font-family:var(--serif);font-size:12.5px;color:var(--mut);text-align:center;padding:10px 0;letter-spacing:1px}
.page-folio{font-family:var(--serif);font-size:12px;color:var(--dim);letter-spacing:3px}

.book-stats{max-width:1100px;margin:22px auto 0;display:grid;grid-template-columns:repeat(4,1fr);
  background:var(--page);border:1px solid #d3c4a0;border-radius:8px;box-shadow:0 14px 34px rgba(42,36,28,.14)}
.book-stats>div{padding:20px 10px;text-align:center;border-right:1px dashed #c9ba94}
.book-stats>div:last-child{border-right:0}
.book-stats strong{display:block;font-family:var(--serif);font-size:27px;font-weight:900;color:var(--cloth)}
.book-stats strong i{font-style:normal;font-size:15px;color:var(--seal)}
.book-stats span{font-size:12px;color:var(--mut);margin-top:3px;display:block}

/* ===== 通用分节 ===== */
.sec{padding:72px 20px}
.sec-in{max-width:1100px;margin:0 auto}
.sec-in.narrow{max-width:780px}
.sec-head{text-align:center;margin-bottom:42px}
.sec-en{font-size:11.5px;letter-spacing:4px;color:var(--gold);font-weight:700}
.sec-head h2{font-family:var(--serif);font-size:clamp(29px,4vw,39px);font-weight:900;margin:9px 0 8px;letter-spacing:3px}
.sec-sub{font-size:14px;color:var(--mut)}
.sec-head.light .sec-en{color:var(--gold)}
.sec-head.light h2{color:#f3ecd7}
.sec-head.light .sec-sub{color:#b6ab8e}

/* ===== 目录 ===== */
.toc{list-style:none;counter-reset:chapter;background:var(--page);border:1px solid #d3c4a0;
  border-radius:8px;padding:10px 34px;box-shadow:0 16px 36px rgba(42,36,28,.12)}
.toc-row{display:flex;align-items:baseline;gap:16px;padding:22px 0;border-bottom:1px dashed #c3b48c}
.toc li:last-child .toc-row{border-bottom:0}
.toc-no{font-family:var(--serif);font-size:23px;font-weight:900;color:var(--seal);width:34px;flex:none}
.toc-tit{font-family:var(--serif);font-size:20px;font-weight:700}
.toc-tit small{display:block;font-family:var(--sans);font-size:12.5px;font-weight:400;color:var(--mut);margin-top:5px}
.toc-dots{flex:1;border-bottom:2px dotted #b3a582;transform:translateY(-5px);margin:0 6px}
.toc-pg{font-family:var(--serif);font-size:17px;color:var(--gold);font-weight:700;flex:none}

/* ===== 书布周历 ===== */
.sec-cloth{background:linear-gradient(160deg,var(--cloth),var(--cloth-d));border-top:3px double var(--gold);border-bottom:3px double var(--gold)}
.week-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:12px}
.wk{position:relative;background:var(--page);border-radius:6px;padding:16px 13px;
  box-shadow:0 8px 20px rgba(0,0,0,.25);transition:.2s}
.wk::after{content:'';position:absolute;right:0;top:0;border-width:0 16px 16px 0;border-style:solid;
  border-color:transparent var(--paper2) transparent transparent;opacity:.8}
.wk b{font-family:var(--serif);font-size:19px;display:block}
.wk p{font-size:12px;line-height:1.6;color:var(--mut);margin:9px 0}
.wk em{font-style:normal;font-family:var(--serif);font-size:13.5px;color:var(--seal);font-weight:700}
.wk.today{outline:2.5px solid var(--seal);outline-offset:2px}
.wk.today::before{content:'今';position:absolute;top:-11px;left:-11px;width:32px;height:32px;
  background:var(--seal);color:#f5e8d0;font-family:var(--serif);font-weight:900;font-size:17px;
  display:grid;place-items:center;border-radius:6px;transform:rotate(-8deg);box-shadow:0 4px 10px rgba(0,0,0,.35);z-index:2}

/* ===== 插图页 ===== */
.plates{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.plate{background:var(--page);border:1px solid #d3c4a0;padding:14px 14px 0;box-shadow:0 12px 28px rgba(42,36,28,.12);
  transition:.2s;border-radius:4px}
.plate:nth-child(odd){transform:rotate(-.8deg)}
.plate:nth-child(even){transform:rotate(.8deg)}
.plate:hover{transform:rotate(0) translateY(-5px)}
.plate img{border:1px solid #cdbd96;width:100%}
.plate figcaption{display:flex;justify-content:space-between;gap:6px;border-top:3px double #c3b48c;
  margin-top:12px;padding:9px 2px 11px;font-family:var(--serif);font-size:11px;color:var(--mut);white-space:nowrap}

/* ===== 读者来信 ===== */
.sec-paper{background:linear-gradient(180deg,var(--paper2),var(--paper))}
.letters{display:flex;flex-direction:column;gap:20px}
.letter{position:relative;background:#faf3e1;border:1px solid #d8caa4;border-radius:5px;
  padding:26px 32px;box-shadow:0 8px 22px rgba(42,36,28,.09)}
.letter.stamped::after{content:'蛙';position:absolute;right:26px;bottom:22px;width:46px;height:46px;
  display:grid;place-items:center;font-family:var(--serif);font-size:23px;color:rgba(178,58,46,.75);
  border:2.5px solid rgba(178,58,46,.75);border-radius:8px;transform:rotate(-10deg)}
.letter-head{display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid #e0d3ac;
  padding-bottom:10px;margin-bottom:12px}
.letter-head b{font-family:var(--serif);font-size:17px}
.letter-head time{font-family:var(--serif);font-size:12.5px;color:var(--dim)}
.letter-sal{font-size:13.5px;color:var(--mut);margin-bottom:6px}
.letter-body{font-size:14px;line-height:2.1;text-indent:2em;color:#4a412f}
.letter-sign{text-align:right;font-family:var(--serif);font-size:13px;color:var(--mut);margin-top:10px}

/* ===== FAQ ===== */
.faq{background:var(--page);border:1px solid #d3c4a0;border-radius:6px;margin-bottom:12px;
  box-shadow:0 5px 14px rgba(42,36,28,.06);overflow:hidden}
.faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;
  padding:18px 22px;font-family:var(--serif);font-size:18px;font-weight:700}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'＋';margin-left:auto;color:var(--seal);font-size:20px;font-family:var(--sans)}
.faq[open] summary::after{content:'−'}
.faq summary i{font-style:normal;font-size:12px;font-family:var(--serif);color:#fff;background:var(--cloth);
  border-radius:4px;padding:3px 8px;letter-spacing:2px}
.faq-a{padding:0 22px 18px 22px}
.faq-a p{font-size:14px;line-height:2;color:var(--mut)}

/* ===== 封底 ===== */
.backcover{position:relative;background:linear-gradient(160deg,var(--cloth),var(--cloth-d));
  border:4px double var(--gold);border-radius:10px;padding:54px 46px 42px;text-align:center;color:#f3ecd7;
  box-shadow:0 30px 60px rgba(26,44,73,.4)}
.bc-kicker{font-family:var(--serif);font-size:13px;letter-spacing:3px;color:var(--gold)}
.backcover h2{font-family:var(--serif);font-size:clamp(29px,4.5vw,42px);font-weight:900;line-height:1.5;margin:18px 0 12px;letter-spacing:2px}
.backcover h2 b{color:#e8c673}
.bc-lead{font-size:14px;color:#c8bea0}
.bc-btns{display:flex;justify-content:center;gap:18px;margin:28px 0 8px;flex-wrap:wrap}
.btn-gold{display:inline-block;background:transparent;color:#ecd9a3;font-family:var(--serif);font-weight:700;
  font-size:17px;letter-spacing:2px;border:1.5px solid var(--gold);border-radius:8px;padding:15px 32px;transition:.2s}
.btn-gold:hover{background:rgba(200,162,74,.16)}
.bc-spec{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:26px}
.bc-spec li{font-size:13px;border:1px solid rgba(200,162,74,.55);border-radius:999px;padding:8px 16px;color:#e3d8b6}
.related{text-align:left;margin-top:32px;border-top:1px solid rgba(200,162,74,.4);padding-top:22px}
.related h3{font-family:var(--serif);font-size:19px;color:var(--gold);margin-bottom:12px}
.related p{display:flex;flex-wrap:wrap;gap:10px}
.related a{font-size:13px;border:1px solid rgba(200,162,74,.5);border-radius:999px;padding:7px 15px;
  color:#e6dcb9;transition:.2s}
.related a:hover{background:rgba(200,162,74,.16)}

.foot{text-align:center;padding:38px 0 6px}
.foot nav{display:flex;justify-content:center;flex-wrap:wrap;gap:22px;margin-bottom:14px}
.foot nav a{font-size:13px;color:var(--mut)}
.foot nav a:hover{color:var(--seal)}
.foot p{font-size:12px;color:var(--dim);line-height:2}
.folio-line{font-family:var(--serif);letter-spacing:1px}

.to-top{position:fixed;right:22px;bottom:28px;width:48px;height:48px;border-radius:50%;border:2px solid var(--gold);
  cursor:pointer;background:var(--cloth);color:var(--gold);font-size:19px;
  opacity:0;pointer-events:none;transition:.25s;z-index:90;box-shadow:0 8px 22px rgba(26,44,73,.4)}
.to-top.show{opacity:1;pointer-events:auto}

/* ===== 移动端 ===== */
@media(max-width:900px){
  .mast-in{padding:9px 14px;flex-wrap:wrap}
  .mast-links{display:none;order:4;flex-basis:100%;flex-direction:column;gap:0;margin:0;
    background:var(--cloth-d);border:1px solid var(--gold);border-radius:8px;padding:6px}
  .mast-links.open{display:flex}
  .mast-links a{padding:13px 14px;font-size:16px}
  .mast-toggle{display:flex}
  .book-sec{padding:36px 14px 20px}
  .book{grid-template-columns:1fr}
  .book::before{display:none}
  .page{padding:34px 26px}
  .page-r{border-radius:0 0 8px 8px}
  .plate-hero{transform:none}
  .book-stats{grid-template-columns:repeat(2,1fr)}
  .book-stats>div:nth-child(2){border-right:0}
  .book-stats>div:nth-child(1),.book-stats>div:nth-child(2){border-bottom:1px dashed #c9ba94}
  .sec{padding:54px 14px}
  .toc{padding:6px 20px}
  .week-grid{display:flex;overflow-x:auto;padding-bottom:12px;-webkit-overflow-scrolling:touch}
  .wk{flex:0 0 132px}
  .plates{grid-template-columns:1fr;max-width:320px;margin:0 auto}
  .plate:nth-child(n){transform:none}
  .bc-btns{flex-direction:column}
  .bc-btns a{text-align:center}
  .backcover{padding:40px 22px 30px}
  .letter{padding:22px 20px}
  .letter.stamped::after{width:38px;height:38px;font-size:19px}
}
