:root { --ink:#21342d; --muted:#6e7b74; --paper:#f5f3ec; --white:#fffdf8; --green:#356859; --green-dark:#244b40; --coral:#e86e52; --gold:#e9b44c; --blue:#6a8eae; --line:rgba(33,52,45,.12); --shadow:0 16px 45px rgba(42,54,48,.12); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:#deddd8; font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif; line-height:1.5; }
button,input,select,textarea { font:inherit; }
button { color:inherit; }
.hidden,[hidden] { display:none!important; }
.honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; opacity:0!important; }
.app-shell { position:relative; width:min(100%,480px); min-height:100dvh; margin:0 auto; overflow:hidden; background:var(--paper); box-shadow:0 0 60px rgba(0,0,0,.12); }
.app-header { position:sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between; padding:max(15px,env(safe-area-inset-top)) 20px 13px; background:rgba(245,243,236,.92); backdrop-filter:blur(16px); }
.app-kicker { margin:0 0 2px; color:var(--muted); font-size:11px; letter-spacing:.12em; }
.app-header h1 { display:flex; align-items:center; gap:9px; margin:0; font-family:Georgia,"Songti SC",serif; font-size:22px; }
.app-header h1 span { display:grid; place-items:center; width:34px; height:34px; color:white; border-radius:12px 12px 12px 4px; background:var(--green); font:700 15px system-ui; }
.icon-button,.round-button { display:grid; place-items:center; width:42px; height:42px; padding:0; border:1px solid var(--line); border-radius:50%; background:var(--white); cursor:pointer; font-size:19px; }
main { padding-bottom:calc(92px + env(safe-area-inset-bottom)); }
.app-view { display:none; padding:10px 18px 24px; }
.app-view.active { display:block; }
.welcome-card { position:relative; display:flex; justify-content:space-between; min-height:210px; padding:28px 24px; overflow:hidden; color:white; border-radius:28px; background:var(--green); box-shadow:var(--shadow); }
.welcome-card::after { content:""; position:absolute; right:-45px; bottom:-65px; width:190px; height:190px; border:30px solid rgba(255,255,255,.1); border-radius:50%; }
.welcome-card p { margin:0 0 10px; color:#dcebe4; font-size:13px; }
.welcome-card h2 { margin:0; font-family:Georgia,"Songti SC",serif; font-size:24px; font-weight:500; line-height:1.35; }
.weather-button { z-index:1; align-self:flex-start; display:grid; justify-items:center; gap:3px; min-width:78px; padding:11px 8px; color:white; border:1px solid rgba(255,255,255,.24); border-radius:18px; background:rgba(255,255,255,.12); cursor:pointer; }
.weather-button span:first-child { font-size:25px; }.weather-button span:last-child { max-width:90px; font-size:10px; }
.search-box { display:flex; align-items:center; gap:9px; margin:18px 0 26px; padding:0 16px; border:1px solid var(--line); border-radius:16px; background:var(--white); }
.search-box span { color:var(--muted); font-size:25px; transform:rotate(-18deg); }.search-box input { width:100%; height:50px; border:0; outline:0; background:transparent; font-size:14px; }
.section-title { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }.section-title>div { display:flex; align-items:center; gap:8px; }.section-title>div>span { width:4px; height:20px; border-radius:99px; background:var(--coral); }
.section-title h2 { margin:0; font-size:19px; }.section-title small { color:var(--muted); }.text-button { padding:4px 0; color:var(--green); border:0; background:transparent; font-weight:700; cursor:pointer; }
.quick-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; }.quick-grid button { display:grid; justify-items:center; gap:8px; padding:0; border:0; background:none; cursor:pointer; font-size:11px; white-space:nowrap; }
.quick-grid i { display:grid; place-items:center; width:51px; height:51px; border-radius:18px; color:white; font-size:18px; font-style:normal; font-weight:800; box-shadow:0 8px 20px rgba(0,0,0,.08); }
.quick-skill{background:#548a6d}.quick-item{background:var(--blue)}.quick-secondhand{background:#c99531}.quick-info{background:#8d8f65}.quick-help{background:var(--coral)}
.feed-section { margin-top:34px; }.filters { display:flex; gap:8px; margin:0 -18px 16px; padding:0 18px 4px; overflow-x:auto; scrollbar-width:none; }.filters::-webkit-scrollbar{display:none}
.filters button { flex:0 0 auto; padding:8px 16px; color:var(--muted); border:1px solid var(--line); border-radius:999px; background:transparent; cursor:pointer; font-size:12px; }.filters button.active { color:white; border-color:var(--green); background:var(--green); }
.post-list { display:grid; gap:13px; }.post-card { display:grid; grid-template-columns:82px 1fr; gap:14px; min-height:116px; padding:14px; border:1px solid rgba(255,255,255,.8); border-radius:20px; background:var(--white); box-shadow:0 8px 25px rgba(42,54,48,.07); cursor:pointer; }
.post-cover { position:relative; display:grid; place-items:center; min-height:88px; overflow:hidden; border-radius:15px; background:#dce7dc; font-size:28px; }.post-cover img { width:100%; height:100%; object-fit:cover; }.post-cover span { position:absolute; left:6px; bottom:6px; padding:2px 6px; color:white; border-radius:99px; background:rgba(33,52,45,.72); font-size:9px; }
.post-main { min-width:0; }.post-top { display:flex; align-items:center; justify-content:space-between; gap:8px; color:var(--muted); font-size:10px; }.post-main h3 { display:-webkit-box; margin:8px 0 5px; overflow:hidden; font-size:15px; line-height:1.4; -webkit-box-orient:vertical; -webkit-line-clamp:2; }.post-main p { overflow:hidden; margin:0; color:var(--muted); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.post-bottom { display:flex; align-items:center; justify-content:space-between; margin-top:9px; color:var(--green); font-size:10px; }.mini-actions { display:flex; gap:5px; }.mini-actions button { padding:3px 7px; color:var(--green); border:0; border-radius:8px; background:#edf3ef; cursor:pointer; font-size:10px; }.received-tag { color:var(--coral); font-weight:700; }
.view-detail { display:block; margin-top:5px; color:var(--green); font-size:11px; font-weight:700; text-align:right; }
.empty-state { padding:48px 22px; color:var(--muted); text-align:center; }.empty-state>span { font-size:42px; }.empty-state h3 { margin:12px 0 4px; color:var(--ink); }.empty-state p { margin:0 0 20px; font-size:13px; }.empty-state.compact { padding-top:70px; }
.page-heading { padding:18px 4px 25px; }.page-heading p { margin:0 0 7px; color:var(--coral); font-size:12px; font-weight:800; letter-spacing:.1em; }.page-heading h2 { margin:0 0 8px; font-family:Georgia,"Songti SC",serif; font-size:31px; font-weight:500; }.page-heading>span { color:var(--muted); font-size:13px; }
.publish-form { display:grid; gap:16px; padding:22px 18px; border-radius:24px; background:var(--white); box-shadow:var(--shadow); }.publish-form label { position:relative; display:grid; gap:7px; font-size:12px; font-weight:700; }
.publish-form input,.publish-form select,.publish-form textarea { width:100%; padding:13px; color:var(--ink); border:1px solid var(--line); border-radius:12px; outline:0; background:#faf9f5; font-size:14px; }.publish-form input:focus,.publish-form select:focus,.publish-form textarea:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(53,104,89,.1); }.publish-form textarea { min-height:112px; resize:vertical; }.publish-form label>small { position:absolute; right:9px; bottom:8px; color:#9aa39e; font-size:10px; font-weight:400; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }.privacy-tip { margin:-3px 0 0; color:var(--muted); font-size:10px; }
.anon-check { display:flex!important; align-items:center; gap:8px; font-size:12px; }.anon-check input { width:16px; height:16px; margin:0; accent-color:var(--green); }
.address-row { display:grid; grid-template-columns:1.15fr .85fr .85fr; gap:8px; }
.primary-button,.secondary-button { min-height:48px; padding:0 20px; border-radius:14px; cursor:pointer; font-weight:800; }.primary-button { color:white; border:0; background:var(--green); }.primary-button:active { background:var(--green-dark); }.secondary-button { color:var(--green); border:1px solid var(--line); background:transparent; }.submit-button { width:100%; margin-top:2px; }.form-status { min-height:18px; margin:-5px 0 0; color:var(--coral); font-size:11px; text-align:center; }
.mine-summary { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:18px; }.mine-summary div { display:grid; gap:3px; padding:18px; border-radius:18px; background:var(--white); box-shadow:0 8px 25px rgba(42,54,48,.06); }.mine-summary strong { font:500 27px Georgia,serif; }.mine-summary span { color:var(--muted); font-size:11px; }
.mine-tabs { display:grid; grid-template-columns:1fr 1fr; padding:4px; margin-bottom:16px; border-radius:14px; background:#e9e8e1; }.mine-tabs button { padding:9px; border:0; border-radius:11px; background:transparent; cursor:pointer; font-size:12px; }.mine-tabs button.active { background:var(--white); box-shadow:0 3px 12px rgba(0,0,0,.07); font-weight:700; }
.feedback-box { display:grid; gap:14px; margin:18px 0 24px; }
.expired-tag { color:#9aa39e; font-style:normal; font-weight:700; }
.image-field { display:grid; gap:10px; }.image-field .image-choose { width:100%; }
.image-preview-row { position:relative; }.image-preview-row img { display:block; width:100%; max-height:200px; object-fit:cover; border-radius:12px; }.image-preview-row button { position:absolute; top:8px; right:8px; width:30px; height:30px; color:white; border:0; border-radius:50%; background:rgba(0,0,0,.55); cursor:pointer; }
.account-box { display:grid; gap:10px; margin:0 0 18px; padding:18px; border-radius:18px; background:var(--white); box-shadow:0 8px 25px rgba(42,54,48,.06); }.account-box p { margin:0; color:var(--muted); font-size:12px; }.login-panel { padding-top:13px; }
.account-avatar-row { display:flex; align-items:center; gap:13px; }.avatar-button { flex:0 0 auto; width:56px; height:56px; padding:0; overflow:hidden; border:1px solid var(--line); border-radius:50%; background:#edf3ef; cursor:pointer; }.avatar-button img { display:block; width:100%; height:100%; object-fit:cover; }
.publisher { display:flex; align-items:center; gap:5px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.publisher-avatar { flex:0 0 auto; width:18px; height:18px; border-radius:50%; object-fit:cover; background:#dce7dc; }
.verified-tag { flex:0 0 auto; padding:2px 6px; color:white; border-radius:99px; background:var(--green); font-size:9px; font-weight:800; }.post-bottom-left { display:flex; align-items:center; gap:6px; min-width:0; }
.tab-bar { position:fixed; z-index:30; left:50%; bottom:0; display:grid; grid-template-columns:repeat(3,1fr); width:min(100%,480px); padding:8px 28px max(9px,env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:rgba(255,253,248,.95); backdrop-filter:blur(18px); transform:translateX(-50%); }.tab-bar button { display:grid; justify-items:center; gap:2px; padding:2px; color:#8a948e; border:0; background:none; cursor:pointer; font-size:10px; }.tab-bar button>span { font-size:23px; line-height:1; }.tab-bar button.active { color:var(--green); font-weight:800; }.tab-bar .publish-tab span { display:grid; place-items:center; width:44px; height:34px; margin-top:-17px; color:white; border-radius:15px; background:var(--coral); box-shadow:0 8px 20px rgba(232,110,82,.28); }
.sheet { position:fixed; z-index:50; inset:0; display:flex; justify-content:center; align-items:end; }.sheet-backdrop { position:absolute; inset:0; width:100%; border:0; background:rgba(18,29,24,.5); backdrop-filter:blur(3px); }.sheet-panel { position:relative; width:min(100%,480px); max-height:90dvh; padding:13px 22px calc(25px + env(safe-area-inset-bottom)); overflow-y:auto; border-radius:28px 28px 0 0; background:var(--white); box-shadow:0 -18px 55px rgba(0,0,0,.18); animation:sheet-up .2s ease-out; }.sheet-handle { width:42px; height:4px; margin:0 auto 16px; border-radius:99px; background:#d7d9d6; }.sheet-close { position:absolute; z-index:2; top:17px; right:18px; width:36px; height:36px; border:0; border-radius:50%; background:rgba(255,255,255,.9); cursor:pointer; font-size:24px; }
#detail-sheet .sheet-panel { display:flex; flex-direction:column; height:100dvh; max-height:none; padding:0; overflow-y:auto; border-radius:0; }
.detail-nav { position:sticky; z-index:4; top:0; display:grid; grid-template-columns:44px 1fr 44px; align-items:center; gap:8px; padding:max(10px,env(safe-area-inset-top)) 14px 10px; border-bottom:1px solid var(--line); background:rgba(255,253,248,.94); backdrop-filter:blur(16px); }.detail-nav strong { text-align:center; font-size:15px; }.detail-nav button { width:40px; height:40px; padding:0; color:var(--ink); border:0; border-radius:50%; background:#f0efe9; cursor:pointer; font-size:25px; line-height:1; }
.detail-image { flex:0 0 auto; width:100%; aspect-ratio:1; max-height:52dvh; overflow:hidden; background:#e5ece7; }.detail-image img { width:100%; height:100%; object-fit:cover; }.detail-content { flex:1 0 auto; min-height:45dvh; padding:20px 18px 28px; }.detail-badges { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:11px; }.detail-badges span { padding:5px 10px; color:var(--green); border-radius:99px; background:#e8f0eb; font-weight:800; }.detail-badges time { margin-left:auto; }.detail-content h2 { margin:16px 0 10px; font-size:24px; font-weight:800; line-height:1.4; }.detail-description { margin:0; color:#56645d; font-size:15px; line-height:1.8; white-space:pre-wrap; }
.detail-meta { display:grid; gap:0; margin:24px 0 0; padding:0 14px; border:1px solid var(--line); border-radius:16px; background:#f7f6f1; }.detail-meta div { display:grid; grid-template-columns:70px 1fr; padding:13px 0; border-bottom:1px solid var(--line); font-size:13px; }.detail-meta div:last-child { border-bottom:0; }.detail-meta dt { color:var(--muted); }.detail-meta dd { margin:0; font-weight:700; }
.detail-actions { position:sticky; z-index:4; bottom:0; display:grid; grid-template-columns:48px 1fr; gap:10px; padding:10px 18px max(10px,env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:rgba(255,253,248,.96); backdrop-filter:blur(16px); }.detail-actions .round-button { width:48px; height:48px; }.detail-actions .round-button.active { color:white; border-color:var(--coral); background:var(--coral); }.owner-actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:14px; }.owner-actions button { padding:10px; border:1px solid var(--line); border-radius:12px; background:transparent; cursor:pointer; }.owner-actions button:last-child { color:#c54f3b; }
.detail-actions.no-contact { grid-template-columns:48px; }
.toast { position:fixed; z-index:80; left:50%; bottom:92px; max-width:calc(100% - 40px); padding:10px 16px; color:white; border-radius:99px; background:rgba(33,52,45,.94); opacity:0; pointer-events:none; transform:translate(-50%,10px); transition:.2s ease; font-size:12px; text-align:center; }.toast.show { opacity:1; transform:translate(-50%,0); }
@keyframes sheet-up { from { transform:translateY(25px); opacity:.5; } }
@media (max-width:370px) { .quick-grid{gap:4px}.quick-grid i{width:46px;height:46px}.form-row{grid-template-columns:1fr}.address-row{grid-template-columns:1fr 1fr 1fr} }
@media (prefers-reduced-motion:reduce) { html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important} }
