:root { --o:#FF6B35; --ink:#111; --paper:#fff; --cream:#FFF4EC; --grey:#6b6b6b; }
* { box-sizing:border-box; margin:0; padding:0; }
body { font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif; background:var(--cream); color:var(--ink); }
.wrap { max-width:560px; margin:0 auto; min-height:100vh; background:var(--paper); }
.screen { display:none; padding:24px 20px 40px; position:relative; }
.screen.on { display:block; }
.bar { background:var(--ink); color:var(--o); font-weight:900; font-size:18px; padding:14px 20px; letter-spacing:1px; display:flex; justify-content:space-between; align-items:center; }
.bar span { background:var(--o); color:var(--ink); font-size:12px; padding:2px 8px; transform:rotate(3deg); letter-spacing:0; }
h1 { font-size:44px; line-height:1.15; font-weight:900; }
h2 { font-size:24px; font-weight:900; margin:30px 0 12px; }
h2::before { content:'✚'; color:var(--o); margin-right:8px; }
h3 { font-size:20px; font-weight:900; margin-bottom:6px; }
p { line-height:1.7; }
.hl { background:var(--o); color:var(--paper); padding:0 6px; display:inline-block; transform:rotate(-2deg); }
.lead { margin:14px 0 8px; font-weight:700; font-size:17px; }
.muted { color:var(--grey); font-size:14px; }
.btn { display:block; width:100%; border:4px solid var(--ink); background:var(--o); color:var(--ink); font-size:21px; font-weight:900;
       padding:16px; margin-top:20px; box-shadow:6px 6px 0 var(--ink); cursor:pointer; font-family:inherit; }
.btn:active { transform:translate(4px,4px); box-shadow:2px 2px 0 var(--ink); }
.btn.ghost { background:var(--paper); }
.btn.dark { background:var(--ink); color:var(--o); }
.card { border:4px solid var(--ink); padding:16px; margin-top:16px; box-shadow:6px 6px 0 var(--ink); background:var(--paper); position:relative; }
.card.c { background:var(--cream); }

/* 挂号台 */
.sticker { float:right; margin:4px 4px 0 8px; width:78px; height:78px; border-radius:50%; background:var(--o); border:3px solid var(--ink);
           display:flex; align-items:center; justify-content:center; text-align:center; font-weight:900; font-size:14px; line-height:1.2; transform:rotate(-14deg); box-shadow:3px 3px 0 var(--ink); }
.goals .opt { font-size:19px; font-weight:900; padding:16px 14px; box-shadow:4px 4px 0 var(--ink); }
.goals .opt:nth-child(odd) { transform:rotate(-0.6deg); }
.goals .opt:nth-child(even) { transform:rotate(0.6deg); }
.goals .opt::after { content:'挂号 →'; float:right; color:var(--o); font-size:15px; }
.links { margin-top:16px; }
.links a { color:var(--ink); font-weight:900; font-size:15px; }
.banner, .sharebar { background:var(--ink); color:var(--paper); padding:12px 16px; margin:-24px -20px 20px; font-size:15px; line-height:1.6; }
.banner b, .sharebar b { color:var(--o); }

/* 问诊 */
.progress { height:12px; border:3px solid var(--ink); margin:4px 0 8px; }
.progress i { display:block; height:100%; background:var(--o); width:0; transition:width .2s; }
.qhead { display:flex; justify-content:space-between; font-weight:900; font-size:14px; }
.cheer { font-size:13px; color:var(--o); font-weight:900; }
.qtext { font-size:24px; font-weight:900; line-height:1.4; margin:10px 0 18px; min-height:68px; }
.opt { display:block; width:100%; text-align:left; border:3px solid var(--ink); background:var(--paper); font-size:17px; padding:14px;
       margin-bottom:12px; font-family:inherit; cursor:pointer; line-height:1.5; color:var(--ink); }
.opt.sel { background:var(--o); font-weight:900; }
.opt:active { background:var(--cream); }
input[type=text] { width:100%; border:4px solid var(--ink); font-size:20px; padding:12px; font-family:inherit; }
.nav { display:flex; gap:12px; }
.nav .btn { margin-top:8px; font-size:17px; padding:12px; }

/* 报告单 */
.answer { background:var(--ink); color:var(--paper); margin-bottom:22px; }
.answer .q { color:var(--o); font-weight:900; font-size:15px; }
.answer .concl { font-size:24px; font-weight:900; line-height:1.4; margin:8px 0; }
.answer .step { border-top:2px dashed var(--o); margin-top:10px; padding-top:10px; }
.answer .step b { color:var(--o); }
.sheet { background:var(--o); overflow:hidden; }
.sheet-h { font-weight:900; border-bottom:3px solid var(--ink); padding-bottom:6px; margin-bottom:6px; }
.sheet .muted { color:var(--ink); }
.stamp { position:absolute; right:14px; top:58px; background:var(--o); border:4px double var(--ink); color:var(--ink); font-weight:900; font-size:20px; padding:4px 10px;
         transform:rotate(-16deg); opacity:.85; letter-spacing:2px; }
.type { font-size:54px; font-weight:900; color:var(--paper); -webkit-text-stroke:2px var(--ink); line-height:1.1; margin:4px 0 6px; }
.joke { margin-top:10px; background:var(--paper); border:3px dashed var(--ink); padding:8px 10px; font-weight:900; font-size:15px; }
.score { font-size:72px; font-weight:900; color:var(--o); line-height:1; }
.score small { font-size:22px; color:var(--ink); }
.up { color:#1a9c4b; margin-right:4px; }
.down { color:var(--o); margin-right:4px; }
.tag { display:inline-block; border:2px solid var(--ink); font-size:12px; font-weight:900; padding:1px 6px; margin-right:6px; background:var(--paper); color:var(--ink); }
.tag.o { background:var(--o); }
.row { padding:12px 0; border-bottom:2px dashed #ccc; }
.row:last-child { border-bottom:0; }
.meter { height:14px; border:2px solid var(--ink); margin-top:6px; background:var(--paper); }
.meter i { display:block; height:100%; background:var(--o); }
.phase { border-left:6px solid var(--o); padding:6px 0 6px 12px; margin:12px 0; }
.phase b { display:block; font-size:17px; }
.phase li { margin-left:18px; line-height:1.7; font-size:15px; }
.prod .act { display:inline-block; margin-top:10px; border:3px solid var(--ink); padding:6px 12px; font-weight:900; background:var(--o); cursor:pointer; color:var(--ink); text-decoration:none; font-size:15px; }
.book { border:4px solid var(--ink); background:var(--o); padding:18px; margin-top:28px; box-shadow:6px 6px 0 var(--ink); }
.book ul { margin:8px 0 0 20px; line-height:1.8; }
.book.done { background:var(--cream); }
details.method { border:4px solid var(--ink); padding:14px 16px; margin-top:24px; background:var(--paper); }
details.method summary { cursor:pointer; font-weight:900; font-size:17px; }
details.method p { font-size:14px; margin-top:10px; }
.about { white-space:pre-line; }
canvas.radar { width:100%; max-width:360px; display:block; margin:0 auto; }
.foot { margin-top:30px; font-size:12px; color:var(--grey); line-height:1.7; }

/* 同台体检 */
.vs { background:var(--cream); }
.vs .vtitle { font-weight:900; font-size:20px; }
.vgrid { display:grid; grid-template-columns:1fr 44px 1fr; gap:8px; margin:12px 0; align-items:start; }
.vcol { border:3px solid var(--ink); background:var(--paper); padding:10px; }
.vcol .who { font-weight:900; color:var(--o); }
.vcol .vtype { font-size:22px; font-weight:900; line-height:1.2; }
.vcol .vscore { font-size:44px; font-weight:900; color:var(--o); line-height:1.1; }
.vmid { font-size:22px; font-weight:900; text-align:center; padding-top:40px; }
.vverdict { font-size:18px; font-weight:900; border-top:3px solid var(--ink); padding-top:10px; }

/* 弹层 */
.modal { position:fixed; inset:0; background:rgba(0,0,0,.85); display:none; align-items:center; justify-content:center; flex-direction:column; z-index:9; padding:20px; }
.modal.on { display:flex; }
.modal img { max-width:100%; max-height:78vh; border:4px solid var(--o); }
.modal > p { color:var(--paper); margin-top:12px; font-weight:900; }
.paybox { background:var(--paper); border:4px solid var(--o); width:100%; max-width:340px; padding:20px; text-align:center; }
.payhead { background:var(--ink); color:var(--o); font-weight:900; padding:8px; margin:-20px -20px 16px; font-size:17px; }
.paybox .qr { width:220px; height:220px; margin:0 auto; border:3px solid var(--ink); }
.paybox .qr img { width:100%; height:100%; border:0; max-height:none; object-fit:contain; }
.paybox .amount { font-size:34px; font-weight:900; margin:12px 0 4px; }
.paybox p { margin-top:6px; font-size:14px; }
.paybox .btn { font-size:18px; padding:12px; margin-top:14px; }
.paybox textarea { width:100%; height:140px; border:3px solid var(--ink); padding:8px; font-size:14px; font-family:inherit; }
.toast { position:fixed; left:50%; bottom:40px; transform:translateX(-50%); background:var(--ink); color:var(--o); font-weight:900; padding:10px 18px; display:none; z-index:10; }
