:root{--brand-50:#eaf4ff;--brand-100:#d3e7ff;--brand-200:#a9d0ff;--brand-400:#4c9cff;--brand-500:#1677ff;--brand-600:#0f5ed4;--brand-700:#0a46a5;--text-1:#1f2a3d;--text-2:#4a5468;--text-3:#8c93a4;--bg:#f4f8ff;--surface:#fff;--border:#e3eaf5;--shadow-sm:0 1px 2px #0f5ed40f;--shadow-md:0 8px 24px #0f5ed414;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text-1);background:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px}html,body{min-height:100%;margin:0;padding:0}body{background:var(--bg)}#root{min-height:100svh}*{box-sizing:border-box}a{color:var(--brand-500);text-decoration:none}a:hover{color:var(--brand-600)}button{font-family:inherit}:root{--site-blue:#2f6fb5;--site-blue-dark:#1e4f86;--site-blue-soft:#eaf3ff;--site-ink:#14243a;--site-muted:#5d6b7e;--site-line:#dfe8f4;--site-surface:#fff;--site-bg:#f6f9fe;--site-radius:18px;--site-shadow:0 18px 50px #1b3f701a}.site-shell{background:var(--site-bg);min-height:100svh;color:var(--site-ink)}.site-container{width:100%;max-width:1160px;margin:0 auto;padding:0 28px}.site-header{z-index:50;-webkit-backdrop-filter:saturate(1.4)blur(14px);backdrop-filter:saturate(1.4)blur(14px);background:#ffffffeb;border-bottom:1px solid #dfe8f4e6;position:sticky;top:0}.site-header-inner{justify-content:space-between;align-items:center;gap:24px;min-height:72px;display:flex}.site-brand{color:var(--site-ink);flex:none;align-items:center;gap:10px;text-decoration:none;display:inline-flex}.site-brand:hover{color:var(--site-ink)}.site-brand-mark{background:linear-gradient(135deg,#e6f7e9,#dceeff);border-radius:12px;justify-content:center;align-items:center;width:38px;height:38px;font-size:20px;display:inline-flex}.site-brand strong{letter-spacing:.5px;font-size:17px;display:block}.site-brand small{color:var(--site-muted);letter-spacing:.6px;margin-top:1px;font-size:10px;display:block}.site-nav{align-items:center;gap:26px;display:flex}.site-nav a{color:var(--site-muted);font-size:14px;text-decoration:none;transition:color .18s}.site-nav a:hover{color:var(--site-blue)}.site-button{cursor:pointer;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:0 22px;font-size:14px;font-weight:700;line-height:1;text-decoration:none;transition:transform .18s,background .18s,box-shadow .18s,color .18s;display:inline-flex}.site-button:hover{transform:translateY(-1px)}.site-button--primary{background:linear-gradient(135deg, var(--site-blue), #3b82f6);color:#fff;box-shadow:0 8px 20px #2f6fb538}.site-button--primary:hover{color:#fff;box-shadow:0 12px 26px #2f6fb547}.site-button--ghost{border-color:var(--site-line);color:var(--site-blue-dark);background:#fff}.site-button--ghost:hover{color:var(--site-blue-dark);background:#f7fbff}.site-button--soft{background:var(--site-blue-soft);color:var(--site-blue-dark)}.site-button--soft:hover{color:var(--site-blue-dark);background:#dcecff}.site-header-cta{flex:none;min-height:40px;padding:0 18px;font-size:13px}.site-main{min-height:60vh}.site-hero{background:radial-gradient(900px 360px at 12% 0,#6aaeff38,#0000 60%),radial-gradient(700px 340px at 92% 22%,#81dcaa29,#0000 58%),linear-gradient(#f2f8ff 0%,#f8fbff 60%,#f6f9fe 100%);padding:72px 0 54px;position:relative;overflow:hidden}.site-hero:after{content:"";background:linear-gradient(90deg, transparent, var(--site-line), transparent);height:1px;position:absolute;inset:auto 0 0}.site-hero-grid{grid-template-columns:minmax(0,1.06fr) minmax(480px,.94fr);align-items:center;gap:52px;display:grid;position:relative}.site-eyebrow,.site-kicker{color:var(--site-blue);letter-spacing:2.4px;text-transform:uppercase;margin:0 0 12px;font-size:12px;font-weight:800}.site-hero h1{color:var(--site-ink);letter-spacing:-2px;margin:0;font-size:clamp(40px,5.1vw,62px);font-weight:850;line-height:1.14}.site-hero h1 span{color:var(--site-blue)}.site-hero-lead{max-width:560px;color:var(--site-muted);margin:22px 0 0;font-size:17px;line-height:1.85}.site-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:28px;display:flex}.site-hero-points{color:#78879a;flex-wrap:wrap;gap:18px;margin:22px 0 0;padding:0;font-size:12px;list-style:none;display:flex}.site-hero-points li:before{content:"✓";color:#3e9b66;margin-right:5px;font-weight:800}.site-hero-visual{grid-template-columns:minmax(0,1fr) 206px;align-items:center;gap:16px;display:grid}.app-preview{background:#fff;border:1px solid #d9e7f8f2;border-radius:20px;padding:18px;transform:rotate(-1.2deg);box-shadow:0 22px 56px #1e447621}.app-preview-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.app-preview-date{color:#9aa7b8;font-size:8px;display:block}.app-preview-head strong{color:#1e3a5f;margin-top:4px;font-size:12px;display:block}.app-preview-dot{background:#eef4fb;border-radius:50%;width:22px;height:22px}.app-preview-summary{color:#fff;background:linear-gradient(135deg,#2f6fb5,#3b82f6);border-radius:14px;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:14px;padding:10px;display:grid}.app-preview-summary>div{min-width:0;padding:4px}.app-preview-summary span{color:#ffffffb3;font-size:7px;display:block}.app-preview-summary strong{margin-top:2px;font-size:16px;line-height:1;display:block}.app-preview-summary small{opacity:.75;margin-left:1px;font-size:7px;font-weight:400}.app-preview-summary em{color:#ffffff8c;margin-top:3px;font-size:6px;font-style:normal;display:block}.app-preview-cta{color:#fff;background:#1e4f86;border-radius:10px;justify-content:center;align-items:center;gap:6px;height:34px;margin-top:10px;font-size:10px;font-weight:700;display:flex}.app-preview-list{border-top:1px solid #eef3f9;margin-top:10px}.app-preview-list>div{color:#6d7b8d;border-bottom:1px solid #f1f5fa;justify-content:space-between;align-items:center;padding:7px 2px;font-size:8px;display:flex}.app-preview-list>div:last-child{border-bottom:0}.app-preview-list strong{color:#2f6fb5;font-size:9px}.qr-card{border:1px solid var(--site-line);width:100%;max-width:340px;box-shadow:var(--site-shadow);background:#fff;border-radius:20px;padding:22px}.qr-card--compact{border-radius:18px;max-width:none;padding:16px;box-shadow:0 18px 42px #1e44761f}.qr-card-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.qr-eyebrow{color:var(--site-blue);letter-spacing:1.4px;margin:0 0 4px;font-size:10px;font-weight:800}.qr-card h2{color:var(--site-ink);margin:0;font-size:17px;line-height:1.3}.qr-badge{color:#2d7d4f;background:#eaf8ee;border-radius:999px;padding:3px 8px;font-size:9px;font-weight:700}.qr-image-wrap{background:#f7fbff;border:1px solid #e8f1fd;border-radius:14px;margin-top:14px;padding:10px}.qr-image-wrap img{border-radius:8px;width:100%;height:auto;display:block}.qr-instruction{color:var(--site-muted);text-align:center;margin:10px 0 0;font-size:11px}.qr-search{color:#8a97a8;text-align:center;margin:6px 0 0;font-size:10px}.qr-search strong{color:#536273;font-weight:600}.qr-learn{width:100%;min-height:36px;margin-top:12px;font-size:11px}.qr-note{color:#a1adbc;text-align:center;margin:10px 0 0;font-size:9px;line-height:1.55}.site-strip{border-bottom:1px solid var(--site-line);background:#fff}.site-strip-inner{color:#718096;justify-content:space-between;align-items:center;gap:18px;padding-top:16px;padding-bottom:16px;font-size:12px;display:flex}.site-strip-inner span{align-items:center;gap:7px;display:inline-flex}.site-strip-inner span:before{content:"";background:#8fc5a3;border-radius:50%;width:6px;height:6px}.site-section{padding:76px 0}.site-section--tint{background:#eef5ff}.site-section--soft{background:#fff}.site-section-head{grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);align-items:end;gap:28px;margin-bottom:32px;display:grid}.site-section-head--center{text-align:center;max-width:640px;margin:0 auto 34px;display:block}.site-section h2{color:var(--site-ink);letter-spacing:-.8px;margin:0;font-size:clamp(27px,3.2vw,38px);line-height:1.25}.site-section-lead{color:var(--site-muted);margin:10px 0 0;font-size:14px;line-height:1.8}.site-section-head--center .site-section-lead{max-width:560px;margin-left:auto;margin-right:auto}.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.feature-card{border:1px solid var(--site-line);border-radius:var(--site-radius);background:#fff;padding:24px;transition:transform .2s,box-shadow .2s,border-color .2s}.feature-card:hover{border-color:#c7ddf7;transform:translateY(-3px);box-shadow:0 14px 34px #25508714}.feature-icon{background:#f0f7ff;border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;font-size:20px;display:inline-flex}.feature-card h3{color:var(--site-ink);margin:16px 0 8px;font-size:17px}.feature-card p{color:var(--site-muted);margin:0;font-size:13px;line-height:1.75}.steps-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.step-card{border-radius:var(--site-radius);background:#fffc;border:1px solid #cddff5e6;padding:24px;position:relative}.step-no{color:#9cc0df;letter-spacing:-1px;font-size:26px;font-weight:800}.step-card h3{margin:12px 0 7px;font-size:17px}.step-card p{color:var(--site-muted);margin:0;font-size:13px;line-height:1.75}.how-cta{color:#7b8ba0;align-items:center;gap:16px;margin-top:26px;font-size:12px;display:flex}.food-table-wrap{border:1px solid var(--site-line);border-radius:var(--site-radius);background:#fff;overflow-x:auto}.food-table{border-collapse:collapse;width:100%;min-width:700px;font-size:13px}.food-table caption{color:#8a97a8;text-align:left;border-bottom:1px solid #eef3f9;padding:14px 18px;font-size:11px}.food-table th,.food-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #f1f5fa;padding:13px 18px}.food-table thead th{color:#7d8b9d;background:#f8fbff;font-size:11px;font-weight:600}.food-table tbody th{color:var(--site-ink);font-weight:700}.food-table tbody tr:last-child th,.food-table tbody tr:last-child td{border-bottom:0}.food-table tbody tr:hover{background:#fbfdff}.food-level{border-radius:999px;align-items:center;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.food-level--低{color:#2d7d4f;background:#eaf8ee}.food-level--中{color:#9a6814;background:#fff7e6}.food-level--高{color:#b33a3a;background:#fff1f0}.site-disclaimer{color:#8b98a8;margin:16px 0 0;font-size:11px;line-height:1.7}.persona-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.persona-card{border:1px solid var(--site-line);border-radius:var(--site-radius);background:#f9fcff;padding:26px}.persona-mark{color:#3e9b66;background:#e8f7ed;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;font-size:15px;display:inline-flex}.persona-card h3{margin:14px 0 8px;font-size:17px}.persona-card p{color:var(--site-muted);margin:0;font-size:13px;line-height:1.75}.guide-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.guide-card{border:1px solid var(--site-line);border-radius:var(--site-radius);min-height:230px;color:inherit;background:#fff;flex-direction:column;padding:24px;text-decoration:none;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex}.guide-card:hover{color:inherit;border-color:#c7ddf7;transform:translateY(-3px);box-shadow:0 14px 34px #25508714}.guide-card-kicker{color:#8fa0b4;letter-spacing:.8px;font-size:10px}.guide-card h3{color:var(--site-ink);margin:13px 0 8px;font-size:18px;line-height:1.4}.guide-card p{color:var(--site-muted);margin:0 0 18px;font-size:13px;line-height:1.7}.guide-card-link{color:var(--site-blue);margin-top:auto;font-size:12px;font-weight:700}.faq-layout{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);align-items:start;gap:56px;display:grid}.faq-list{border-top:1px solid #d9e6f5}.faq-item{border-bottom:1px solid #d9e6f5}.faq-item summary{color:var(--site-ink);cursor:pointer;padding:17px 30px 17px 0;font-size:14px;font-weight:600;list-style:none;position:relative}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:after{content:"+";color:var(--site-blue);font-size:20px;font-weight:400;position:absolute;top:50%;right:2px;transform:translateY(-50%)}.faq-item[open] summary:after{content:"−"}.faq-item p{color:var(--site-muted);margin:0;padding:0 34px 18px 0;font-size:13px;line-height:1.8}.site-final-cta{color:#fff;background:radial-gradient(600px 260px at 88% 12%,#76bcff3d,#0000 65%),linear-gradient(135deg,#1e4f86 0%,#2f6fb5 58%,#3b82f6 100%);padding:64px 0}.site-final-cta-inner{justify-content:space-between;align-items:center;gap:36px;display:flex}.site-final-cta h2{max-width:680px;margin:0;font-size:clamp(27px,3.2vw,38px);line-height:1.25}.site-final-cta p{color:#ffffffbf;margin:12px 0 0;font-size:14px;line-height:1.8}.site-final-cta .site-kicker{color:#ffffffb3}.site-final-cta .site-button--ghost{color:#fff;background:#ffffff1f;border-color:#ffffff42}.site-final-cta .site-button--ghost:hover{color:#fff;background:#fff3}.site-final-qr{text-align:center;background:#fff;border-radius:16px;flex:none;padding:10px}.site-final-qr img{border-radius:8px;width:180px;height:180px;display:block}.site-final-qr span{color:#6f7f92;padding:6px 0 2px;font-size:10px;display:block}.site-footer{color:#ffffffb8;background:#0f2942;padding:48px 0 30px}.site-footer-grid{grid-template-columns:1.5fr .7fr .9fr .9fr;gap:36px;display:grid}.site-brand--footer,.site-brand--footer:hover{color:#fff}.site-brand--footer small{color:#ffffff80}.site-brand--footer .site-brand-mark{background:#ffffff1a}.site-footer-note{color:#ffffff75;max-width:360px;margin:16px 0 0;font-size:11px;line-height:1.7}.site-footer h3{color:#ffffffe6;margin:0 0 12px;font-size:12px;font-weight:700}.site-footer-grid>div>a,.site-footer-grid>div>span{color:#ffffff8f;margin:8px 0;font-size:11px;text-decoration:none;display:block}.site-footer-grid>div>a:hover{color:#fff}.site-footer-bottom{color:#ffffff5c;border-top:1px solid #ffffff1a;justify-content:space-between;gap:16px;margin-top:40px;padding-top:18px;font-size:10px;display:flex}.site-article-page{background:#fff;padding:34px 0 72px}.site-breadcrumb{color:#93a0b1;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:30px;font-size:11px;display:flex}.site-breadcrumb a{color:#6f7f92;text-decoration:none}.site-breadcrumb strong{color:#536273;font-weight:500}.site-article-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:56px;display:grid}.site-article{max-width:760px}.site-article-head{border-bottom:1px solid var(--site-line);padding-bottom:28px}.site-article-head h1{color:var(--site-ink);letter-spacing:-1px;margin:0;font-size:clamp(30px,4vw,44px);line-height:1.25}.site-article-intro{color:var(--site-muted);margin:18px 0 0;font-size:16px;line-height:1.9}.site-article-section{padding-top:30px}.site-article-section h2{color:var(--site-ink);margin:0 0 14px;font-size:23px;line-height:1.4}.site-article-section p{color:#45556a;margin:0 0 16px;font-size:15px;line-height:1.95}.site-article-section ul{color:#45556a;margin:0 0 16px;padding-left:20px;font-size:15px;line-height:1.9}.site-article-section li{margin:6px 0}.site-article-note{color:#5b7464;background:#f5fbf7;border-left:3px solid #8fc5a3;border-radius:0 12px 12px 0;margin-top:34px;padding:18px 20px;font-size:12px;line-height:1.8}.site-article-footer{border-top:1px solid var(--site-line);flex-wrap:wrap;gap:10px;margin-top:30px;padding-top:24px;display:flex}.site-article-aside{position:sticky;top:96px}.site-auth-layout{background:#f6f9fe;min-height:100svh}@media (width<=1024px){.site-hero-grid{grid-template-columns:minmax(0,1fr) minmax(380px,.84fr);gap:30px}.site-hero-visual{grid-template-columns:1fr;gap:14px}.app-preview{display:none}.qr-card--compact{max-width:280px;margin-left:auto}.site-nav{gap:16px}.site-nav a{font-size:13px}}@media (width<=860px){.site-container{padding:0 20px}.site-nav{display:none}.site-header-inner{min-height:64px}.site-hero{padding:48px 0 40px}.site-hero-grid{grid-template-columns:1fr;gap:28px}.site-hero-lead{font-size:15px}.site-hero-visual{align-items:flex-start;gap:16px;display:flex}.qr-card--compact{flex:1;max-width:300px;margin-left:0}.site-strip-inner{flex-wrap:wrap;justify-content:flex-start;gap:10px 22px}.site-section{padding:54px 0}.site-section-head,.faq-layout{grid-template-columns:1fr;gap:16px}.feature-grid,.steps-grid,.persona-grid,.guide-grid{grid-template-columns:1fr 1fr}.site-final-cta-inner{align-items:flex-start}.site-final-qr{display:none}.site-footer-grid{grid-template-columns:1fr 1fr;gap:28px}.site-article-layout{grid-template-columns:1fr;gap:30px}.site-article-aside{position:static}.site-article-aside .qr-card{max-width:340px}}@media (width<=600px){.site-container{padding:0 16px}.site-header-cta{min-height:36px;padding:0 13px;font-size:12px}.site-brand-mark{width:34px;height:34px;font-size:18px}.site-brand strong{font-size:16px}.site-brand small{display:none}.site-hero{padding:38px 0 34px}.site-hero h1{letter-spacing:-1.5px;font-size:38px}.site-hero-lead{margin-top:16px;font-size:14px;line-height:1.8}.desktop-break{display:none}.site-actions{margin-top:22px}.site-button{min-height:44px;padding:0 18px;font-size:13px}.site-hero-points{gap:10px 14px;font-size:11px}.site-hero-visual{display:block}.qr-card--compact{max-width:none}.qr-card--compact .qr-image-wrap{max-width:230px;margin-left:auto;margin-right:auto}.site-section{padding:44px 0}.site-section h2{font-size:27px}.feature-grid,.steps-grid,.persona-grid,.guide-grid{grid-template-columns:1fr}.site-section-head{margin-bottom:24px}.how-cta{flex-direction:column;align-items:flex-start}.food-table th,.food-table td{padding:11px 14px}.faq-layout{gap:18px}.site-final-cta{padding:46px 0}.site-final-cta .site-actions{margin-top:20px}.site-footer-grid{grid-template-columns:1fr;gap:24px}.site-footer-bottom{flex-direction:column;gap:6px}.site-mobile-cta{right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:60;color:#fff;background:linear-gradient(135deg,#2f6fb5,#3b82f6);border-radius:999px;align-items:center;gap:8px;padding:13px 18px;font-size:13px;font-weight:800;text-decoration:none;display:inline-flex;position:fixed;box-shadow:0 12px 28px #183d6a47}.site-article-page{padding-top:22px}.site-breadcrumb{margin-bottom:20px}.site-article-head h1{font-size:30px}.site-article-intro{font-size:14px}.site-article-section h2{font-size:20px}.site-article-section p,.site-article-section ul{font-size:14px}}@media (prefers-reduced-motion:reduce){.site-button,.feature-card,.guide-card{transition:none}}.habit-panel{border:1px solid var(--site-line);background:radial-gradient(500px 260px at 8% 0,#ddf0ffcc,#0000 64%),#fff;border-radius:24px;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);align-items:center;gap:46px;padding:38px;display:grid;box-shadow:0 16px 44px #244c800f}.habit-copy h2{margin-bottom:12px}.habit-copy .site-section-lead{max-width:560px}.habit-points{flex-direction:column;gap:14px;margin:22px 0;display:flex}.habit-point{align-items:flex-start;gap:10px;display:flex}.habit-point-dot{color:#3e9b66;background:#e8f7ed;border-radius:50%;flex:none;justify-content:center;align-items:center;width:22px;height:22px;margin-top:1px;font-size:11px;font-weight:800;display:inline-flex}.habit-point h3{color:var(--site-ink);margin:0 0 3px;font-size:14px}.habit-point p{color:var(--site-muted);margin:0;font-size:12px;line-height:1.65}.habit-preview{color:#fff;background:radial-gradient(320px 180px at 100% 0,#7bc4ff59,#0000 68%),linear-gradient(145deg,#1e4f86,#2f6fb5 62%,#3b82f6);border-radius:20px;padding:24px;box-shadow:0 18px 38px #1e4f8633}.habit-preview-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.habit-preview-head span{color:#ffffff9e;font-size:10px;display:block}.habit-preview-head strong{margin-top:4px;font-size:15px;display:block}.habit-preview-badge{background:#ffffff29;border-radius:999px;padding:4px 9px;font-size:10px;color:#ffffffd9!important}.habit-preview-score{justify-content:space-between;align-items:flex-end;margin-top:26px;display:flex}.habit-preview-score strong{letter-spacing:-1px;font-size:38px;line-height:1}.habit-preview-score small{opacity:.65;margin-left:4px;font-size:11px;font-weight:400}.habit-preview-score span{color:#ffffffb3;font-size:10px}.habit-preview-dots{gap:7px;margin-top:20px;display:flex}.habit-preview-dots span{color:#ffffff8c;background:#ffffff24;border-radius:50%;justify-content:center;align-items:center;width:27px;height:27px;font-size:9px;display:inline-flex}.habit-preview-dots span.done{color:#1e4f86;background:#fff;font-weight:700}.habit-preview-action{color:#1e4f86;background:#fff;border-radius:10px;justify-content:center;align-items:center;height:38px;margin-top:18px;font-size:12px;font-weight:800;display:flex}.habit-preview>p{color:#ffffff80;text-align:center;margin:10px 0 0;font-size:9px}@media (width<=860px){.habit-panel{grid-template-columns:1fr;gap:28px;padding:26px}.habit-preview{max-width:380px}}@media (width<=600px){.habit-panel{border-radius:18px;padding:20px}.habit-preview{max-width:none;padding:20px}.habit-preview-score strong{font-size:32px}}.layout{background:var(--bg);flex-direction:column;min-height:100svh;display:flex}.top-header{z-index:50;-webkit-backdrop-filter:saturate(1.2)blur(10px);backdrop-filter:saturate(1.2)blur(10px);border-bottom:1px solid var(--border);background:#ffffffeb;justify-content:space-between;align-items:center;padding:14px 24px;display:flex;position:sticky;top:0}.brand{color:var(--brand-600);align-items:center;gap:8px;font-size:20px;font-weight:700;display:inline-flex}.brand-logo{font-size:24px}.top-nav{align-items:center;gap:8px;display:inline-flex}.top-nav-item{color:var(--text-2);border-radius:999px;padding:8px 14px;font-size:15px;transition:background .2s,color .2s}.top-nav-item:hover{color:var(--brand-600);background:var(--brand-50)}.top-nav-item.active{color:var(--brand-600);background:var(--brand-50);font-weight:600}.top-nav-item.cta{color:#fff;background:var(--brand-500)}.top-nav-item.cta:hover{background:var(--brand-600)}.page-main{flex:1;width:100%;max-width:1200px;margin:0 auto;padding:24px;animation:.25s ease-out fadeIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.bottom-nav{display:none}.auth-layout{background:linear-gradient(160deg, var(--brand-50) 0%, #fff 60%);min-height:100svh}.hero{color:#fff;background:linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);box-shadow:var(--shadow-md);border-radius:20px;padding:36px 28px;position:relative;overflow:hidden}.hero:after{content:"";background:radial-gradient(circle,#ffffff38,#0000 70%);width:220px;height:220px;position:absolute;bottom:-60px;right:-60px}.hero-inner{position:relative}.hero h1{margin:0 0 6px;font-size:28px;font-weight:700}.hero p{opacity:.9;margin:0 0 20px}.hero-stats{grid-template-columns:repeat(3,1fr);gap:12px;max-width:520px;display:grid}.hero-stats>div{text-align:center;background:#ffffff26;border:1px solid #fff3;border-radius:12px;padding:12px}.hero-stats strong{font-size:20px;font-weight:700;display:block}.hero-stats span{opacity:.85;font-size:12px}.content-grid{grid-template-columns:minmax(0,1fr) 320px;gap:24px;margin-top:24px;display:grid}.panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.panel-head h2{color:var(--text-1);margin:0;font-size:20px}.panel-hint{color:var(--text-3);font-size:13px}.filter-tabs{background:var(--surface);border:1px solid var(--border);border-radius:999px;gap:4px;padding:4px;display:inline-flex}.filter-tab{color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:6px 14px;font-size:14px;transition:background .2s,color .2s}.filter-tab.active{background:var(--brand-500);color:#fff;font-weight:600}.challenges-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;display:grid}.load-more-sentinel{text-align:center;color:var(--text-3);min-height:24px;margin-top:16px;padding:12px 0;font-size:13px}.challenge-card{color:inherit;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:16px;padding:18px;transition:transform .2s,box-shadow .2s,border-color .2s;display:block}.challenge-card:hover{box-shadow:var(--shadow-md);border-color:var(--brand-200);transform:translateY(-3px)}.challenge-title{color:var(--text-1);align-items:center;gap:8px;margin:0 0 6px;font-size:17px;font-weight:600;display:flex}.badge-joined{color:#389e0d;background:#f6ffed;border:1px solid #b7eb8f;border-radius:999px;align-items:center;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.challenge-description{color:var(--text-2);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:14px;font-size:14px;line-height:1.55;display:-webkit-box;overflow:hidden}.challenge-meta{gap:8px;margin-bottom:12px;display:flex}.tag{background:var(--brand-50);color:var(--brand-600);border-radius:999px;align-items:center;padding:4px 10px;font-size:12px;font-weight:500;display:inline-flex}.tag.difficulty{background:#faad141f}.challenge-stats{color:var(--text-3);justify-content:space-between;font-size:12px;display:flex}.leaderboard-panel{background:var(--surface);border:1px solid var(--border);height:fit-content;box-shadow:var(--shadow-sm);border-radius:16px;padding:20px}.leaderboard{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.leaderboard li{background:var(--bg);border-radius:10px;grid-template-columns:36px 1fr auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.leaderboard .rank{background:var(--brand-100);width:28px;height:28px;color:var(--brand-700);border-radius:50%;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.leaderboard .rank-1 .rank,.leaderboard li.rank-1 .rank{color:#fff;background:linear-gradient(135deg,#ffe08a,#f6a700)}.leaderboard li.rank-2 .rank{color:#fff;background:linear-gradient(135deg,#dbe7f4,#a6b8c9)}.leaderboard li.rank-3 .rank{color:#fff;background:linear-gradient(135deg,#ffd3ae,#d98b4b)}.leaderboard .name{color:var(--text-1);font-size:14px}.leaderboard .exp{color:var(--brand-600);font-size:13px;font-weight:600}.card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:16px;padding:20px}.detail-hero{color:#fff;background:linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);box-shadow:var(--shadow-md);border-radius:20px;padding:28px 24px;position:relative}.detail-hero h1{margin:14px 0 4px;font-size:24px}.detail-hero .hero-desc{opacity:.9;margin:0}.back-button{color:#fff;background:#ffffff2e;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;display:inline-flex}.back-button:hover{color:#fff;background:#ffffff4d}.detail-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;margin-top:24px;display:grid}.description{color:var(--text-2);margin:0 0 18px;line-height:1.7}.stats{grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:20px;display:grid}.stat-item{background:var(--bg);border-radius:10px;justify-content:space-between;padding:10px 14px;display:flex}.stat-item .label{color:var(--text-3);font-size:13px}.stat-item .value{color:var(--text-1);font-weight:600}.rules-section h3{color:var(--brand-600);margin:0 0 10px;font-size:16px}.rules-list{flex-direction:column;gap:8px;margin:0 0 20px;padding:0;list-style:none;display:flex}.rules-list li{color:var(--text-2);padding-left:20px;font-size:14px;line-height:1.6;position:relative}.rules-list li:before{content:"";background:var(--brand-500);border-radius:50%;width:6px;height:6px;position:absolute;top:9px;left:4px}.primary-button{background:linear-gradient(135deg, var(--brand-500), var(--brand-700));color:#fff;cursor:pointer;border:0;border-radius:12px;width:100%;padding:12px 18px;font-size:15px;font-weight:600;transition:transform .15s,box-shadow .15s,opacity .15s}.primary-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 20px #1677ff59}.primary-button:disabled{opacity:.65;cursor:not-allowed}.primary-button.joined{background:#52c41a}.ghost-button{border:1px solid var(--brand-200);background:var(--surface);color:var(--brand-600);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;padding:8px 16px;font-size:14px;text-decoration:none;transition:background .15s,color .15s;display:inline-flex}.ghost-button:hover{background:var(--brand-50)}.comments-section h3{color:var(--text-1);margin:0 0 14px;font-size:16px}.comment-input{flex-direction:column;gap:10px;margin-bottom:20px;display:flex}.comment-input textarea{border:1px solid var(--border);width:100%;font:inherit;color:var(--text-1);background:var(--surface);resize:vertical;border-radius:12px;outline:none;padding:12px 14px;transition:border-color .15s,box-shadow .15s}.comment-input textarea:focus{border-color:var(--brand-400);box-shadow:0 0 0 3px var(--brand-50)}.comment-input button{background:var(--brand-500);color:#fff;cursor:pointer;border:0;border-radius:999px;align-self:flex-end;padding:8px 18px;font-size:14px;transition:background .15s}.comment-input button:hover:not(:disabled){background:var(--brand-600)}.comment-input button:disabled{opacity:.6;cursor:not-allowed}.comments-list{flex-direction:column;gap:14px;display:flex}.comment-item{background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:14px}.comment-header{align-items:center;gap:10px;margin-bottom:8px;display:flex}.comment-header .avatar{background:linear-gradient(135deg, var(--brand-400), var(--brand-600));color:#fff;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-weight:600;display:inline-flex}.comment-header .username{font-size:14px;font-weight:600}.comment-header .time{color:var(--text-3);font-size:12px}.comment-content{color:var(--text-2);margin:0 0 8px;line-height:1.6}.comment-footer{color:var(--text-3);font-size:12px}.profile-hero{color:#fff;background:linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);box-shadow:var(--shadow-md);border-radius:20px;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;margin-bottom:20px;padding:24px;display:grid}.profile-hero .avatar-placeholder{color:#fff;background:#ffffff38;border:2px solid #ffffff80;border-radius:50%;justify-content:center;align-items:center;width:72px;height:72px;font-size:28px;font-weight:700;display:flex}.profile-meta h2{margin:0 0 4px;font-size:20px}.profile-meta .phone{opacity:.85;margin:0 0 8px;font-size:13px}.level-info{flex-wrap:wrap;gap:8px;display:inline-flex}.level-info span{background:#ffffff2e;border:1px solid #ffffff40;border-radius:999px;padding:4px 10px;font-size:12px}.profile-hero .ghost-button{color:#fff;background:#ffffff1f;border-color:#ffffff80}.profile-hero .ghost-button:hover{background:#ffffff38}.section-title{color:var(--text-1);border-left:3px solid var(--brand-500);margin:0 0 16px;padding-left:10px;font-size:16px}.challenges-list{gap:12px;display:grid}.joined-item{border:1px solid var(--border);background:var(--surface);color:inherit;border-radius:14px;flex-direction:column;gap:10px;padding:16px;transition:border-color .15s,box-shadow .15s,transform .15s;display:flex;position:relative;overflow:hidden}.joined-item:before{content:"";width:4px;position:absolute;inset:0 auto 0 0}.joined-item.channel-1{background:linear-gradient(135deg,#fff7e6 0%,#fff 55%);border-color:#ffd591}.joined-item.channel-1:before{background:linear-gradient(#faad14,#fa8c16)}.joined-item.channel-2{border-color:var(--brand-200);background:linear-gradient(135deg,#f0f5ff 0%,#fff 55%)}.joined-item.channel-2:before{background:linear-gradient(180deg, var(--brand-400), var(--brand-600))}.joined-item:hover{box-shadow:var(--shadow-md);color:inherit;transform:translateY(-1px)}.joined-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.joined-head .challenge-title{align-items:center;gap:8px;margin:0;font-size:15px;display:flex}.badge-channel{letter-spacing:.5px;border-radius:999px;align-items:center;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.badge-channel.channel-1{color:#fff;background:linear-gradient(135deg,#faad14,#fa8c16);box-shadow:0 2px 6px #fa8c1659}.badge-channel.channel-2{color:var(--brand-600);background:var(--brand-50);border:1px solid var(--brand-200)}.joined-head .status{font-size:12px;font-weight:600}.challenge-desc{color:var(--text-2);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:13px;line-height:1.5;display:-webkit-box;overflow:hidden}.joined-tags{flex-wrap:wrap;gap:6px;display:flex}.joined-tags .tag{border-radius:999px;align-items:center;gap:4px;padding:3px 10px;font-size:12px;font-weight:500;line-height:1.6;display:inline-flex}.tag-level.level-1{color:#389e0d;background:#f6ffed;border:1px solid #b7eb8f}.tag-level.level-2{color:#d48806;background:#fffbe6;border:1px solid #ffe58f}.tag-level.level-3{color:#cf1322;background:#fff1f0;border:1px solid #ffa39e}.tag-date{color:#5a4a9c;background:#f0ecff;border:1px solid #d6cbff}.tag-reward{color:#ad6800;background:#fffbe6;border:1px solid #ffe58f}.tag-duration{color:var(--text-2);background:var(--bg);border:1px solid var(--border)}.tag-private{color:var(--text-3);background:var(--bg);border:1px solid var(--border)}.joined-progress{align-items:center;gap:10px;display:flex}.joined-progress .progress-bar{flex:1}.progress-text{color:var(--text-2);text-align:right;min-width:36px;font-size:12px;font-weight:600}.checkin-btn{color:#fff;background:linear-gradient(135deg, var(--brand-500), var(--brand-700));cursor:pointer;border:none;border-radius:10px;margin-top:4px;padding:9px 14px;font-size:14px;font-weight:600;transition:transform .15s,box-shadow .15s,opacity .15s;box-shadow:0 4px 12px #0f5ed440}.checkin-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 16px #0f5ed44d}.checkin-btn:active:not(:disabled){transform:translateY(0)}.checkin-btn:disabled{cursor:not-allowed}.checkin-btn.checked{color:#389e0d;box-shadow:none;background:#f6ffed;border:1px solid #b7eb8f}.progress-bar{background:var(--border);border-radius:999px;height:6px;overflow:hidden}.progress-fill{background:linear-gradient(90deg, var(--brand-400), var(--brand-600));border-radius:999px;height:100%;transition:width .3s}.auth-page{justify-content:center;align-items:center;min-height:100svh;padding:24px;display:flex}.auth-card{background:var(--surface);border:1px solid var(--border);width:100%;max-width:420px;box-shadow:var(--shadow-md);border-radius:20px;padding:32px 28px}.auth-header{text-align:center;margin-bottom:24px}.auth-header .brand-logo{margin-bottom:8px;font-size:40px}.auth-header h1{color:var(--brand-600);margin:0 0 6px;font-size:26px}.auth-header p{color:var(--text-3);margin:0;font-size:14px}.auth-form{flex-direction:column;gap:16px;display:flex}.form-group{flex-direction:column;gap:6px;display:flex}.form-group label{color:var(--text-2);font-size:13px;font-weight:500}.form-group input{border:1px solid var(--border);width:100%;color:var(--text-1);background:var(--surface);border-radius:12px;outline:none;padding:12px 14px;font-size:15px;transition:border-color .15s,box-shadow .15s}.form-group input:focus{border-color:var(--brand-400);box-shadow:0 0 0 3px var(--brand-50)}.auth-footer{text-align:center;color:var(--text-3);margin-top:20px;font-size:14px}.auth-footer .divider{color:var(--border);margin:0 8px}.loading-spinner,.error-message,.empty{text-align:center;color:var(--text-3);padding:40px 16px;font-size:14px}.error-message{color:#f5222d}.back-link{color:var(--brand-500);margin-top:8px;display:inline-block}@media (width<=768px){.top-header{padding:12px 16px}.top-nav{display:none}.page-main{padding:16px 12px 96px}.hero{border-radius:16px;padding:24px 20px}.hero h1{font-size:22px}.hero-stats{grid-template-columns:repeat(3,1fr);gap:8px}.hero-stats strong{font-size:16px}.content-grid{grid-template-columns:1fr;gap:16px;margin-top:16px}.challenges-grid{grid-template-columns:1fr;gap:12px}.panel-head{gap:8px}.panel-head h2{font-size:17px}.filter-tab{padding:6px 10px;font-size:13px}.detail-grid{grid-template-columns:1fr;gap:16px;margin-top:16px}.detail-hero{padding:22px 18px}.detail-hero h1{font-size:20px}.stats{grid-template-columns:1fr 1fr}.profile-hero{grid-template-columns:auto 1fr;grid-template-areas:"avatar meta""action action";gap:14px;padding:20px}.profile-hero .avatar-placeholder{grid-area:avatar;width:60px;height:60px;font-size:24px}.profile-meta{grid-area:meta}.profile-hero .ghost-button{grid-area:action;width:100%}.auth-card{padding:24px 20px}.bottom-nav{padding:10px 0 calc(10px + env(safe-area-inset-bottom));-webkit-backdrop-filter:saturate(1.2)blur(10px);backdrop-filter:saturate(1.2)blur(10px);border-top:1px solid var(--border);z-index:100;background:#fffffff2;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.nav-item{color:var(--text-3);border-radius:12px;flex-direction:column;align-items:center;gap:2px;padding:4px 14px;font-size:12px;display:flex}.nav-item .nav-icon{font-size:20px}.nav-item.active{color:var(--brand-600)}}@media (width>=1024px){.page-main{padding:32px 40px}.hero{padding:48px 40px}.hero h1{font-size:34px}.challenges-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}}@media (width>=1280px){.challenges-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
