:root{--bg:#f3f7f4;--panel:#fff;--ink:#15231b;--muted:#718078;--line:#e1e9e4;--green:#168a55;--green2:#0d6d41;--soft:#e9f7ef;--orange:#f59e0b;--red:#dc4c4c;--blue:#4a86e8;--shadow:0 18px 48px rgba(19,55,36,.09);--radius:20px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(145deg,#eff8f2,#f7f7f2 50%,#eef6f5);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(22,138,85,.22);outline-offset:2px}.hidden{display:none!important}.app{min-height:100vh;display:grid;grid-template-columns:235px minmax(0,1fr)}.desktop-nav{position:sticky;top:0;height:100vh;padding:24px 15px;background:#11251b;color:#dff5e9}.brand,.auth-brand{display:flex;align-items:center;gap:11px}.brand{padding:0 10px 24px}.brand-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;flex:none;background:linear-gradient(135deg,#47d89c,#168a55);box-shadow:0 11px 24px rgba(38,186,117,.26)}.brand strong,.auth-brand strong{display:block}.brand small,.auth-brand small{display:block;margin-top:2px;color:#88ab99;font-size:11px}.desktop-nav nav{display:grid;gap:6px}.nav-item{width:100%;border:0;border-radius:13px;padding:11px 12px;text-align:left;color:#a8c2b4;background:transparent}.nav-item span{display:inline-block;width:28px}.nav-item:hover,.nav-item.active{color:#fff;background:rgba(255,255,255,.1)}.side-user{position:absolute;left:15px;right:15px;bottom:20px;padding:12px;border-radius:15px;background:rgba(255,255,255,.07);font-size:12px}.side-user strong{display:block;color:white;margin-bottom:3px}.shell{min-width:0;max-width:1120px;width:100%;margin:0 auto;padding:0 30px 50px}.topbar{position:sticky;top:0;z-index:8;display:flex;align-items:center;justify-content:space-between;padding:22px 0 15px;background:rgba(243,247,244,.85);backdrop-filter:blur(18px)}.topbar small{color:var(--muted)}.topbar h1{margin:2px 0 0;font-size:25px}.top-actions{display:flex;gap:8px}.round-btn,.cart-btn{width:42px;height:42px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(20,50,34,.06)}.cart-btn{position:relative}.cart-btn span{position:absolute;right:-5px;top:-6px;min-width:19px;height:19px;padding:0 5px;display:grid;place-items:center;border-radius:99px;color:#fff;background:var(--red);font-size:10px}#view{min-height:calc(100vh - 110px);padding-bottom:20px}.hero{display:grid;grid-template-columns:1.25fr .75fr;gap:18px;padding:28px;border-radius:28px;color:white;background:radial-gradient(circle at 85% 10%,rgba(255,255,255,.22),transparent 32%),linear-gradient(135deg,#0f8650,#20a86a);box-shadow:0 20px 50px rgba(18,133,80,.22)}.hero h2{font-size:31px;margin:8px 0 10px}.hero p{margin:0;max-width:570px;line-height:1.75;color:rgba(255,255,255,.86)}.hero-actions{display:flex;gap:10px;margin-top:20px}.hero-visual{display:grid;place-items:center;font-size:96px;filter:drop-shadow(0 16px 22px rgba(0,0,0,.16))}.primary,.secondary,.ghost,.danger{border:0;border-radius:12px;padding:10px 14px;font-weight:700}.primary{color:white;background:linear-gradient(135deg,#1a995f,#117443)}.secondary{color:var(--green2);background:var(--soft)}.ghost{color:#58655e;background:#f0f4f1}.danger{color:#b53636;background:#fff0f0}.hero .primary{color:var(--green2);background:#fff}.hero .ghost{color:#fff;background:rgba(255,255,255,.14)}.wide{width:100%;padding:12px}.quick-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:18px 0}.quick{border:1px solid rgba(225,233,228,.9);border-radius:18px;padding:16px 10px;background:white;box-shadow:0 10px 28px rgba(19,55,36,.05);text-align:center}.quick:hover{transform:translateY(-2px)}.quick i{display:block;font-style:normal;font-size:26px;margin-bottom:7px}.quick span{font-size:12px}.section{margin-top:22px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:11px}.section-head h2{font-size:18px;margin:0}.section-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.link-btn{border:0;color:var(--green2);background:transparent}.grid{display:grid;gap:14px}.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.card{border:1px solid rgba(225,233,228,.86);border-radius:var(--radius);padding:16px;background:var(--panel);box-shadow:0 12px 34px rgba(19,55,36,.055)}.card.clickable{cursor:pointer}.card.clickable:hover{border-color:#b7dac5;transform:translateY(-1px)}.post-head,.row,.between{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.avatar{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;flex:none;color:white;background:linear-gradient(135deg,#f099bd,#7c8ee8);font-weight:800}.avatar.large{width:55px;height:55px;font-size:20px}.meta{color:var(--muted);font-size:11px}.tag,.badge{display:inline-flex;padding:5px 9px;border-radius:99px;color:var(--green2);background:var(--soft);font-size:11px}.badge.warn{color:#9a5d00;background:#fff4d7}.badge.gray{color:#68736d;background:#edf1ef}.badge.red{color:#b53636;background:#fff0f0}.post-content{margin:13px 0;line-height:1.75;white-space:pre-wrap}.post-actions{display:flex;gap:18px;border-top:1px solid var(--line);padding-top:11px;color:var(--muted);font-size:12px}.post-actions button{border:0;background:transparent;color:inherit;padding:0}.post-actions button.liked{color:#e23f69;font-weight:800}.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:11px 0}.media-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;background:#edf2ef}.product-card{overflow:hidden;padding:0}.product-cover{height:145px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#d9f4e5,#c4e2f7);font-size:48px}.product-cover img{width:100%;height:100%;object-fit:cover}.product-body{padding:14px}.product-body h3{font-size:15px;margin:0 0 7px}.price{color:#e64b3f;font-size:19px;font-weight:850}.old-price{margin-left:5px;text-decoration:line-through;color:#9aa39e;font-size:11px}.filterbar{display:flex;align-items:center;gap:9px;overflow:auto;margin-bottom:14px;padding-bottom:2px}.filterbar button,.channel button{white-space:nowrap;border:1px solid var(--line);border-radius:99px;padding:8px 13px;color:var(--muted);background:white}.filterbar button.active,.channel button.active{border-color:#a9dac0;color:var(--green2);background:var(--soft)}.page-head{display:flex;justify-content:space-between;align-items:center;margin:4px 0 16px}.page-head h2{margin:0}.searchbox{display:flex;align-items:center;gap:8px;min-width:230px;border:1px solid var(--line);border-radius:13px;padding:9px 12px;background:white}.searchbox input{width:100%;border:0;outline:0;background:transparent}.channel{display:flex;gap:8px;padding:4px;border-radius:14px;background:#e8f4ed;margin-bottom:15px}.channel button{flex:1;border:0;border-radius:11px}.empty{padding:42px 18px;border:1px dashed #cedbd3;border-radius:20px;text-align:center;color:var(--muted);background:rgba(255,255,255,.65)}.empty i{display:block;font-style:normal;font-size:38px;margin-bottom:8px}.checkin-card{padding:26px;background:linear-gradient(135deg,#fff3c7,#ffd978);border:0}.checkin-card h2{font-size:28px;margin:7px 0}.grid-wall{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.grid-person{min-height:112px;display:grid;place-items:center;align-content:center;gap:7px;border-radius:17px;background:white;box-shadow:0 10px 25px rgba(36,55,44,.06);font-size:12px}.profile-hero{display:flex;justify-content:space-between;align-items:center;padding:24px;border-radius:24px;color:white;background:linear-gradient(135deg,#1b9a61,#4d8edc)}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}.profile-stat{text-align:center}.profile-stat strong{display:block;font-size:22px}.list{display:grid;gap:10px}.list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--line);border-radius:15px;background:white}.order-items{margin:10px 0;padding:10px;border-radius:12px;background:#f7faf8}.bottom-nav{display:none}.auth-gate{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 15% 10%,rgba(66,199,132,.28),transparent 32%),linear-gradient(145deg,#eaf7ef,#f8f5ec)}.auth-card{width:min(540px,100%);padding:28px;border:1px solid rgba(255,255,255,.8);border-radius:28px;background:rgba(255,255,255,.9);box-shadow:0 30px 90px rgba(19,55,36,.15);backdrop-filter:blur(18px)}.auth-brand{margin-bottom:22px}.auth-brand .brand-mark{width:50px;height:50px;font-size:22px}.auth-brand strong{font-size:22px}.auth-tabs{display:flex;padding:4px;border-radius:13px;background:#edf3ef;margin-bottom:18px}.auth-tabs button{flex:1;border:0;border-radius:10px;padding:9px;color:var(--muted);background:transparent}.auth-tabs button.active{color:var(--green2);background:white;box-shadow:0 5px 14px rgba(20,60,37,.08)}.auth-form{display:grid;gap:14px}.auth-form label,.field{display:grid;gap:7px;color:#46534c;font-size:12px}.auth-form input,.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:12px;padding:11px 12px;color:var(--ink);background:#fbfdfc}.field textarea{min-height:100px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.auth-note{text-align:center;color:var(--muted);font-size:11px;line-height:1.65;margin:17px 0 0}.drawer-backdrop,.modal-backdrop{position:fixed;inset:0;z-index:30;background:rgba(12,26,18,.43);opacity:0;visibility:hidden;transition:.2s}.drawer-backdrop.show,.modal-backdrop.show{opacity:1;visibility:visible}.cart-drawer{position:fixed;top:0;right:0;bottom:0;z-index:31;width:min(430px,100%);display:flex;flex-direction:column;padding:22px;background:white;box-shadow:-25px 0 70px rgba(0,0,0,.16);transform:translateX(105%);transition:.24s}.cart-drawer.show{transform:none}.drawer-head,.modal-head{display:flex;justify-content:space-between;align-items:center}.drawer-head h2,.modal-head h2{margin:2px 0 0}.drawer-head small,.modal-head small{color:var(--muted)}.cart-items{flex:1;overflow:auto;margin:18px 0}.cart-row{display:grid;grid-template-columns:1fr auto;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.qty{display:inline-flex;align-items:center;gap:9px;padding:5px 9px;border-radius:99px;background:#f0f4f1}.qty button{border:0;background:transparent}.cart-footer{display:flex;align-items:center;justify-content:space-between;padding-top:15px;border-top:1px solid var(--line)}.cart-footer strong{display:block;font-size:23px;color:#e64b3f}.modal-backdrop{display:grid;place-items:center;padding:20px;z-index:40}.modal{width:min(620px,100%);max-height:min(780px,90vh);overflow:auto;padding:22px;border-radius:24px;background:white;box-shadow:0 30px 90px rgba(0,0,0,.2);transform:translateY(15px);transition:.2s}.modal-backdrop.show .modal{transform:none}.modal-head{margin-bottom:18px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.choice-grid{display:flex;gap:8px;flex-wrap:wrap}.choice-grid label{cursor:pointer}.choice-grid input{position:absolute;opacity:0;pointer-events:none}.choice-grid span{display:inline-block;padding:8px 12px;border:1px solid var(--line);border-radius:99px;color:var(--muted)}.choice-grid input:checked+span{border-color:#a4d7bc;color:var(--green2);background:var(--soft)}.image-input{padding:16px!important;border-style:dashed!important}.comment-list{display:grid;gap:10px;margin:14px 0}.comment{padding:12px;border-radius:14px;background:#f6f9f7}.toast{position:fixed;left:50%;bottom:26px;z-index:80;padding:11px 17px;border-radius:99px;color:white;background:rgba(17,37,27,.94);box-shadow:var(--shadow);opacity:0;pointer-events:none;transform:translate(-50%,15px);transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.loading{min-height:400px;display:grid;place-items:center;align-content:center;color:var(--muted)}.loading span{width:34px;height:34px;border:3px solid #d8e6dd;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}.loading p{font-size:12px}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:950px){.app{display:block}.desktop-nav{display:none}.shell{padding:0 18px 100px}.bottom-nav{position:fixed;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));z-index:20;display:flex;justify-content:space-around;padding:9px 5px;border:1px solid rgba(225,233,228,.9);border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 12px 45px rgba(17,45,29,.15);backdrop-filter:blur(18px)}.bottom-nav button{min-width:47px;border:0;color:#849189;background:transparent;font-size:10px}.bottom-nav button i{display:block;font-style:normal;font-size:18px;margin-bottom:3px}.bottom-nav button.active{color:var(--green2);font-weight:800}.quick-grid{grid-template-columns:repeat(3,1fr)}.hero{grid-template-columns:1fr}.hero-visual{display:none}}@media(max-width:620px){.shell{padding:0 12px 96px}.topbar{padding:15px 2px 11px}.topbar h1{font-size:21px}.hero{padding:22px;border-radius:23px}.hero h2{font-size:25px}.grid.cols-2,.grid.cols-3,.grid.cols-4{grid-template-columns:1fr}.grid.mobile-2{grid-template-columns:repeat(2,minmax(0,1fr))}.product-cover{height:125px}.page-head{align-items:flex-start;gap:10px;flex-direction:column}.searchbox{width:100%}.profile-stats{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}.auth-card{padding:22px}.quick{padding:13px 6px}.quick i{font-size:22px}.modal-backdrop{padding:10px}.modal{padding:18px;border-radius:20px}.media-grid{grid-template-columns:repeat(2,1fr)}}
