* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system,"PingFang SC","Microsoft YaHei",sans-serif; background:#f6f7f9; color:#222; -webkit-tap-highlight-color:transparent; }
.topbar { position:sticky; top:0; z-index:10; display:flex; justify-content:space-between; align-items:center; padding:12px 16px; background:#fff; border-bottom:1px solid #eee; }
.brand { font-size:17px; font-weight:600; color:#1d7a6b; }
.top-actions { display:flex; gap:8px; }
button { font-family:inherit; cursor:pointer; border:none; }
.primary-sm { background:#1d7a6b; color:#fff; padding:6px 14px; border-radius:16px; font-size:13px; }
.ghost { background:#eef6f4; color:#1d7a6b; padding:6px 12px; border-radius:16px; font-size:13px; }
.hero { background:linear-gradient(135deg,#1d7a6b,#2a9d8f); color:#fff; padding:34px 20px; text-align:center; }
.hero h1 { font-size:22px; margin-bottom:8px; }
.hero p { font-size:13px; opacity:.85; }
.sections { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding:16px; }
.sec { background:#fff; border-radius:12px; padding:14px 8px; text-align:center; font-size:13px; border:1px solid #eee; box-shadow:0 1px 3px rgba(0,0,0,.03); }
.sec.active { border-color:#1d7a6b; color:#1d7a6b; background:#eef6f4; }
.sec .ico { font-size:20px; display:block; margin-bottom:6px; }
.content-area { padding:0 16px 90px; }
.hint { color:#999; text-align:center; padding:40px 0; font-size:14px; }
.card { background:#fff; border-radius:12px; padding:14px; margin-bottom:10px; display:flex; gap:12px; align-items:center; border:1px solid #eee; }
.card .cover { width:56px; height:56px; border-radius:10px; background:#e8f3f0; display:flex; align-items:center; justify-content:center; color:#1d7a6b; font-size:12px; flex-shrink:0; }
.card .info { flex:1; min-width:0; }
.card .info h3 { font-size:15px; margin-bottom:4px; }
.card .info p { font-size:12px; color:#888; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.card .badge { font-size:11px; padding:3px 8px; border-radius:10px; background:#f0f0f0; color:#666; flex-shrink:0; }
.card .badge.lv2 { background:#fdf0e6; color:#b5651d; }
.card .badge.free { background:#eef6f4; color:#1d7a6b; }
.card .badge.lock { background:#f5f5f5; color:#aaa; }
.tabbar { position:fixed; bottom:0; left:0; right:0; display:flex; background:#fff; border-top:1px solid #eee; z-index:10; }
.tabbar button { flex:1; padding:12px 0; background:none; color:#888; font-size:13px; }
.tabbar button.active { color:#1d7a6b; font-weight:600; }
.modal { position:fixed; inset:0; background:rgba(0,0,0,.45); display:flex; align-items:center; justify-content:center; z-index:100; padding:20px; }
.modal.hidden { display:none; }
.modal-box { background:#fff; border-radius:16px; width:100%; max-width:420px; max-height:80vh; overflow:auto; }
.modal-head { display:flex; justify-content:space-between; align-items:center; padding:16px 20px; border-bottom:1px solid #eee; font-weight:600; }
.modal-head button { background:none; font-size:24px; color:#999; }
.modal-body { padding:20px; }
.modal-body label { display:block; font-size:13px; color:#666; margin:12px 0 6px; }
.modal-body input { width:100%; padding:11px 12px; border:1px solid #ddd; border-radius:8px; font-size:14px; }
.modal-body .btn { width:100%; background:#1d7a6b; color:#fff; padding:12px; border-radius:8px; font-size:15px; margin-top:18px; }
.modal-body .btn.alt { background:#f0f0f0; color:#555; margin-top:8px; }
.modal-body .qr { width:150px; height:150px; background:#f2f2f2; margin:12px auto; display:flex; align-items:center; justify-content:center; color:#999; border-radius:8px; font-size:12px; text-align:center; }
.modal-body p { font-size:13px; line-height:1.7; color:#555; margin:8px 0; }
.grow-block { margin-bottom:16px; }
.grow-block h4 { font-size:14px; margin-bottom:8px; color:#1d7a6b; }
.stat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.stat { background:#eef6f4; border-radius:10px; padding:14px 8px; text-align:center; }
.stat b { display:block; font-size:22px; color:#1d7a6b; }
.stat span { font-size:11px; color:#666; }
.timeline { list-style:none; }
.timeline li { font-size:12px; color:#666; padding:8px 0 8px 16px; border-left:2px solid #dceae7; position:relative; }
.timeline li:before { content:""; position:absolute; left:-5px; top:12px; width:8px; height:8px; border-radius:50%; background:#1d7a6b; }
.timeline li b { color:#333; }
.fullscreen{position:fixed;inset:0;z-index:200;background:#fff;display:flex;flex-direction:column}
.fullscreen.hidden{display:none}
.fs-bar{height:46px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 12px;background:#1d7a6b;color:#fff;font-size:14px}
.fs-bar button{background:rgba(255,255,255,.2);color:#fff;padding:6px 12px;border-radius:8px;font-size:13px}
#fsFrame{flex:1;width:100%;border:none}
@media (min-width:720px){ .sections{grid-template-columns:repeat(6,1fr);} main{max-width:900px;margin:0 auto;} }
