/* IP × 操盘手共赢圈 · 详情页
   风格：米白纸面 + 深胭脂红 + 宋体标题，杂志排版感。
   不用装饰竖杠/短横杠、胶囊标签、发光、emoji。层级靠字号、字重、颜色。 */
:root {
  --paper: #f6f1e9;
  --paper-2: #efe7db;
  --card: #fffdf9;
  --ink: #1f1a17;
  --ink-2: #5b524b;
  --muted: #958a80;
  --line: #e3d8c9;
  --red: #9c1c24;
  --red-deep: #5e0d13;
  --gold: #b48a4a;
  --gold-light: #e7cf9f;
  --night: #1b1614;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: #e9e2d7; font-family: var(--sans); color: var(--ink); line-height: 1.75; font-size: 15px; }
.page { max-width: 520px; margin: 0 auto; background: var(--paper); overflow: hidden; padding-bottom: 80px; }
img { display: block; width: 100%; }
b, strong { font-weight: 700; color: var(--ink); }
.r { color: var(--red); font-weight: 700; }
.mark { background: linear-gradient(transparent 58%, rgba(180,138,74,.32) 58%); font-weight: 700; color: var(--ink); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; color: #fff; padding: 40px 26px 0;
  background: linear-gradient(170deg, #a8222b 0%, var(--red) 40%, var(--red-deep) 100%);
}
.hero .brand { font-size: 13px; letter-spacing: .12em; color: var(--gold-light); }
.hero .brand b { color: #fff; font-family: var(--serif); font-size: 15px; letter-spacing: .06em; }
.hero h1 {
  font-family: var(--serif); font-weight: 900; font-size: 40px; line-height: 1.28;
  margin-top: 34px; letter-spacing: .02em;
}
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero .sub { margin-top: 16px; font-size: 17px; color: rgba(255,255,255,.86); letter-spacing: .06em; }
.hero .who {
  display: grid; grid-template-columns: 1fr 150px; align-items: end; gap: 10px; margin-top: 30px;
}
.hero .who .name { font-family: var(--serif); font-size: 22px; font-weight: 800; }
.hero .who .name small { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--gold-light); margin-left: 8px; letter-spacing: .08em; }
.hero .who p { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 6px; line-height: 1.7; padding-bottom: 26px; }
.hero .portrait { aspect-ratio: 3 / 4; }
.hero .stats {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 -26px;
  background: rgba(0,0,0,.18); padding: 18px 26px 20px; text-align: center;
}
.hero .stats .n { font-family: var(--serif); font-size: 28px; font-weight: 900; color: var(--gold-light); line-height: 1.2; }
.hero .stats .n sup { font-size: 14px; vertical-align: top; margin-left: 1px; }
.hero .stats .t { font-size: 12px; color: rgba(255,255,255,.72); }

/* ---------- 章节通用 ---------- */
.sec { padding: 64px 26px 0; }
.sec-head { display: flex; align-items: baseline; gap: 12px; }
.sec-head .no { font-family: var(--serif); font-size: 44px; font-weight: 900; color: var(--red); line-height: 1; opacity: .9; }
.sec-head h2 { font-family: var(--serif); font-size: 25px; font-weight: 900; line-height: 1.35; }
.sec .kicker { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* 01 信 */
.letter { margin-top: 26px; font-size: 15.5px; color: var(--ink-2); }
.letter p + p { margin-top: 14px; }
.letter .vision {
  margin-top: 26px; font-family: var(--serif); font-size: 21px; line-height: 1.6; font-weight: 800; color: var(--ink);
}
.letter .vision em { font-style: normal; color: var(--red); }
.letter .sign { text-align: right; font-family: var(--serif); font-size: 17px; margin-top: 14px; color: var(--ink); }

/* 02 路径 */
.path { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; margin-top: 24px; text-align: center; }
.path div { font-family: var(--serif); font-weight: 800; font-size: 17px; color: var(--red); background: var(--paper-2); padding: 10px 0; border-radius: 10px; }
.path i { font-style: normal; color: var(--gold); padding: 0 6px; }

.perk { margin-top: 40px; }
.perk .head { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; }
.perk .head .k { font-family: var(--serif); font-size: 15px; font-weight: 900; color: var(--gold); }
.perk h3 { font-family: var(--serif); font-size: 21px; font-weight: 900; line-height: 1.4; }
.perk h4 { font-size: 15px; font-weight: 700; color: var(--red); margin-top: 2px; }
.perk p { color: var(--ink-2); margin-top: 10px; }
.perk .note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* 素材占位：换成真图后把 .ph 换成 <img> */
.ph {
  background: repeating-linear-gradient(135deg, #ece3d5 0 10px, #e8dece 10px 20px);
  color: #9b8d7d; font-size: 12px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 8px; border-radius: 12px; line-height: 1.5;
}
.hero .ph { background: rgba(255,255,255,.08); color: rgba(255,255,255,.55); border-radius: 14px 14px 0 0; }
.shot { margin-top: 18px; aspect-ratio: 4 / 3; }

.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.wall .ph { aspect-ratio: 1; border-radius: 50%; font-size: 10px; }

.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.cities figure .ph { aspect-ratio: 4 / 3; border-radius: 8px; }
.cities figcaption { text-align: center; font-size: 13px; margin-top: 4px; font-family: var(--serif); font-weight: 700; }
.cities figcaption span { font-family: var(--sans); font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 4px; }
.next-meet {
  margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; display: flex; align-items: center; gap: 14px;
}
.next-meet .d { font-family: var(--serif); font-size: 34px; font-weight: 900; color: var(--red); line-height: 1; }
.next-meet .d small { font-size: 14px; }
.next-meet p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* 03 真实反馈（深色段落） */
.night { background: var(--night); color: #f3ece2; margin-top: 64px; padding: 56px 26px 52px; }
.night .sec-head .no { color: var(--gold-light); }
.night .kicker { color: #a89d92; }
.chats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.chats figure .ph { aspect-ratio: 3 / 4; background: #2a2320; color: #786c62; border-radius: 8px; }
.chats figcaption { font-size: 12px; line-height: 1.45; letter-spacing: -.01em; text-align: center; margin-top: 6px; font-weight: 700; color: #f3ece2; }
.night .note { text-align: center; font-size: 12px; color: #7e7369; margin-top: 18px; }

/* 04 适合谁 */
.switch { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 12px; padding: 4px; margin-top: 24px; }
.switch button {
  border: 0; background: transparent; padding: 10px 0; border-radius: 9px; font-size: 15px; font-weight: 700;
  color: var(--ink-2); font-family: var(--serif); cursor: pointer;
}
.switch button.on { background: var(--card); color: var(--red); box-shadow: 0 1px 4px rgba(60,30,10,.1); }
.fit-who { font-size: 13px; color: var(--muted); margin-top: 14px; }
.fit { display: none; margin-top: 6px; }
.fit.on { display: block; }
.fit li { list-style: none; display: grid; grid-template-columns: 34px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fit li:last-child { border-bottom: 0; }
.fit .n { font-family: var(--serif); font-weight: 900; color: var(--gold); font-size: 17px; }
.fit h3 { font-size: 16px; font-weight: 700; }
.fit p { font-size: 14px; color: var(--ink-2); }

.notfit { margin-top: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 22px; }
.notfit h3 { font-family: var(--serif); font-size: 18px; font-weight: 900; }
.notfit ul { margin-top: 8px; }
.notfit li { list-style: none; font-size: 14px; color: var(--ink-2); padding: 5px 0 5px 22px; position: relative; }
.notfit li::before { content: "×"; position: absolute; left: 2px; top: 4px; color: var(--red); font-weight: 700; }
.notfit .end { font-family: var(--serif); font-weight: 900; color: var(--red); margin-top: 14px; font-size: 17px; }

/* 05 加入 */
.join {
  margin: 64px 18px 0; border-radius: 20px; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, var(--red), var(--red-deep));
}
.join .top { padding: 30px 24px 8px; }
.join .top .no { font-family: var(--serif); color: var(--gold-light); font-weight: 900; font-size: 15px; letter-spacing: .1em; }
.join h2 { font-family: var(--serif); font-size: 26px; font-weight: 900; margin-top: 4px; }
.join .price { display: flex; align-items: baseline; gap: 4px; margin-top: 14px; }
.join .price .y { font-family: var(--serif); font-size: 26px; font-weight: 900; color: var(--gold-light); }
.join .price .v { font-family: var(--serif); font-size: 64px; font-weight: 900; color: var(--gold-light); line-height: 1; }
.join .price .u { font-size: 15px; color: rgba(255,255,255,.8); }
.join .was { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 6px; }
.join .was s { margin-right: 8px; }
.join .qrbox { background: var(--card); color: var(--ink); margin: 22px 14px 14px; border-radius: 14px; padding: 18px; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.join .qrbox .ph { aspect-ratio: 1; border-radius: 8px; }
.join .qrbox b { font-family: var(--serif); font-size: 18px; display: block; line-height: 1.45; }
.join .qrbox span { font-size: 12px; color: var(--muted); }

footer { text-align: center; padding: 44px 26px 10px; color: var(--muted); font-size: 12px; }
footer .big { font-family: var(--serif); font-size: 19px; color: var(--ink); font-weight: 900; margin-bottom: 4px; }

/* 底部悬浮报名 */
.float-btn {
  position: fixed; left: 50%; bottom: 14px; transform: translate(-50%, 20px);
  width: calc(100% - 36px); max-width: 484px; padding: 14px; border-radius: 14px;
  background: var(--red); color: #fff; font-size: 16px; font-weight: 700; text-align: center; text-decoration: none;
  box-shadow: 0 10px 26px rgba(94,13,19,.32); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
.float-btn b { color: var(--gold-light); font-family: var(--serif); font-size: 18px; margin: 0 2px; }
.float-btn.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }

/* 滚动渐入 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ================= 视频入口（参考页做法：静音循环预览，点开看完整版） ================= */
.vid { position: relative; border-radius: 14px; overflow: hidden; background: #2a2320; cursor: pointer; aspect-ratio: 16 / 9; }
.vid.tall { aspect-ratio: 3 / 4; }
.vid video, .vid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid .empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(135deg, #e9dfd0 0 10px, #e4d9c8 10px 20px); color: #94877a; font-size: 12px; padding: 10px;
}
.vid .play {
  position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px;
  background: rgba(20,14,12,.62); color: #fff; font-size: 12px; padding: 5px 11px 5px 7px; border-radius: 8px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vid .play svg { width: 16px; height: 16px; flex: none; }
.vcap { font-family: var(--serif); font-weight: 800; font-size: 15px; margin: 18px 0 8px; }
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.vgrid .vcap { font-size: 13.5px; margin: 10px 0 6px; }

/* 全屏播放 */
.modal { position: fixed; inset: 0; background: rgba(10,7,6,.92); z-index: 50; display: none; align-items: center; justify-content: center; }
.modal.on { display: flex; }
.modal video { width: 100%; max-width: 520px; max-height: 86vh; background: #000; }
.modal .x { position: absolute; top: 14px; right: 16px; color: #fff; font-size: 28px; line-height: 1; background: none; border: 0; padding: 8px; cursor: pointer; }
.toast { position: fixed; left: 50%; top: 45%; transform: translateX(-50%); background: rgba(20,14,12,.85); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 14px; z-index: 60; opacity: 0; transition: opacity .25s; pointer-events: none; }
.toast.on { opacity: 1; }

/* ================= 阶段（参考页的「课前 / 课中 / 课后」） ================= */
.phase { font-size: 13px; letter-spacing: .2em; color: var(--gold); font-weight: 700; }
.phase-title { font-family: var(--serif); font-size: 30px; font-weight: 900; line-height: 1.35; margin-top: 8px; }
.phase-title em { font-style: normal; color: var(--red); }
.steps { margin-top: 26px; position: relative; }
.steps::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--gold); opacity: .5; }
.steps li { list-style: none; position: relative; padding: 0 0 22px 32px; }
.steps li::before { content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 4px solid var(--red); box-sizing: border-box; }
.steps h3 { font-size: 17px; font-weight: 800; color: var(--ink); }
.steps p { font-size: 14px; color: var(--ink-2); }

/* 权益（参考页的「交付 01…」） */
.deliver { margin-top: 44px; }
.deliver .tag { font-family: var(--serif); font-size: 14px; font-weight: 900; color: var(--gold); letter-spacing: .1em; }
.deliver h3 { font-family: var(--serif); font-size: 22px; font-weight: 900; line-height: 1.4; margin-top: 2px; }
.deliver p { color: var(--ink-2); margin: 10px 0 14px; }

/* 主理人 */
.host { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.host .photo { aspect-ratio: 4 / 3; }
.host .photo.ph { border-radius: 0; }
.host .body { padding: 20px 20px 22px; }
.host .nm { font-family: var(--serif); font-size: 26px; font-weight: 900; }
.host .nm small { font-family: var(--sans); font-size: 14px; color: var(--red); font-weight: 700; margin-left: 8px; }
.host p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }
.host .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.host .facts div { background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.host .facts b { font-family: var(--serif); font-size: 22px; color: var(--red); display: block; line-height: 1.3; }
.host .facts span { font-size: 12px; color: var(--muted); }

/* 精彩瞬间轮播 */
.carousel { margin: 22px -26px 0; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 26px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { flex: 0 0 82%; scroll-snap-align: center; aspect-ratio: 4 / 3; border-radius: 14px; }
.carousel img { height: 100%; object-fit: cover; border-radius: 14px; }
.counter { text-align: center; margin-top: 12px; font-family: var(--serif); color: var(--muted); font-size: 14px; }
.counter b { color: var(--red); font-size: 20px; }

/* ================= 图文版补充 ================= */
.sec .vid { margin-top: 14px; }
.vgrid .vid { margin-top: 0; }
.ph.square { aspect-ratio: 1; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.duo .side { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 14px; }
.duo .ph { border-radius: 10px; }
.duo h3 { font-family: var(--serif); font-size: 16px; font-weight: 900; margin-top: 10px; }
.duo p { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-top: 2px; }
.punch { font-family: var(--serif); font-size: 18px; line-height: 1.7; margin-top: 22px; text-align: center; color: var(--ink-2); }
.punch b { color: var(--red); }

.deliver .ph.shot { margin-top: 0; }
.deliver .vid { margin-bottom: 10px; }

.night .carousel { margin-top: 22px; margin-left: -26px; margin-right: -26px; }
.night .carousel figure { flex: 0 0 62%; aspect-ratio: auto; }
.chatph { aspect-ratio: 3 / 4; background: #2a2320 !important; color: #786c62 !important; }
.night .carousel figcaption { text-align: center; color: #f3ece2; font-weight: 700; font-size: 14px; margin-top: 8px; font-family: var(--serif); }
.night .counter { color: #8a7e73; font-size: 12px; }
.night .counter b { color: var(--gold-light); }

.host .letter-fold { background: var(--paper); border: 0; border-radius: 10px; margin-top: 16px; padding: 12px 14px; }
.host .letter-fold summary { font-family: var(--serif); font-size: 15px; font-weight: 800; display: flex; justify-content: space-between; cursor: pointer; list-style: none; }
.host .letter-fold summary::-webkit-details-marker { display: none; }
.host .letter-fold summary span { font-family: var(--sans); font-size: 12px; color: var(--red); font-weight: 400; }
.host .letter-fold[open] summary span { visibility: hidden; }
.host .letter { margin-top: 10px; font-size: 14.5px; }
.host .vision { font-family: var(--serif); font-size: 19px; line-height: 1.6; font-weight: 800; margin-top: 18px; }
.host .vision em { font-style: normal; color: var(--red); }
.host .sign { text-align: right; font-family: var(--serif); margin-top: 8px; }
.deliver .note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* 实战圈子：圈内讨论横滑 */
.talk-head { font-family: var(--serif); font-weight: 900; font-size: 17px; margin-top: 28px; }
.carousel.talk { margin-top: 12px; }
.carousel.talk figure { flex: 0 0 62%; aspect-ratio: auto; }
.carousel.talk .ph { aspect-ratio: 3 / 4; border-radius: 12px; }
.carousel.talk img { aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.carousel.talk figcaption { text-align: center; font-size: 14px; font-weight: 700; margin-top: 8px; }

/* ================= 后台上传的真图 ================= */
img.fill { width: 100%; object-fit: cover; display: block; }
.hero img.portrait { object-fit: contain; object-position: center bottom; aspect-ratio: 3 / 4; }
img.shot, img.photo { aspect-ratio: auto; height: auto; border-radius: 12px; }
.host img.photo { border-radius: 0; aspect-ratio: 4 / 3; object-fit: cover; }
.duo img.square { aspect-ratio: 1; border-radius: 10px; }
.join .qrbox img { aspect-ratio: 1; border-radius: 8px; object-fit: contain; background: #fff; }
.wall .member { margin: 0; text-align: center; }
.wall .member img, .wall .member .ph { aspect-ratio: 1; border-radius: 50%; }
.wall .member figcaption { font-size: 11px; color: var(--ink-2); margin-top: 4px; line-height: 1.35; }
.cities img { aspect-ratio: 4 / 3; border-radius: 8px; }
.chats img, .night .carousel img.chatimg { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 8px; }
.carousel.talk img { object-position: top; }
.carousel > img { height: auto; aspect-ratio: 4 / 3; }
.counter i { font-style: normal; }
.lightbox { position: fixed; inset: 0; background: rgba(10,7,6,.94); z-index: 55; display: none; align-items: center; justify-content: center; padding: 16px; }
.lightbox.on { display: flex; }
.lightbox img { max-width: 100%; max-height: 92vh; width: auto; object-fit: contain; border-radius: 6px; }
