/* 出发清单 · 拼贴波普
   高饱和色块 / 旋转贴纸 / 粗描边 / 漫画气泡字 / 撕边小票 */

:root {
  --paper: #FFF6E5;
  --ink: #14110F;
  --pink: #FF4D8D;
  --yellow: #FFE24A;
  --blue: #21C7E8;
  --green: #7ED957;
  --purple: #B07CFF;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

[hidden] { display: none !important; }
* { box-sizing: border-box; }

html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  background:
    radial-gradient(circle at 1px 1px, rgba(20, 17, 15, 0.12) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(115deg, rgba(255, 226, 74, 0.32) 0 28%, transparent 28% 72%, rgba(33, 199, 232, 0.28) 72% 100%),
    var(--paper);
  overflow-x: hidden;
}

/* 顶部散落的贴纸 */
.scrap { position: relative; max-width: 700px; margin: 0 auto; height: 130px; pointer-events: none; }
.scrap-plane { position: absolute; right: 26px; top: 26px; color: var(--ink); transform: rotate(-14deg); filter: drop-shadow(4px 4px 0 var(--yellow)); }
.scrap-stamp {
  position: absolute; right: 14px; top: 84px; transform: rotate(9deg);
  border: 3px solid var(--pink); color: var(--pink); padding: 1px 10px;
  font: 900 15px/1 var(--sans); letter-spacing: 0.14em; border-radius: 3px;
}
.scrap-go {
  position: absolute; left: 12px; top: 64px; transform: rotate(-13deg);
  background: var(--ink); color: var(--yellow); padding: 3px 12px;
  font: 900 13px/1.4 var(--sans); letter-spacing: 0.08em;
  box-shadow: 4px 4px 0 var(--pink);
}
.scrap-dots {
  position: absolute; left: 96px; top: 30px; width: 72px; height: 46px;
  background: radial-gradient(circle, var(--ink) 2px, transparent 2.4px) 0 0 / 11px 11px;
  opacity: 0.55; transform: rotate(7deg);
}

main { max-width: 700px; margin: 0 auto; padding: 0 22px 90px; position: relative; }
h1, h2, h3 { line-height: 1.2; }
p { max-width: 640px; }

.eyebrow {
  display: inline-block; margin: 0 0 16px;
  background: var(--blue); color: var(--ink);
  border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  padding: 4px 12px; font: 900 11px/1.4 var(--sans); letter-spacing: 0.12em;
  transform: rotate(-2deg);
}

.hero { padding-top: 6px; }
h1 {
  font-size: clamp(46px, 9vw, 78px); font-weight: 900; letter-spacing: 0.02em;
  margin: 0 0 12px; color: var(--yellow);
  -webkit-text-stroke: 2.5px var(--ink);
  text-shadow: 5px 5px 0 var(--pink), 9px 9px 0 var(--ink);
}
h1 .bang { color: var(--pink); -webkit-text-stroke: 2.5px var(--ink); }
.lede { font-size: 14px; color: #3d3630; margin: 0 0 10px; max-width: 640px; }

/* 漫画气泡 */
.bubble {
  position: relative; display: inline-block; max-width: 100%;
  background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  border-radius: 46% 54% 50% 50% / 58% 46% 54% 42%;
  padding: 18px 26px; margin: 10px 0 22px;
  font-weight: 900; font-size: clamp(16px, 3.4vw, 21px); transform: rotate(-1.5deg);
}
.bubble::after {
  content: ''; position: absolute; left: 38px; bottom: -19px;
  width: 26px; height: 22px; background: #fff;
  border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: skewX(-24deg) rotate(6deg);
}
.hero-bubble { background: var(--pink); color: #fff; }
.hero-bubble::after { background: var(--pink); }

/* 贴纸卡片表单 */
.scrapbook { margin-top: 38px; display: grid; gap: 22px; }
.card {
  position: relative; border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink);
  padding: 30px 22px 18px; margin: 0; min-width: 0;
}
.card-a { background: var(--yellow); transform: rotate(-0.8deg); }
.card-b { background: var(--blue); transform: rotate(0.7deg); }
.card-c { background: var(--green); transform: rotate(-0.6deg); }
.card-d { background: var(--purple); transform: rotate(0.5deg); }
.tape-label {
  position: absolute; top: -17px; left: 16px;
  background: var(--ink); color: var(--paper);
  padding: 4px 14px; font: 900 12px/1.4 var(--sans); letter-spacing: 0.08em;
  transform: rotate(-2deg); border: 2px solid var(--ink);
}
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.field { display: flex; align-items: center; gap: 9px; min-width: 0; position: relative; }
.field.full { grid-column: 1 / -1; }
.field.tall { display: block; }
.field > span {
  flex: none; font-size: 13px; font-weight: 800; min-width: 5.2em;
  background: rgba(255, 255, 255, 0.82); border: 2px solid var(--ink);
  padding: 2px 7px; transform: rotate(-1.5deg);
}
.field input, .field select, .field textarea {
  flex: 1; min-width: 0; width: 100%;
  background: #fffdf7; border: 2.5px solid var(--ink); border-radius: 0;
  padding: 8px 10px; font: 700 15px/1.6 var(--sans); color: var(--ink);
  outline: none; box-shadow: 3px 3px 0 rgba(20, 17, 15, 0.25);
}
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; box-shadow: 4px 4px 0 var(--pink); }
.field textarea { resize: vertical; min-height: 76px; }
.field em { font-style: normal; font-size: 11px; font-weight: 800; flex: none; }
.hint { font-size: 12px; margin: 12px 0 0; color: #3d3630; }

.actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  font-family: var(--sans); cursor: pointer; font-weight: 900; font-size: 15px;
  border: 3px solid var(--ink); padding: 12px 24px; letter-spacing: 0.04em;
  box-shadow: 6px 6px 0 var(--ink); transform: rotate(-1deg);
}
.btn:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px) rotate(-1deg); box-shadow: 2px 2px 0 var(--ink); }
.btn.solid { background: var(--pink); color: #fff; }
.btn.ghost { background: #fff; color: var(--ink); transform: rotate(1.5deg); }
.btn:disabled { opacity: 0.5; cursor: wait; }
.note { font-size: 12px; color: #3d3630; margin-top: 26px; }

/* 预览 */
.section-head { margin-top: 48px; }
.section-head.tight { margin-top: 44px; }
.section-head h2 { font-size: 26px; font-weight: 900; margin: 0 0 8px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 26px; }
.stat {
  position: relative; min-height: 122px; padding: 30px 8px 18px;
  text-align: center; clip-path: polygon(50% 0%, 61% 11%, 76% 7%, 79% 23%, 94% 28%, 87% 42%, 100% 53%, 87% 65%, 94% 79%, 79% 83%, 76% 100%, 61% 95%, 50% 100%, 39% 95%, 24% 100%, 21% 83%, 6% 79%, 13% 65%, 0% 53%, 13% 42%, 6% 28%, 21% 23%, 24% 7%, 39% 11%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.stat-wrap { position: relative; filter: drop-shadow(4px 4px 0 var(--ink)); }
.stat-wrap:nth-child(1) .stat { background: var(--yellow); }
.stat-wrap:nth-child(2) .stat { background: var(--pink); color: #fff; }
.stat-wrap:nth-child(3) .stat { background: var(--blue); }
.stat-wrap:nth-child(4) .stat { background: var(--green); }
.stat b { display: block; font-weight: 900; font-size: clamp(15px, 3vw, 22px); line-height: 1.1; overflow-wrap: anywhere; }
.stat b small { font-size: 11px; font-weight: 800; }
.stat span { font-size: 11px; font-weight: 800; margin-top: 6px; }

.grade-row { display: flex; gap: 26px; align-items: flex-start; margin-top: 32px; flex-wrap: wrap; }
.grade-sticker {
  flex: none; width: 96px; height: 96px; transform: rotate(-8deg);
  background: var(--yellow); border: 3.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.grade-sticker b { font-size: 44px; font-weight: 900; line-height: 1; color: var(--pink); -webkit-text-stroke: 1.5px var(--ink); }
.grade-sticker span { font-size: 11px; font-weight: 800; }
.notes { margin: 0; padding: 0; list-style: none; flex: 1; min-width: 240px; }
.notes li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 13px; max-width: 640px; }
.notes li::before {
  content: ''; position: absolute; left: 0; top: 0.35em; width: 15px; height: 15px;
  background: var(--yellow); border: 2.5px solid var(--ink); transform: rotate(-12deg);
}

.table-wrap { overflow-x: auto; margin-top: 14px; padding: 4px 0 10px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fffdf7; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
th {
  text-align: left; background: var(--ink); color: var(--paper);
  padding: 9px 10px; font-size: 11px; letter-spacing: 0.08em; white-space: nowrap;
}
td { border-top: 2px dashed rgba(20, 17, 15, 0.28); padding: 9px 10px; vertical-align: top; }
td.id { font-weight: 900; color: var(--pink); white-space: nowrap; }
td.num { font-weight: 900; white-space: nowrap; }

/* 案子与报告 */
.case-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  margin-top: 40px; padding-bottom: 12px; border-bottom: 3px solid var(--ink); flex-wrap: wrap;
}
.code { font-size: 12px; font-weight: 800; }
.state { background: #fff; border: 2.5px solid var(--ink); padding: 3px 12px; font-size: 11px; font-weight: 900; transform: rotate(-2deg); }
.state.paid { background: var(--green); }

.report-head { margin-top: 34px; }
.report-head h2 {
  display: inline-block; font-size: clamp(26px, 5vw, 38px); font-weight: 900; color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink); text-shadow: 4px 4px 0 var(--pink), 7px 7px 0 var(--ink);
  margin: 0 0 14px;
}
.report-head > p { font-size: 14px; font-weight: 700; }
.report-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.report-meta span { background: var(--blue); border: 2.5px solid var(--ink); padding: 2px 9px; font-size: 11px; font-weight: 800; }

.chapter {
  position: relative; margin-top: 34px; background: #fffdf7;
  border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 22px 20px 18px;
}
.chapter:nth-of-type(4n+1) { transform: rotate(-0.6deg); }
.chapter:nth-of-type(4n+2) { transform: rotate(0.5deg); }
.chapter:nth-of-type(4n+3) { transform: rotate(-0.4deg); }
.chapter::before {
  content: ''; position: absolute; top: -13px; left: 18px; width: 74px; height: 21px;
  background: rgba(255, 226, 74, 0.85); border: 2px solid var(--ink); transform: rotate(-4deg);
}
.chapter h3 { margin: 0 0 10px; font-size: 18px; font-weight: 900; }
.chapter h3 small { display: inline-block; background: var(--pink); color: #fff; border: 2px solid var(--ink); padding: 1px 8px; font-size: 11px; margin-right: 10px; transform: rotate(-2deg); }
.chapter p { margin: 0; max-width: 640px; font-size: 14px; }
.fact-refs { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.fact-refs span { background: var(--ink); color: var(--yellow); padding: 2px 9px; font-size: 11px; font-weight: 800; transform: rotate(-2deg); }

.block-title {
  margin: 42px 0 16px; font-weight: 900; font-size: 17px; display: flex; align-items: center; gap: 10px;
}
.block-title::before { content: ''; width: 14px; height: 14px; background: var(--pink); border: 2.5px solid var(--ink); transform: rotate(45deg); }
.block-title::after { content: ''; flex: 1; height: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 9px, transparent 9px 16px); }

.risk {
  position: relative; margin: 0 0 18px; background: #fff; border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink); border-radius: 30px 34px 28px 32px / 30px 26px 34px 28px;
  padding: 16px 20px; transform: rotate(-0.5deg);
}
.risk:nth-of-type(even) { transform: rotate(0.6deg); }
.risk::after {
  content: ''; position: absolute; left: 30px; bottom: -15px; width: 22px; height: 18px;
  background: #fff; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: skewX(-22deg) rotate(5deg);
}
.risk .claim { margin: 0; font-weight: 900; font-size: 15px; }
.risk .exposure { margin: 6px 0 8px; font-size: 12px; font-weight: 800; color: var(--pink); }
.risk .exposure::before { content: '注意：'; }
.risk .reply { margin: 0; font-size: 13px; max-width: 640px; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow li {
  display: flex; gap: 14px; align-items: flex-start; background: var(--yellow);
  border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 10px 14px;
  transform: rotate(-0.7deg);
}
.flow li:nth-child(even) { background: var(--blue); transform: rotate(0.6deg); }
.flow li:nth-child(3n) { background: var(--green); transform: rotate(-0.4deg); }
.flow .when { flex: none; font-weight: 900; font-size: 12px; background: var(--ink); color: var(--paper); padding: 1px 9px; transform: rotate(-2deg); }
.flow li > span:last-child { font-size: 13px; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checklist li {
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
  background: #fffdf7; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  padding: 9px 12px; font-size: 13px; transform: rotate(-0.5deg);
}
.checklist li:nth-child(even) { transform: rotate(0.5deg); }
.checklist li span { flex: none; font-size: 11px; font-weight: 800; background: var(--pink); color: #fff; border: 2px solid var(--ink); padding: 0 8px; }

.paywall {
  position: relative; border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink);
  background: var(--yellow); padding: 24px 22px; margin-top: 30px; transform: rotate(-0.5deg);
}
.paywall h3 { margin: 0 0 8px; font-size: 20px; font-weight: 900; }
.paywall p { font-size: 13px; margin: 0 0 6px; }
.price-line {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 0; border-top: 2.5px dashed var(--ink); flex-wrap: wrap;
}
.price-line > span { font-weight: 800; }
.price-line > div { display: flex; align-items: center; gap: 14px; }
.price-line b { font-size: 21px; font-weight: 900; }
.price-line small { font-size: 11px; font-weight: 800; }
.pay-links { margin-top: 40px; }
.pay-links a { color: var(--pink); font-weight: 800; font-size: 13px; }

.order-box { margin-top: 28px; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); background: #fffdf7; padding: 16px 18px; font-size: 13px; }
.order-box b { font-weight: 900; }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) rotate(-1deg);
  background: var(--ink); color: var(--paper); border: 3px solid var(--pink);
  padding: 11px 22px; font-weight: 800; font-size: 13px; max-width: min(88vw, 520px); z-index: 9;
}

@media (max-width: 640px) {
  .fields { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .checklist { grid-template-columns: 1fr; }
  .scrap { height: 108px; }
  .scrap-plane { right: 10px; top: 18px; }
  .scrap-stamp { top: 70px; }
}
