@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Quicksand:wght@300;400;500;600;700&display=swap');

:root{
  --lime:#80ff00;
  --lime2:#00ff00;
  --ink:#1f2617;
  --ink-0:#0d1208;
  --ink-1:#141b0d;
  --paper:#f2ffe6;
  --muted:#a7bd8b;
}

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

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:var(--ink-1);
  color:var(--paper);
  font-family:"Quicksand","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  font-size:17px;
  line-height:1.65;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:1;
  pointer-events:none;
  opacity:.15;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='150'%20height='150'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.88'%20numOctaves='3'/%3E%3C/filter%3E%3Crect%20width='150'%20height='150'%20filter='url(%23n)'/%3E%3C/svg%3E");
}

body.lock{overflow:hidden;}

img{display:block;max-width:100%;}
h1,h2,h3{font-weight:700;line-height:1.06;margin:0;}
p{margin:0 0 1em;}
a{color:var(--lime);}

/* ── 顶部滚动条 ── */
.ticker{
  position:relative;
  z-index:3;
  overflow:hidden;
  background:var(--lime);
  color:var(--ink);
  border-bottom:2px solid var(--ink-0);
}
.ticker-track{
  display:flex;
  width:max-content;
  animation:marquee 34s linear infinite;
}
.tk{
  font-family:"Caveat",cursive;
  font-size:21px;
  font-weight:600;
  white-space:nowrap;
  padding:3px 0;
}
.tk::after{
  content:"✦";
  font-size:12px;
  padding:0 14px;
  vertical-align:3px;
}
@keyframes marquee{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}

/* ── 站头 ── */
.masthead{
  position:sticky;
  top:0;
  z-index:40;
  background:var(--ink);
  border-bottom:3px solid var(--lime);
}
.brandrow{padding:10px 16px 2px;}
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  text-decoration:none;
  color:var(--paper);
  transform:rotate(-1.2deg);
}
.brandmark{width:38px;height:38px;object-fit:contain;}
.brandname{
  font-family:"Caveat",cursive;
  font-size:clamp(26px,6.2vw,34px);
  font-weight:700;
  color:var(--lime);
  letter-spacing:.01em;
  text-shadow:2px 2px 0 var(--ink-0);
}
.menurrow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:2px 16px 12px;
}
.mini{
  display:inline-block;
  background:var(--lime2);
  color:var(--ink);
  font-size:16px;
  font-weight:700;
  padding:6px 12px;
  transform:rotate(1.4deg);
}
.burger{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:46px;
  padding:10px 17px;
  background:var(--lime);
  color:var(--ink);
  font:inherit;
  font-weight:700;
  font-size:16px;
  border:0;
  border-radius:0;
  cursor:pointer;
  transform:rotate(-1.6deg);
  transition:transform .15s ease,background .15s ease;
}
.burger:hover{background:#fff;transform:rotate(0) scale(1.03);}
.bars{display:block;}
.bars i{
  display:block;
  width:17px;
  height:2px;
  margin:3px 0;
  background:var(--ink);
}

/* ── 全屏贴纸抽屉 ── */
.drawer{
  position:fixed;
  top:0;
  bottom:0;
  left:0;
  width:min(420px,88vw);
  z-index:80;
  overflow-y:auto;
  padding:24px 18px 48px;
  background:var(--ink-0);
  color:var(--paper);
  border-right:3px solid var(--lime);
  box-shadow:14px 0 0 rgba(128,255,0,.14);
  transform:translateX(-102%);
  transition:transform .3s cubic-bezier(.55,0,.25,1);
}
.drawer.open{transform:none;}
.drawer-head{margin-bottom:18px;}
.drawer-head h2{
  font-family:"Caveat",cursive;
  font-size:46px;
  line-height:1;
  color:var(--lime);
}
.drawer-head .subtitle{
  margin:4px 0 0;
  font-size:16px;
  color:var(--muted);
  line-height:1.4;
}
.dnav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:9px;
}
.dnav li{
  animation:pop .34s cubic-bezier(.2,1.4,.5,1) backwards;
  animation-delay:calc(var(--i,0) * 45ms);
}
@keyframes pop{
  from{opacity:0;transform:translateX(-16px) rotate(-2deg);}
  to{opacity:1;transform:none;}
}
.dnav a{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:50px;
  padding:12px 14px;
  background:var(--lime);
  color:var(--ink);
  text-decoration:none;
  font-size:18px;
  font-weight:700;
  transform:rotate(-.7deg);
  transition:transform .16s ease,background .16s ease;
}
.dnav li:nth-child(even) a{background:var(--lime2);transform:rotate(.9deg);}
.dnav a:hover{background:#fff;transform:rotate(0) translateX(8px);}
.dnav b{
  font-family:"Caveat",cursive;
  font-size:22px;
  font-weight:700;
  opacity:.5;
}

/* ── 首屏拼贴 ── */
.hero{
  position:relative;
  min-height:100svh;
  display:grid;
  place-items:center;
  padding:70px 18px;
  overflow:hidden;
}
.hero-collage{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
}
.hero-img{
  position:absolute;
  width:min(42vw,300px);
  height:auto;
  object-fit:cover;
  mix-blend-mode:screen;
  filter:saturate(160%) contrast(1.06);
  box-shadow:0 0 0 4px var(--ink);
}
.hero-img-1{left:2%;top:9%;transform:rotate(-8deg);}
.hero-img-2{right:2%;bottom:11%;transform:rotate(7deg);}
.hero-copy{
  position:relative;
  z-index:3;
  max-width:22ch;
  text-align:center;
}
.hero-copy h1{
  font-size:clamp(2.4rem,9vw,5.2rem);
  letter-spacing:-.03em;
  color:var(--paper);
  text-shadow:5px 5px 0 var(--lime);
}
.hero-copy .subtitle{
  margin:16px 0 0;
  font-family:"Caveat",cursive;
  font-size:clamp(22px,5.4vw,30px);
  color:var(--lime);
  line-height:1.3;
}

/* ── 贴纸区 ── */
.stickers{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  max-width:1100px;
  margin:0 auto;
  padding:30px 18px 24px;
}
.stickers .sticker{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:12px 16px;
  background:var(--lime);
  color:var(--ink);
  text-decoration:none;
  font-size:16px;
  font-weight:700;
  box-shadow:4px 4px 0 var(--lime2);
  transition:transform .14s ease,background .14s ease;
}
.stickers .sticker:hover{background:#fff;animation:jitter .42s ease infinite;}
.s0{transform:rotate(-2.4deg);}
.s1{transform:rotate(1.9deg);}
.s2{transform:rotate(-1.2deg);}
.s3{transform:rotate(2.7deg);}
@keyframes jitter{
  0%,100%{transform:translate(0,0) rotate(-1deg);}
  50%{transform:translate(2px,-2px) rotate(1.6deg);}
}

/* ── 正文色块 ── */
.prose{
  max-width:780px;
  margin:0 auto;
  padding:0 18px 42px;
}
.prose section{
  position:relative;
  background:var(--paper);
  color:var(--ink);
  padding:26px 20px 10px;
  margin:0 0 16px;
  scroll-margin-top:118px;
}
.prose section:nth-child(odd){background:var(--lime);}
.prose section:nth-child(4n+1){transform:rotate(-.3deg);}
.prose h2{
  font-size:clamp(1.5rem,4.2vw,2.1rem);
  line-height:1.12;
  letter-spacing:-.02em;
  margin:0 0 8px;
  color:var(--ink);
}
.prose h2::before{
  content:"";
  display:block;
  width:52px;
  height:8px;
  margin-bottom:11px;
  background:var(--ink);
}
.prose .subtitle,
.prose .subhead,
.prose .lead,
.prose .desc{
  font-family:"Caveat",cursive;
  font-size:22px;
  line-height:1.35;
  color:#3a4a2a;
  margin:0 0 14px;
}
.prose p{font-size:17px;line-height:1.78;}
.prose a{
  color:var(--ink);
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}
.prose ul,.prose ol{padding-left:22px;line-height:1.78;margin:0 0 1em;}
.prose li{margin-bottom:6px;}
.prose strong{background:var(--lime2);padding:0 3px;}
.prose section:nth-child(odd) strong{background:#fff;}
.prose h3{font-size:1.2rem;margin:0 0 8px;color:var(--ink);}
.prose blockquote{
  margin:0 0 1em;
  padding:6px 0 6px 14px;
  border-left:5px solid var(--ink);
  font-family:"Caveat",cursive;
  font-size:21px;
  line-height:1.4;
}
.prose img{margin:0 0 14px;filter:saturate(150%);}

/* ── 订阅块 ── */
.signup{
  max-width:780px;
  margin:0 auto;
  padding:0 18px 28px;
}
.signup-form{display:flex;flex-wrap:wrap;gap:10px;}
.signup-form input{
  flex:1 1 190px;
  min-height:48px;
  padding:12px 14px;
  border:0;
  border-radius:0;
  background:var(--paper);
  color:var(--ink);
  font:inherit;
  font-size:16px;
}
.signup-form input::placeholder{color:#6a7d55;}
.signup-form button{
  min-height:48px;
  padding:12px 24px;
  border:0;
  border-radius:0;
  background:var(--lime2);
  color:var(--ink);
  font:inherit;
  font-weight:700;
  cursor:pointer;
  transform:rotate(-1.2deg);
  transition:background .15s ease,transform .15s ease;
}
.signup-form button:hover{background:#fff;transform:rotate(0);}

/* ── 页脚 ── */
footer{
  max-width:1100px;
  margin:0 auto;
  padding:24px 18px 46px;
  border-top:3px solid var(--lime);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 16px;
  align-items:start;
}
footer p{margin:0;}
.foot-brand{
  font-family:"Caveat",cursive;
  font-size:clamp(25px,6.2vw,32px);
  line-height:1.15;
  color:var(--lime);
}
.foot-copy{color:var(--muted);font-size:16px;line-height:1.5;}
.foot-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  justify-self:end;
  gap:0 12px;
  text-align:right;
}
.foot-links a{
  display:inline-block;
  padding:9px 0;
  min-height:40px;
  color:var(--paper);
  text-decoration:none;
}
.foot-links a:hover{color:var(--lime);}
.foot-top{justify-self:end;text-align:right;}
.foot-top a{
  display:inline-block;
  padding:9px 0;
  min-height:40px;
  color:var(--lime);
  text-decoration:none;
}
.foot-top a:hover{text-decoration:underline;}

/* ── 窄屏 ── */
@media (max-width:760px){
  body{font-size:16px;}
  .hero{padding:56px 16px;}
  .hero-img{width:43vw;}
  .hero-img-1{top:6%;transform:rotate(-6deg);}
  .hero-img-2{bottom:7%;transform:rotate(5deg);}
  .hero-copy h1{text-shadow:4px 4px 0 var(--lime);}
  .prose section{padding:22px 16px 8px;}
  .prose section:nth-child(4n+1){transform:none;}
  footer{gap:8px 12px;}
  .foot-links{gap:0 10px;}
}

@media (max-width:400px){
  .mini{display:none;}
  .menurrow{justify-content:flex-end;}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
