:root{
      --bg:#fff7db;--card:#fff;--text:#1f2937;--muted:#6b7280;--brand:#ffcf2d;--accent:#ff7a00;--line:#ece7d9;
      --ok:#16a34a;--warn:#f59e0b;--danger:#ef4444;--boss-bg:#fff2df;
    }
    *{box-sizing:border-box}
    html{background:#f4ead2}
    body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",Arial;background:linear-gradient(180deg,#f8edc8 0%,#f6efd9 18%,#f7f8fb 38%,#f7f8fb 100%);color:var(--text)}
    .app{max-width:430px;margin:0 auto;min-height:100vh;background:linear-gradient(180deg,#fff0a6 0,#fff4c1 120px,#f7f8fb 260px,#f7f8fb 100%);box-shadow:0 0 0 1px rgba(0,0,0,.03),0 18px 54px rgba(78,53,0,.12);position:relative;overflow:hidden}
    .page{display:none;min-height:100vh;padding:8px 0 92px}
    .page.active{display:block}
    .hero{padding:12px 16px 22px;border-bottom-left-radius:26px;border-bottom-right-radius:26px;position:relative;overflow:hidden}
    .hero:before{content:"";position:absolute;right:-30px;top:-24px;width:160px;height:160px;border-radius:50%;background:rgba(255,255,255,.28)}
    .hero:after{content:"";position:absolute;left:-48px;bottom:-52px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.18)}
    .hero.worker{background:linear-gradient(180deg,#ffd63e 0%,#ffe372 52%,#fff0aa 100%)}
    .hero.boss{background:linear-gradient(180deg,#ffcb83 0%,#ffe0b2 50%,#fff1db 100%)}
    .brand{display:inline-block;background:rgba(255,255,255,.72);padding:5px 12px;border-radius:999px;font-size:12px;font-weight:800;color:#7a5400}
    .hero h1{margin:12px 0 6px;font-size:30px;line-height:1.12;font-weight:900;letter-spacing:.2px}
    .hero p{margin:0;color:#6b4d00;font-size:13px;font-weight:600}
    .hero-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;position:relative;z-index:1}
    .hero-img{width:122px;height:122px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.12))}
    .hero-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;position:relative;z-index:1}
    .hero-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.68);color:#6f4d00;font-size:12px;font-weight:800;border:1px solid rgba(255,255,255,.45)}
    .hero-toolbar{display:flex;gap:10px;align-items:center;margin-top:14px;position:relative;z-index:1}
    .hero-search{flex:1;background:rgba(255,255,255,.78);border:1px solid rgba(255,255,255,.48);border-radius:999px;padding:10px 14px;font-size:13px;color:#7a6020;font-weight:700;box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}
    .hero-locate{white-space:nowrap;background:rgba(17,24,39,.08);border-radius:999px;padding:10px 12px;font-size:12px;color:#5b4d2e;font-weight:800}
    .sub-hero{margin:12px 12px 0;border-radius:22px;padding:14px 14px 18px;box-shadow:0 10px 24px rgba(16,24,40,.08);position:relative;overflow:hidden}
    .sub-hero:before{content:"";position:absolute;right:-30px;top:-30px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.28)}
    .sub-hero:after{content:"";position:absolute;left:14px;top:0;width:52px;height:4px;border-radius:999px;background:rgba(17,24,39,.18)}
    .worker-sub{background:linear-gradient(180deg,#ffe78c 0%,#fff1c0 100%)}
    .boss-sub{background:linear-gradient(180deg,#ffd7ac 0%,#fff0db 100%)}
    .sub-hero-title{font-size:22px;font-weight:900;line-height:1.15;color:#111827;margin-top:4px;position:relative;z-index:1}
    .sub-hero-desc{font-size:13px;line-height:1.5;color:#6b5b37;margin-top:6px;position:relative;z-index:1}
    .mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px;position:relative;z-index:1}
    .mini-stat{background:rgba(255,255,255,.52);border:1px solid rgba(255,255,255,.42);border-radius:14px;padding:10px 8px;text-align:center;backdrop-filter:blur(4px)}
    .mini-stat b{display:block;font-size:18px;line-height:1.1;margin-bottom:4px}
    .mini-stat span{font-size:11px;color:#6b5b37}
    .profile-row{display:flex;justify-content:space-between;align-items:center;gap:12px;position:relative;z-index:1}

    .panel{background:var(--card);margin:12px;border-radius:18px;padding:15px 14px;box-shadow:0 8px 24px rgba(16,24,40,.08);border:1px solid rgba(255,215,92,.24);position:relative;overflow:hidden}
    .panel:before{content:"";position:absolute;left:14px;top:0;width:44px;height:4px;border-radius:999px;background:linear-gradient(90deg,#ffd447 0%,rgba(255,212,71,0) 100%)}
    .quick-panel{padding:12px}
    .quick-row{display:flex;gap:8px;overflow:auto;padding-bottom:4px}
    .quick-pill{white-space:nowrap;padding:9px 12px;border-radius:999px;background:#fff8df;border:1px solid #f3e4b4;color:#6f5a1f;font-size:12px;font-weight:800}
    .quick-pill.active{background:linear-gradient(180deg,#ffe37a 0%,#ffd447 100%);color:#3b2d00;border-color:#ffd447}
    .income-banner{margin-top:12px;border-radius:16px;padding:14px;background:linear-gradient(135deg,#232e3a 0%,#0f172a 100%);color:#fff;display:flex;justify-content:space-between;gap:12px;align-items:center}
    .income-banner .muted{color:rgba(255,255,255,.72)}
    .income-value{font-size:28px;font-weight:900;line-height:1.1;margin-top:4px}
    .income-side{font-size:13px;line-height:1.55;text-align:right}
    .boss-banner{background:linear-gradient(135deg,#b36b12 0%,#8c4a00 100%)}
    .section-title{margin:0 0 12px;font-size:16px;font-weight:900;color:#111827}
    .notice-panel{background:linear-gradient(180deg,#fff8dd 0%,#fff3cc 100%)}
    .notice-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}
    .notice-dot{width:10px;height:10px;border-radius:50%;background:linear-gradient(180deg,#ffb800 0%,#ff8a00 100%);box-shadow:0 0 0 4px rgba(255,184,0,.14)}
    .muted{color:var(--muted);font-size:13px;line-height:1.45}

    .tabs-bottom{position:fixed;left:0;right:0;bottom:0;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-top:1px solid rgba(17,24,39,.06);display:flex;justify-content:center;z-index:50;box-shadow:0 -8px 24px rgba(15,23,42,.06)}
    .tabs-inner{max-width:430px;width:100%;display:flex;padding-bottom:max(env(safe-area-inset-bottom),8px)}
    .tab{flex:1;text-align:center;padding:8px 4px 10px;font-size:12px;color:#6b7280;cursor:pointer;user-select:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;line-height:1;position:relative;transition:color .18s ease,transform .18s ease}
    .tab.active{color:#111827;font-weight:800;transform:translateY(-1px)}
    .tab.active:before{content:"";position:absolute;top:4px;left:50%;transform:translateX(-50%);width:26px;height:4px;border-radius:999px;background:linear-gradient(90deg,#ffd447 0%,#ffb300 100%);box-shadow:0 4px 10px rgba(255,196,58,.28)}
    .tab-icon{font-size:17px;line-height:1}
    .tab-label{font-size:12px;line-height:1.1}
    .tab-special{width:30px;height:30px;border-radius:50%;background:linear-gradient(180deg,#202833 0%,#0f172a 100%);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;box-shadow:0 8px 18px rgba(15,23,42,.26)}
    .tab-special span{font-size:11px;font-weight:900;margin-top:1px}
    .tab-special small{font-size:8px;opacity:.95;transform:scale(.92);margin-top:-1px}
    .tab.active .tab-special{background:linear-gradient(180deg,#111827 0%,#000 100%)}

    .grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
    .item{background:linear-gradient(180deg,#fffdfa 0%,#fff8ec 100%);border:1px solid #f3ead0;border-radius:14px;padding:12px 10px}
    .item b{display:block;margin-bottom:6px;font-size:14px}
    .service-panel{padding-bottom:10px}
    .service-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
    .service-item{background:linear-gradient(180deg,#fffdfa 0%,#fff7e8 100%);border:1px solid #f3ead0;border-radius:16px;padding:12px 10px;min-height:108px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
    .service-item:hover{transform:translateY(-2px);box-shadow:0 14px 26px rgba(255,196,58,.14);border-color:#efd99f}
    .service-item:active{transform:translateY(0) scale(.985)}
    .service-item b{display:block;margin:8px 0 6px;font-size:14px}
    .service-icon{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(180deg,#ffe38a 0%,#ffd34f 100%);box-shadow:0 8px 16px rgba(255,204,0,.18);font-size:17px}
    .pill{display:inline-block;padding:4px 9px;border-radius:999px;font-size:11px;background:#fff6cf;color:#7a5a00;border:1px solid #ffe07e;font-weight:700}
    .btn{width:100%;border:none;border-radius:14px;background:linear-gradient(180deg,#ffd84a 0%,#ffc813 100%);color:#222;font-size:16px;font-weight:800;padding:13px 14px;cursor:pointer;box-shadow:0 10px 18px rgba(255,204,0,.28)}

    /* landing */
    .landing{background:linear-gradient(180deg,#ffe889 0%,#fff1b6 34%,#fff8e1 100%);padding:24px 16px}
    .header{text-align:center;margin-top:8vh;margin-bottom:24px}
    .subtitle{display:block;color:#7a6a38;font-size:15px;margin-bottom:8px}
    .title{font-size:30px;font-weight:900}
    .cards{display:flex;gap:12px}
    .card{flex:1;border-radius:24px;padding:18px 16px;position:relative;min-height:380px;border:2px solid transparent;cursor:pointer;box-shadow:0 14px 28px rgba(95,71,0,.12);overflow:hidden}
    .card.active{border-color:#222;transform:translateY(-1px)}
    .card h3{margin:0 0 14px;font-size:28px;line-height:1.05;position:relative;z-index:2}
    .tag{display:block;background:rgba(255,255,255,.62);padding:8px 8px;border-radius:10px;margin-bottom:8px;text-align:center;font-size:14px;font-weight:700;position:relative;z-index:2}
    .worker-bg{background:linear-gradient(180deg,#ffd83f 0%,#ffe770 100%)}.boss-bg{background:linear-gradient(180deg,#ebdfc9 0%,#dcc9aa 100%)}
    .card-figure{position:absolute;left:50%;bottom:-18px;transform:translateX(-50%);width:146%;max-width:252px;object-fit:cover;clip-path:inset(10px 10px 0 10px round 20px);-webkit-mask-image:linear-gradient(to top,rgba(0,0,0,1) 82%,rgba(0,0,0,.92) 90%,rgba(0,0,0,0) 100%);mask-image:linear-gradient(to top,rgba(0,0,0,1) 82%,rgba(0,0,0,.92) 90%,rgba(0,0,0,0) 100%)}
    .worker-figure{width:152%;max-width:264px;object-position:center 18%;left:52%}
    .boss-figure{width:142%;max-width:246px;object-position:center 12%;left:50%}

    /* worker order */
    .chips{display:flex;gap:8px;overflow:auto;padding-bottom:2px}
    .chip{white-space:nowrap;background:#f7f4eb;border:1px solid #efe4c8;color:#6b5b37;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:700}
    .chip.active{background:#fff;border-color:#ffd95c;color:#8a6100;box-shadow:0 4px 10px rgba(255,217,92,.18)}
    .featured-job{margin-top:10px;border-radius:18px;padding:14px;background:linear-gradient(135deg,#2a3440 0%,#101827 100%);color:#fff;box-shadow:0 16px 28px rgba(15,23,42,.18)}
    .featured-top{display:flex;justify-content:space-between;gap:8px;align-items:center}
    .featured-distance{font-size:12px;color:rgba(255,255,255,.72)}
    .featured-title{margin:12px 0 10px;font-size:19px;line-height:1.35;font-weight:900;letter-spacing:.2px;text-shadow:0 2px 10px rgba(0,0,0,.14)}
    .featured-tags{display:flex;flex-wrap:wrap;gap:6px}
    .featured-tags .job-tag{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.1);color:#fff7db}
    .featured-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:14px}
    .featured-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;font-size:12px;color:rgba(255,255,255,.78)}
    .featured-meta span{padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08)}
    .boss-featured{background:linear-gradient(135deg,#a35f00 0%,#6b3d00 100%)}
    .job{border:1px solid #f1e8d4;border-radius:16px;padding:13px 12px;margin-top:10px;background:linear-gradient(180deg,#fffdfa 0%,#fff9ef 100%);box-shadow:0 6px 18px rgba(17,24,39,.04)}
    .job-top{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:#4b5563}
    .job-top span:last-child{position:relative;padding-left:10px}
    .job-top span:last-child:before{content:"";position:absolute;left:0;top:50%;width:5px;height:5px;border-radius:50%;background:#ffb300;transform:translateY(-50%)}
    .job-title{font-weight:800;margin:8px 0;font-size:15px;line-height:1.35}
    .job-tags{display:flex;flex-wrap:wrap;gap:6px}
    .job-tag{font-size:11px;background:#fff;border:1px solid #f0e5ca;padding:4px 8px;border-radius:999px;color:#6b5b37;font-weight:600}
    .job-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:12px}
    .price{color:#f97316;font-weight:900;font-size:26px}
    .featured-job .price{color:#fff}
    .grab{background:linear-gradient(180deg,#202833 0%,#0f172a 100%);color:#fff;border:none;border-radius:999px;padding:9px 14px;font-size:12px;font-weight:700;box-shadow:0 8px 16px rgba(15,23,42,.16)}
    .grab.light{background:linear-gradient(180deg,#ffd84a 0%,#ffc813 100%);color:#2a2200;box-shadow:0 10px 18px rgba(255,204,0,.22)}

    /* message list */
    .msg{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
    .msg:last-child{border-bottom:none;padding-bottom:2px}
    .msg-body{flex:1;min-width:0}
    .msg-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px}
    .msg-head span{font-size:12px;color:#9ca3af;white-space:nowrap}
    .msg.unread .msg-head b{color:#111827}
    .msg-dot{width:8px;height:8px;border-radius:999px;background:#ff7a45;display:block;box-shadow:0 0 0 4px rgba(255,122,69,.12)}
    .icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;color:#fff;font-weight:700;box-shadow:0 8px 18px rgba(0,0,0,.08)}
    .icon.orange{background:linear-gradient(180deg,#fbbf24 0%,#f59e0b 100%)}.icon.blue{background:linear-gradient(180deg,#60a5fa 0%,#2563eb 100%)}.icon.green{background:linear-gradient(180deg,#4ade80 0%,#16a34a 100%)}

    /* mine */
    .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
    .stat{background:linear-gradient(180deg,#fffdfa 0%,#fff8eb 100%);border:1px solid #f1e7d1;border-radius:14px;padding:11px 8px;text-align:center}
    .stat b{display:block;font-size:18px;margin-bottom:4px}

    .top-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
    .back{font-size:13px;color:#374151;cursor:pointer;font-weight:700}
