:root{--bg:#f6f5ef;--ink:#24382d;--green:#224d3e;--leaf:#76876b;--muted:#899184;--pale:#e6ebdd;--clay:#a8583c;--white:#fff;--line:#e9ece3;font-family:'Noto Sans SC',system-ui,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0;background:linear-gradient(145deg,#eef0e6,#f7f5ed 45%,#eee9dc);min-height:100dvh}.canvas{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:22px}.device{width:min(100%,420px);height:min(900px,calc(100dvh - 44px));min-height:640px;background:var(--bg);border:8px solid #1b2d25;border-radius:38px;overflow:hidden;position:relative;box-shadow:0 30px 100px #33443730;display:flex;flex-direction:column}.status{height:32px;padding:9px 21px 4px;display:flex;justify-content:space-between;font-size:11px;font-weight:700;background:var(--bg)}.topbar{min-height:46px;display:flex;align-items:center;justify-content:space-between;padding:6px 19px 12px}.topbar .brand-small{font:600 18px Georgia,serif;letter-spacing:.12em}.topbar button,.tabs button{border:0;background:transparent;color:var(--ink);font:inherit;cursor:pointer}.topbar .back{font-size:19px}.main{overflow:auto;flex:1;padding:3px 18px 24px;scrollbar-width:none}.main::-webkit-scrollbar{display:none}#app{overflow:auto;flex:1;padding:2px 18px 25px;scrollbar-width:none}#app::-webkit-scrollbar{display:none}.tabs{min-height:60px;display:flex;justify-content:space-around;align-items:center;background:#ffffffed;border-top:1px solid var(--line);padding:5px 8px max(6px,env(safe-area-inset-bottom))}.tabs button{font-size:10px;display:flex;flex-direction:column;align-items:center;gap:4px;color:#838c7e}.tabs button.active{color:var(--green);font-weight:700}.tabs .tab-icon{width:27px;height:27px;border-radius:10px;background:#edf1e7;display:grid;place-items:center;font-size:14px}.tabs button.active .tab-icon{background:var(--green);color:#edf3dd}.tabs button.add .tab-icon{border-radius:11px;background:var(--green);color:#e8efda;font-size:19px}.safe{height:4px;background:#fff}.eyebrow{font-size:9px;letter-spacing:.23em;color:#829076}.serif{font-family:'Noto Serif SC',Georgia,serif}.heading{font-size:23px;font-weight:600}.title{font:600 32px 'Noto Serif SC',Georgia,serif;letter-spacing:.05em}.muted{color:var(--muted)}.small{font-size:11px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.grow{flex:1;min-width:0}.home-head{display:flex;justify-content:space-between;align-items:flex-end;margin:4px 0 16px}.edition{text-align:right;font-size:10px;color:#79876e;line-height:1.65}.search{height:40px;border-radius:12px;background:#e9ece4;padding:0 12px;display:flex;align-items:center;gap:9px;margin:14px 0}.search input{flex:1;min-width:0;border:0;background:transparent;outline:0;font:inherit;font-size:12px;color:var(--ink)}.feature{height:168px;position:relative;overflow:hidden;background:linear-gradient(125deg,#234a3b,#315b44);border-radius:19px;padding:19px;color:#edf0df;margin:11px 0 21px}.feature .eyebrow{color:#bdcba8}.feature-title{font:500 25px/1.48 'Noto Serif SC',Georgia,serif;margin:12px 0 10px;position:relative;z-index:1}.feature-foot{font-size:10px;color:#cad6ba;position:relative;z-index:1}.orb{position:absolute;border:1px solid #819370;border-radius:50%;height:183px;width:115px;right:31px;top:7px;transform:rotate(-27deg);opacity:.64}.orb.two{right:72px;top:35px;opacity:.4}.chip-row{display:flex;gap:7px;overflow:auto;padding:12px 0;scrollbar-width:none}.chip{border:0;border-radius:50px;padding:9px 14px;background:#e9ece4;color:#72816b;white-space:nowrap;font:inherit;font-size:11px;cursor:pointer}.chip.active{background:var(--green);color:white}.feed-row{display:flex;align-items:center;justify-content:space-between;margin:5px 0}.feed-mode{font-size:15px;color:#93998b;margin-right:15px;cursor:pointer}.feed-mode.active{font-weight:700;color:var(--ink)}.masonry{display:grid;grid-template-columns:1fr 1fr;gap:10px}.note-card,.product-card{border-radius:15px;background:white;overflow:hidden;cursor:pointer}.note-card img{display:block;width:100%;height:152px;object-fit:cover;background:#e3e6da}.note-card img.tall{height:203px}.note-card .body,.product-card .body{padding:10px}.tag{font-size:9px;color:#829076;letter-spacing:.06em}.note-title{font-weight:600;font-size:12px;line-height:1.55;margin:6px 0 11px}.byline{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#828d7a}.avatar{width:21px;height:21px;border-radius:50%;background:#e8eddc;color:#496543;display:inline-grid;place-items:center;margin-right:5px}.products{display:grid;grid-template-columns:1fr 1fr;gap:12px}.product-card img{display:block;width:100%;height:157px;object-fit:cover;background:#e6e8df}.product-card .product-title{font-weight:600;font-size:12px;margin:6px 0}.price{font-size:15px;color:var(--clay);font-weight:700}.pill{border:1px solid #cfd8c4;color:#607651;font-size:10px;padding:4px 9px;border-radius:20px}.button{border:0;border-radius:40px;background:var(--green);color:#fff;min-height:40px;padding:0 19px;font:600 12px inherit;cursor:pointer}.button.secondary{background:#e8f0df;color:#31553f}.button.outline{border:1px solid #c7d1bd;color:#31553f;background:transparent}.button:disabled{opacity:.5;cursor:not-allowed}.section{margin-top:22px}.notice{padding:10px 12px;border-radius:11px;background:#f2eadb;color:#7f6748;font-size:10px;line-height:1.7;margin:12px 0}.divider{height:1px;background:var(--line);margin:15px 0}.cover{width:100%;height:325px;border-radius:16px;object-fit:cover;background:#e6e8df;margin:8px 0 15px}.detail-title{font:600 23px/1.45 'Noto Serif SC',Georgia,serif;margin:13px 0}.content{white-space:pre-wrap;line-height:1.9;font-size:14px;color:#405044}.detail-bottom{position:sticky;bottom:-25px;margin:18px -18px -25px;padding:10px 17px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.comment{padding:11px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.7}.field{margin:13px 0}.field label{display:block;color:#7d8877;font-size:11px;margin-bottom:7px}.input,textarea.input,select.input{width:100%;border:0;border-radius:11px;background:#eff1ea;padding:12px;font:inherit;font-size:12px;outline-color:#79916c;color:var(--ink)}textarea.input{height:115px;resize:vertical}.cart-row,.order-card,.address-card{background:#fff;border-radius:15px;padding:13px;margin:11px 0}.cart-row{display:flex;align-items:center;gap:10px}.cart-row img{width:65px;height:74px;object-fit:cover;border-radius:10px}.check{color:#36563d;cursor:pointer}.qty{display:flex;align-items:center;gap:12px;font-size:12px}.qty button{width:23px;height:23px;border-radius:50%;border:1px solid #dfe6d8;background:white;color:#35513b;cursor:pointer}.checkout-sticky{position:sticky;bottom:-25px;background:white;margin:12px -18px -25px;padding:12px 18px calc(12px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line)}.stat-row{display:flex;justify-content:space-around;margin:21px 0}.stat{text-align:center;font-size:19px}.stat small{display:block;font-size:10px;color:#84907e;margin-top:4px}.profile-card{padding:20px;border-radius:17px;background:#fff;display:flex;align-items:center;gap:13px}.avatar.large{width:53px;height:53px;font-size:17px}.order-nav{display:flex;justify-content:space-around;text-align:center;padding:14px 0}.order-nav button{background:none;border:0;color:#647b57;font-size:10px}.order-nav span{display:block;font-size:19px;margin-bottom:5px}.toast{position:absolute;bottom:78px;left:50%;transform:translate(-50%,15px);padding:10px 17px;border-radius:30px;background:#1d352a;color:white;font-size:11px;opacity:0;transition:.2s;pointer-events:none;white-space:nowrap;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}.empty{text-align:center;color:#8a9483;padding:45px 15px;line-height:1.9;font-size:12px}.category-title{font:600 25px 'Noto Serif SC',Georgia,serif}.address-card{line-height:1.7}.status-tag{font-size:10px;color:#62774f}.order-card .item{display:flex;gap:10px;margin:11px 0}.order-card .item img{width:56px;height:62px;object-fit:cover;border-radius:9px}.publish-label{font-size:10px;color:#85907c}.tabs+.safe{height:0}@media(max-width:460px){.canvas{padding:0}.device{border:0;border-radius:0;width:100%;height:100dvh;min-height:0}.status{display:none}.topbar{min-height:44px;padding-top:10px}.tabs{min-height:59px}.note-card img{height:139px}.note-card img.tall{height:184px}}

.note-cover{position:relative}.video-placeholder{height:220px;display:grid;place-items:center;background:#dce4d7;color:#506448}.video-badge{position:absolute;right:10px;bottom:10px;padding:4px 10px;background:#0009;color:white;border-radius:18px;font-size:11px}.work-card-meta{position:absolute;left:8px;right:8px;bottom:8px;display:flex;align-items:center;justify-content:space-between;gap:6px;color:white;font-size:9px}.work-card-meta span{max-width:72%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 7px;border-radius:12px;background:#0009}.work-card-meta span:last-child{max-width:28%;white-space:nowrap}.note-video{width:100%;height:420px;background:#17251f;object-fit:contain}

.publish-actions{display:flex;gap:10px;width:100%;margin-top:20px;flex-shrink:0}.publish-actions button{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:46px;min-height:46px;padding:0 10px;border:1px solid var(--green);border-radius:8px;background:var(--green);color:#fff;font-family:inherit;font-size:14px;font-weight:500;line-height:1.4;white-space:nowrap}.publish-actions button[data-kind="daily"]{background:#fff;color:var(--green);border-color:#c3d0c6}

.home-channels{display:flex;align-items:center;gap:9px;flex-shrink:0}.home-channels button{display:block;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;font-family:inherit;font-size:14px;font-weight:400;line-height:1.5;white-space:nowrap;color:#93998b}.home-channels button.active{color:var(--ink);font-weight:700}.feed-row>.eyebrow{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;font-size:8px}.home-channels button:focus-visible{outline:2px solid #598466;outline-offset:1px;border-radius:4px}.feed-status{margin:0}.feed-status button{margin-top:12px}
.work-votes{margin:0 0 18px;padding:15px;background:#fff;border:1px solid #e1e7e1;border-radius:8px}
.vote-heading{font-size:14px;font-weight:500;margin-bottom:12px}.vote-caption{display:block;font-size:11px;color:#7b877f;font-weight:400;line-height:1.6}
.vote-body{display:grid;grid-template-columns:1.1fr 1fr 1fr;align-items:center;gap:8px}.vote-summary{min-width:0}.vote-accuracy{display:block;color:var(--green);font-size:28px;font-weight:600;line-height:1.25;margin-bottom:4px}.vote-accuracy.unrated{font-size:17px;color:#7b877f}
.vote-button{min-width:0;min-height:68px;padding:8px 4px;border:1px solid #d9e4db;border-radius:6px;background:#f2f6f2;color:#325b46;font-family:inherit;cursor:pointer}.vote-count{display:block;font-size:19px;font-weight:600;line-height:1.3}.vote-label{display:block;font-size:12px;margin-top:4px;white-space:nowrap}
.vote-down{color:#76635d;background:#f8f4f1;border-color:#e9dfd7}.vote-up.selected{background:var(--green);border-color:var(--green);color:#fff}.vote-down.selected{background:#976650;border-color:#976650;color:#fff}.vote-button:disabled{opacity:.6;cursor:wait}.vote-button:focus-visible{outline:2px solid #598466;outline-offset:2px}.vote-footnote{font-size:10px;color:#8a958d;margin-top:10px}
.note-actions button{flex:1;min-width:0}
.chip-row[hidden]{display:none}.feed-row{gap:8px}.home-channels button{flex:0 0 auto}

img.avatar{object-fit:cover;flex-shrink:0}.byline .avatar{width:21px;height:21px;display:inline-block;vertical-align:middle}.profile-avatar-row{margin:20px 0;padding-bottom:16px;border-bottom:1px solid var(--line)}.profile-avatar-picker{position:relative;display:flex;align-items:center;gap:12px;cursor:pointer}.profile-avatar-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.profile-avatar-picker .avatar{display:flex}#profile-form>button{width:100%;border-radius:8px;margin-top:12px}.profile-logout{background:#fff;color:#8c5142;border:1px solid var(--line)}.signed-out{display:block;text-align:center}
.mixed-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px}.mixed-images .cover{height:220px;margin:0}
.gallery-card .note-cover{position:relative}.gallery-card .gallery-cover{display:block;width:100%;height:auto;object-fit:contain}.gallery-placeholder{display:grid;place-items:center;height:180px;background:#e9ebdf;color:#7b896f;font-size:12px}.image-count{position:absolute;right:7px;bottom:7px;padding:4px 7px;border-radius:10px;background:rgba(0,0,0,.5);color:#fff;font-size:10px}.gallery-card .note-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.gallery-card .byline>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-card .byline>span:last-child{flex-shrink:0}
