:root {
  --bg: #07080c;
  --panel: #0d1016;
  --panel-2: #11151d;
  --line: #1c222c;
  --text: #f3f4f6;
  --muted: #9aa3b2;
  --dim: #6b7380;
  --red: #ff2e4d;
  --red-ink: #ff5a72;
  --red-soft: rgba(255, 46, 77, 0.12);
  --red-line: rgba(255, 46, 77, 0.45);
  --serif: 'Noto Serif', 'Times New Roman', serif;
  --num: 'Oswald', 'Arial Narrow', sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 Inter, system-ui, sans-serif; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* top strip, nav, CA bar */
.strip { background: #0a0d12; border-bottom: 1px solid var(--line); text-align: center; padding: 7px 16px; font-size: 13px; font-weight: 600; color: var(--red-ink); }
.strip a:hover { text-decoration: underline; }
.nav { display: flex; align-items: center; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 22px/1 var(--num); letter-spacing: 0.5px; }
.brand img { width: 30px; height: 30px; border-radius: 50%; }
.brand small { font: 600 13px Inter, sans-serif; color: var(--red-ink); }
.links { display: flex; gap: 18px; margin-left: auto; font-weight: 500; color: var(--muted); font-size: 15px; }
.links a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid #2a313d; background: #0f131a; color: var(--text); cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: #3a4352; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover { background: #ff4762; }
.lang { width: 42px; padding: 0; }
.cabar { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; background: #0b0e14; border-bottom: 1px solid var(--line); font-size: 13px; }
.cabar b { color: var(--red-ink); font-weight: 600; }
.cabar code { font: 500 13px ui-monospace, Menlo, monospace; color: #d6dae1; word-break: break-all; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border: 1px solid var(--red-line); border-radius: 999px; color: var(--red-ink); font-size: 13px; font-weight: 600; background: transparent; cursor: pointer; }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; min-height: 760px; overflow: hidden;
  background: radial-gradient(900px 500px at 0% 100%, rgba(255, 46, 77, 0.16), transparent 70%), var(--bg); }
.hero-copy { padding: 70px 40px 60px 80px; position: relative; z-index: 2; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--red-ink); text-transform: uppercase; }
.hero h1 { font: 700 96px/1 var(--serif); margin: 26px 0 10px; letter-spacing: -1px; }
.cn { color: var(--red-ink); letter-spacing: 4px; font-weight: 600; font-size: 17px; }
.tag { font: 400 26px/1.35 var(--serif); margin: 22px 0 18px; }
.lede { color: #c9ced6; max-width: 520px; font-size: 17px; }
.count { margin: 22px 0 14px; }
.live { display: flex; gap: 10px; color: var(--muted); font-size: 14px; max-width: 560px; }
.live::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-top: 7px; box-shadow: 0 0 0 4px var(--red-soft); }
.lifecard { margin: 22px 0 6px; max-width: 520px; background: rgba(13, 16, 22, 0.85); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.lifecard .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--muted); }
.lifecard .row b { color: var(--text); font-weight: 600; }
.bar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 10px 0; }
.bar i { height: 10px; border-radius: 3px; background: var(--red); }
.bar i.off { background: #252b35; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 14px; }
.note { color: #c9ced6; font-size: 15px; }
.dots { display: flex; align-items: center; gap: 12px; margin: 22px 0; }
.dots i { width: 34px; height: 2px; background: #333a46; }
.dots i.on { background: var(--red); }
.dots a { color: var(--muted); font-size: 13px; text-decoration: underline; margin-left: 6px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.soc { display: inline-flex; gap: 6px; align-items: center; border: 1px solid #262d38; border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 700; }
.soc span { color: var(--red-ink); font-weight: 500; }
.fine { color: var(--dim); font-size: 13px; margin-top: 24px; max-width: 560px; }
.hero-photo { position: relative; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 8, 12, 0) 28%), linear-gradient(0deg, var(--bg) 0%, rgba(7, 8, 12, 0) 22%); }
.ai { position: absolute; top: 14px; right: 14px; z-index: 3; background: rgba(20, 22, 28, 0.82); color: #e8eaee; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.ai.l { left: 12px; right: auto; }

/* sections */
section { padding: 80px 0 10px; }
.sec { display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 30px; }
.sec .n { font: 700 72px/0.9 var(--num); color: var(--red); }
.sec h2 { font: 700 46px/1.1 var(--serif); margin: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--red-ink); text-transform: uppercase; margin: 46px 0 4px; }
h3 { font: 700 32px/1.2 var(--serif); margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 22px; font-size: 17px; }
p.body { color: #c9ced6; max-width: 720px; font-size: 17px; }

/* profile card */
.profile { display: grid; grid-template-columns: 380px 1fr; gap: 30px; background: linear-gradient(180deg, #0e1219, #0b0e13); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.profile .pic { border-radius: 16px; overflow: hidden; position: relative; align-self: start; }
.profile .pic img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.profile .pic .cap { padding: 14px 4px 0; }
.profile .pic .cap b { font: 700 22px var(--serif); display: block; }
.facts { border: 1px solid var(--red-line); border-radius: 16px; padding: 16px; margin: 16px 0 20px; background: rgba(255, 46, 77, 0.04); }
.fact { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 7px 0; }
.lbl { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--red-ink); text-transform: uppercase; padding-top: 3px; }
.lbl.g { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { border: 1px solid var(--red-line); color: var(--red-ink); border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 700; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 22px; }
.cols3 ul { list-style: none; padding: 0 0 0 14px; margin: 6px 0 0; color: #c9ced6; font-size: 15px; }
.cols3 li { margin-bottom: 4px; }
.swatch { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: -3px; margin-right: 4px; border: 1px solid #333; }
hr.thin { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

/* posts */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.post .ph { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.post .ph img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.kind { position: absolute; right: 10px; bottom: 10px; background: rgba(15, 18, 24, 0.9); color: var(--red-ink); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.post p { margin: 10px 0 6px; font-size: 14px; color: #d6dae1; }
.cost { font: 500 12px ui-monospace, Menlo, monospace; color: var(--dim); }
.cost a { color: var(--red-ink); }

/* clips */
.clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.clip .ph { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.clip .ph img { aspect-ratio: 9/16; object-fit: cover; width: 100%; }
.play { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.play::after { content: ''; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.clip h4 { font: 700 16px var(--serif); margin: 12px 0 2px; }
.clip .where { color: var(--red-ink); font-size: 12px; font-weight: 700; }
.clip .zh { color: #c9ced6; font-size: 13px; margin: 6px 0 0; }
.clip .en { color: var(--muted); font-size: 13px; margin: 0; }

/* bloodline */
.tree { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 30px; text-align: center; }
.node { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.node img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--red); }
.node b { font: 700 18px var(--serif); }
.node small { color: var(--muted); font-size: 13px; }
.branch { width: 2px; height: 34px; background: var(--red-line); margin: 10px auto 0; }
.kids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-top: 2px solid var(--red-line); padding-top: 24px; max-width: 760px; margin: 0 auto; }
.kid { border: 1px dashed #2e3541; border-radius: 16px; padding: 18px 12px; color: var(--muted); font-size: 14px; }
.kid .q { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; border: 2px dashed #3a4250; display: grid; place-items: center; font: 700 26px var(--serif); color: #4a5262; }
.kid b { display: block; color: var(--text); font-size: 15px; }

/* seasons */
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.season { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.season img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.season .in { padding: 16px; }
.season h4 { font: 700 21px var(--serif); margin: 6px 0 8px; }
.season p { color: #c9ced6; font-size: 14px; margin: 0 0 10px; }
.season .m { font-size: 13px; color: #c9ced6; margin-bottom: 8px; }
.season .m b { font-size: 11px; letter-spacing: 1.5px; color: var(--muted); margin-right: 6px; }
.now { border: 1px solid var(--red-line); color: var(--red-ink); border-radius: 999px; padding: 0 7px; font-size: 11px; margin-left: 6px; }

/* looks */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tabs span { border: 1px solid #262d38; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14px; color: #c9ced6; }
.tabs span.on { background: var(--red); border-color: var(--red); color: #fff; }
.looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.look { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.look img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.look b { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; font-size: 14px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent); }

/* create */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.card { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.card .ov { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; background: linear-gradient(0deg, rgba(7, 8, 12, 0.95) 40%, transparent); }
.card .msg { background: rgba(20, 24, 31, 0.85); border-radius: 10px; padding: 8px 10px; font: 14px/1.4 var(--serif); }
.card .msg i { display: block; font: 700 12px Inter, sans-serif; color: var(--red-ink); font-style: normal; }
.card .who { margin-top: 8px; font: 700 17px var(--serif); }
.card .who span { font: 700 12px Inter, sans-serif; color: var(--red-ink); margin-left: 6px; }
.card .who small { display: block; font: 600 12px Inter, sans-serif; color: var(--muted); }
.card .life { position: absolute; top: 10px; right: 10px; background: rgba(15, 18, 24, 0.9); border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 700; }
.card .life.ok { color: #7ee0a1; }
.card .life.low { color: #ffb347; }
.card .life.dead { color: #9aa3b2; }
.cta { display: flex; gap: 18px; align-items: center; margin: 30px 0 70px; flex-wrap: wrap; }
.cta a.more { color: var(--red-ink); font-weight: 700; font-size: 17px; }

/* how */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.how div { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.how .n { font: 700 40px/1 var(--num); color: var(--red); }
.how h4 { font: 700 20px var(--serif); margin: 10px 0 6px; }
.how p { color: #c9ced6; font-size: 15px; margin: 0; }
.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: 12px; overflow: hidden; margin: 18px 0 8px; font-weight: 700; font-size: 14px; }
.split div { padding: 10px 14px; }

footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 22px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); }
footer b { color: #c9ced6; }

@media (max-width: 900px) {
  .links { display: none; }
  .nav { gap: 10px; padding: 12px 16px; }
  .nav .wallet { display: none; }
  .nav .create { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; height: 520px; }
  .hero-photo::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 8, 12, 0) 40%); }
  .hero-copy { padding: 0 16px 40px; margin-top: -60px; }
  .hero h1 { font-size: 58px; margin-top: 14px; }
  .tag { font-size: 21px; }
  .wrap { padding: 0 16px; }
  .sec .n { font-size: 52px; }
  .sec h2 { font-size: 32px; }
  h3 { font-size: 26px; }
  .profile { grid-template-columns: 1fr; padding: 16px; }
  .cols3 { grid-template-columns: 1fr 1fr; }
  .posts, .clips, .looks, .cards, .seasons { grid-template-columns: 1fr 1fr; }
  .how, .split { grid-template-columns: 1fr; }
  .kids { grid-template-columns: 1fr; }
}

/* live screen of Lin Fei's browser */
.livescreen { position: relative; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #000; max-width: 900px; }
.livescreen img { width: 100%; aspect-ratio: 1280/860; object-fit: cover; }
