:root {
  --red: #d71920; --red-dark: #b91017; --orange: #ff8a00; --green: #168342; --blue: #1769c2;
  --ink: #121212; --muted: #686868; --line: #eee7df; --paper: #fff; --warm: #fffaf5;
  --radius: 14px; --shadow: 0 6px 24px rgba(86, 48, 16, .07);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--ink); background: #f3f0ec;
}
* { box-sizing: border-box; }
html { background: #f3f0ec; }
body { margin: 0; min-width: 320px; background: #f3f0ec; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(23, 105, 194, .28); outline-offset: 2px; }
.app-shell { width: min(100%, 430px); min-height: 100dvh; margin: 0 auto; background: var(--warm); box-shadow: 0 0 30px rgba(0,0,0,.08); position: relative; }
.view { min-height: 100dvh; padding: 68px 14px calc(92px + env(safe-area-inset-bottom)); outline: none; }
.topbar { position: fixed; z-index: 30; top: 0; left: 50%; transform: translateX(-50%); width: min(100%, 430px); height: 58px; padding: calc(4px + env(safe-area-inset-top)) 14px 4px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; background: rgba(255, 250, 245, .96); border-bottom: 1px solid rgba(230,220,210,.55); backdrop-filter: blur(12px); }
.topbar.compact { transform: translate(-50%, -100%); pointer-events: none; }
.brand-button, .location-button, .customer-button { min-height: 40px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; cursor: pointer; }
.brand-button img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.brand-button strong { margin-left: 6px; font-size: 18px; white-space: nowrap; }
.location-button { justify-content: center; gap: 4px; font-size: 15px; font-weight: 700; cursor: default; }
.location-button .bi-geo-alt-fill { color: var(--red); font-size: 18px; }
.customer-button { flex-direction: column; justify-content: center; gap: 0; font-size: 11px; color: var(--ink); }
.customer-button > i { font-size: 20px; }
.tabbar { position: fixed; z-index: 40; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 430px); height: calc(72px + env(safe-area-inset-bottom)); padding: 5px 6px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.97); border-top: 1px solid #e7e2dc; backdrop-filter: blur(12px); }
.tabbar button { min-height: 58px; border: 0; background: transparent; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; font-size: 14px; cursor: pointer; }
.tabbar-message { position: relative; }
.tabbar-message > b { position: absolute; top: 2px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-style: normal; line-height: 18px; }
.tabbar i { font-size: 25px; }
.tabbar .active { color: var(--red); font-weight: 700; }
.tabbar .publish-tab i { width: 54px; height: 54px; margin-top: -25px; border: 4px solid white; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--red); box-shadow: 0 3px 10px rgba(215,25,32,.25); font-size: 30px; }
.tabbar .publish-tab span { margin-top: -4px; }
.search-bar { height: 42px; border: 1.5px solid #dca48c; border-radius: 22px; background: white; display: grid; grid-template-columns: 36px 1fr 72px; align-items: center; overflow: hidden; position: relative; }
.search-bar.has-clear { grid-template-columns: 36px 1fr 36px 72px; }
.search-bar > i { color: #666; font-size: 18px; text-align: right; }
.search-bar input { min-width: 0; height: 100%; padding: 0 8px; border: 0; outline: 0; font-size: 15px; color: var(--ink); }
.search-bar button[type="submit"] { height: 34px; margin-right: 4px; border: 0; border-radius: 18px; background: var(--red); color: white; font-size: 15px; font-weight: 700; }
.search-clear { width: 32px; height: 32px; margin-right: 2px; border: 0; border-radius: 50%; background: #f1ebe5; color: #666; display: grid; place-items: center; }
.search-meta { margin: 0 0 8px; color: #777; font-size: 13px; line-height: 1.5; }
.hero { height: 148px; margin-top: 8px; border-radius: 12px; overflow: hidden; position: relative; background: #314036; box-shadow: var(--shadow); touch-action: pan-y; user-select: none; }
.hero-track { position: relative; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero-slide { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; visibility: hidden; pointer-events: none !important; background-position: left center; background-size: cover; background-repeat: no-repeat; transition: opacity .35s ease; cursor: default; }
.hero-slide.active { z-index: 2; opacity: 1; visibility: visible; }
.hero-slide.is-clickable { cursor: pointer; }
.hero-click-layer { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.hero-click-layer[hidden] { display: none !important; }
.hero-dots { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 0; pointer-events: none; }
.hero-dots button { width: 36px; height: 28px; min-width: 36px; flex: 0 0 36px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; pointer-events: auto; }
.hero-dots button::before { content: ""; display: block; width: 7px; height: 7px; margin: auto; border-radius: 999px; background: rgba(255,255,255,.68); box-shadow: 0 1px 4px rgba(0,0,0,.3); transition: width .2s ease, border-radius .2s ease; }
.hero-dots button.active::before { width: 18px; background: #fff; }
.category-grid { margin-top: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.category-grid > button { min-height: 72px; padding: 4px 2px; border: 1px solid #f1ebe5; border-radius: 10px; background: rgba(255,255,255,.8); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; cursor: pointer; }
.category-grid strong { font-size: 13px; white-space: nowrap; }
.category-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; }
.category-icon.red { color: var(--red); background: #fff0ef; } .category-icon.green { color: var(--green); background: #eef8f1; }
.category-icon.orange { color: var(--orange); background: #fff3e3; } .category-icon.blue { color: var(--blue); background: #ecf4fd; }
.stats-bar { margin: 8px 0 2px; padding: 6px 2px; border: 1px solid #e5ded5; border-radius: 10px; background: rgba(255,255,255,.65); display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-bar > div { min-width: 0; display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 1px 4px; border-right: 1px solid #e7e0d8; }
.stats-bar > div:last-child { border: 0; }
.stats-bar i { font-size: 14px; } .stats-bar i.red { color: var(--red); } .stats-bar i.green { color: #18a653; } .stats-bar i.orange { color: #ff6d27; } .stats-bar i.blue { color: #2486e8; }
.stats-bar strong { font-size: 15px; line-height: 1.1; }
.stats-bar span { grid-column: 1 / 3; color: var(--muted); font-size: 11px; white-space: nowrap; }
.latest-section { margin-top: 8px; }
.latest-section > header { min-height: 36px; display: flex; align-items: center; justify-content: space-between; }
.latest-section h1, .latest-section h2 { margin: 0; font-size: 20px; }
.latest-section header button, .latest-section header > span { min-height: 36px; padding: 0 2px; border: 0; background: transparent; color: #777; font-size: 14px; }
.filter-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.filter-tabs button { min-height: 38px; padding: 0; border: 0; background: transparent; font-size: 14px; }
.filter-tabs .active { color: var(--red); font-weight: 700; border-bottom: 2px solid var(--red); }
.post-list { background: rgba(255,255,255,.72); border-radius: 12px; overflow: hidden; }
.list-footer { margin: 12px 0 4px; display: flex; justify-content: center; }
.load-more-button { min-height: 44px; padding: 0 28px; border: 1px solid #eadfd7; border-radius: 999px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; }
.load-more-button:disabled { opacity: .65; }
.list-end { margin: 0; color: #8a8178; font-size: 13px; }
.post-card { margin: 0 10px; border-bottom: 1px solid var(--line); }
.post-card:last-child { border: 0; }
.post-card-link { width: 100%; min-height: 96px; padding: 8px 0; border: 0; background: transparent; display: grid; grid-template-columns: 88px 1fr; gap: 10px; text-align: left; cursor: pointer; }
.post-thumb { position: relative; width: 88px; height: 80px; display: block; }
.post-thumb img, .post-thumb .post-placeholder { width: 100%; height: 100%; border-radius: 9px; object-fit: cover; background: #f1ede8; display: grid; place-items: center; color: #9a9188; font-size: 30px; }
.pin-badge { position: absolute; z-index: 1; top: 0; left: 0; min-width: 34px; height: 20px; padding: 0 6px; border-radius: 9px 0 8px 0; background: var(--red); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 20px; letter-spacing: .02em; }
.post-card-body { min-width: 0; position: relative; display: flex; flex-direction: column; gap: 5px; }
.post-title-row { display: flex; justify-content: space-between; gap: 8px; }
.post-title-row strong { min-width: 0; font-size: 18px; line-height: 1.3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.post-title-row b { flex: none; color: var(--red); font-size: 18px; }
.post-card-body small, .post-card-body em { color: #777; font-size: 13px; font-style: normal; }
.post-card-body small i { margin-right: 4px; }
.post-summary { color: #555; font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.post-card-body em { margin-top: auto; text-align: right; }
.subpage { margin: -68px -14px 0; padding: 0 14px 24px; min-height: calc(100dvh - 72px); background: var(--warm); }
.page-header { height: calc(68px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); display: grid; grid-template-columns: 48px 1fr 72px; align-items: center; border-bottom: 1px solid var(--line); }
.page-header h1 { margin: 0; font-size: 23px; text-align: center; }
.page-header.simple { grid-template-columns: 1fr 48px; border: 0; }
.page-header.simple h1 { text-align: left; }
.icon-button, .header-action { min-width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.icon-button { font-size: 25px; }
.header-action { white-space: nowrap; font-size: 15px; }
.publisher-row { min-height: 76px; padding: 10px 0; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); text-align: left; width: 100%; border-left: 0; border-right: 0; border-top: 0; background: transparent; color: inherit; }
.publisher-row img, .publisher-row .store-avatar { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.publisher-row div, .publisher-row .publisher-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.publisher-row strong { font-size: 17px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.publisher-row span, .publisher-row small { color: #777; font-size: 13px; }
.publisher-row em, .publisher-row .merchant-badge { padding: 5px 7px; border: 1px solid #72a77b; border-radius: 6px; color: var(--green); font-size: 13px; font-style: normal; white-space: nowrap; }
.publisher-row.is-merchant { grid-template-columns: 50px 1fr auto 16px; cursor: pointer; }
.publisher-row.is-merchant:active { opacity: .88; }
.publisher-chevron { color: #b7aea5; font-size: 16px; }
.publisher-kind { margin-left: auto; color: #858b95; font-size: 13px; }
.store-page { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
.store-hero { position: relative; margin: 0 -14px 12px; min-height: 168px; overflow: hidden; color: #fff; }
.store-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(1.05); transform: scale(1.04); }
.store-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,22,18,.18), rgba(28,22,18,.78)); }
.store-hero-body { position: relative; z-index: 1; min-height: 168px; padding: 28px 18px 20px; display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: end; }
.store-avatar { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; border: 2px solid rgba(255,255,255,.85); background: #fff; }
.store-hero-body h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.25; }
.store-hero-body p { margin: 0; color: rgba(255,255,255,.9); font-size: 13px; }
.store-hero-body p i { margin-right: 4px; }
.store-card { margin-bottom: 10px; padding: 16px; border: 1px solid #f0eae4; border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.store-card h3 { margin: 0 0 8px; font-size: 18px; }
.store-card > p { margin: 0; color: #444; line-height: 1.7; }
.store-detail-text { margin-top: 10px !important; color: #666 !important; }
.store-facts { display: grid; gap: 12px; }
.store-facts > div { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.store-facts i { color: var(--red); font-size: 18px; margin-top: 2px; }
.store-facts b { display: block; font-size: 13px; color: #888; font-weight: 600; }
.store-facts em { display: block; margin-top: 2px; font-style: normal; color: var(--ink); font-size: 15px; line-height: 1.45; }
.store-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.store-gallery button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #f4f0ea; aspect-ratio: 1; }
.store-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.store-posts > header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.store-posts > header span { color: #888; font-size: 13px; }
.store-bottom-actions { position: sticky; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 5; margin: 14px 0 0; padding: 10px 0 4px; background: linear-gradient(180deg, transparent, var(--warm) 28%); }
.store-bottom-actions .call-action { width: 100%; min-height: 50px; border: 0; border-radius: 12px; background: var(--red); color: #fff; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.detail-content h2 { margin: 18px 0 10px; font-size: 28px; line-height: 1.3; }
.detail-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.detail-tags strong { color: var(--red); font-size: 22px; }
.detail-tags span { color: #555; font-size: 15px; }
.detail-tags i { margin-right: 5px; color: var(--red); }
.detail-description { margin: 18px 0; font-size: 18px; line-height: 1.85; white-space: pre-wrap; }
.detail-meta { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.detail-meta > div { min-width: 0; display: grid; grid-template-columns: 34px 1fr; align-items: center; border-right: 1px solid var(--line); }
.detail-meta > div:last-child { border: 0; }
.detail-meta i { font-size: 26px; color: #555; }
.detail-meta span { color: #777; font-size: 12px; display: flex; flex-direction: column; } .detail-meta strong { color: var(--ink); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-image { width: 100%; margin: 6px 0; padding: 0; border: 0; border-radius: 12px; background: transparent; overflow: hidden; }
.detail-image img { width: 100%; max-height: 500px; display: block; object-fit: contain; background: #f0ece8; }
.review-strip { margin-top: 12px; min-height: 56px; padding: 10px 14px; border-radius: 12px; background: #edf7ee; color: #21713a; display: flex; align-items: center; gap: 10px; font-size: 16px; }
.review-strip i { font-size: 24px; }
.safety-card { margin: 12px 0; padding: 16px; border: 1px solid #f1d7a7; border-radius: 12px; background: #fff8e9; display: grid; grid-template-columns: 36px 1fr; gap: 10px; }
.safety-card > i { color: var(--orange); font-size: 27px; }.safety-card h3 { margin: 0 0 5px; font-size: 18px; }.safety-card p { margin: 0; color: #4f463b; font-size: 15px; line-height: 1.65; }
.safety-card button { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--red); font-size: 15px; }
.contact-row { padding: 13px 4px; display: grid; grid-template-columns: 50px 1fr; gap: 10px; align-items: center; border-top: 1px solid var(--line); }
.contact-row > i { width: 44px; height: 44px; border-radius: 50%; background: #edf5ed; color: #333; display: grid; place-items: center; font-size: 21px; }.contact-row div { display: flex; flex-direction: column; }.contact-row span { color: #777; font-size: 14px; }.contact-row strong { font-size: 21px; letter-spacing: 1px; }
.detail-actions { position: sticky; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 12; margin: 0 -14px -24px; padding: 10px 14px; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); display: grid; grid-template-columns: 80px 80px 1fr; gap: 8px; }
.detail-actions button { min-height: 50px; border: 1px solid #d8d3ce; border-radius: 10px; background: white; font-size: 16px; }.detail-actions .call-action { border-color: var(--red); background: var(--red); color: white; font-weight: 700; }
.selected-category { width: 100%; min-height: 70px; margin: 10px 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: white; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; text-align: left; }
.selected-category .category-icon { width: 42px; height: 42px; }.selected-category strong { font-size: 17px; }.selected-category em { color: var(--red); font-size: 14px; font-style: normal; }
.stepper { margin: 8px 0 12px; display: grid; grid-template-columns: repeat(3, 1fr); }
.stepper > div { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #999; }
.stepper > div:not(:last-child)::after { content: ""; position: absolute; top: 16px; left: 66%; width: 68%; height: 2px; background: #ccc; }
.stepper span { width: 34px; height: 34px; border-radius: 50%; background: #bbb; color: white; display: grid; place-items: center; font-size: 18px; font-weight: 700; }.stepper b { font-size: 13px; }
.stepper .active, .stepper .done { color: var(--red); }.stepper .active span { background: var(--red); }.stepper .done { color: var(--green); }.stepper .done span { background: var(--green); }
.form-card, .preview-card { padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: var(--shadow); }
.form-card h2 { margin: 5px 0; font-size: 21px; }.muted { color: var(--muted); line-height: 1.55; }.center { text-align: center; }
.field { min-height: 70px; padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 8px; }
.field > span { font-size: 16px; font-weight: 700; }.field em { color: var(--red); font-size: 13px; font-style: normal; }.field input, .field textarea, .field select, .field > div { width: 100%; min-width: 0; }
.field input, .field textarea, .field select { min-height: 48px; padding: 11px 12px; border: 1px solid #d8d3ce; border-radius: 9px; background: white; font-size: 16px; outline: 0; }.field textarea { resize: vertical; line-height: 1.55; }.field > div { position: relative; }.field > div input, .field > div textarea { padding-right: 55px; }.field > div small { position: absolute; right: 10px; bottom: 10px; color: #999; }.textarea-field { align-items: start; }.textarea-field > span { padding-top: 12px; }
.code-field { grid-template-columns: 90px 1fr auto; }.code-field button { min-height: 44px; border: 0; background: transparent; color: var(--red); font-size: 14px; }
.upload-field { padding: 14px 0; }.upload-field > span { display: block; margin-bottom: 10px; font-weight: 700; }.image-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.upload-preview, .upload-button { width: 92px; height: 92px; border-radius: 10px; flex: none; }
.upload-preview { position: relative; overflow: hidden; background: #f0ebe4; border: 1px solid #e5ddd3; }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upload-preview button { position: absolute; top: 2px; right: 2px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(0,0,0,.7); color: white; }
.upload-button { border: 1px dashed #c9c2ba; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #777; cursor: pointer; }.upload-button i { font-size: 26px; }.upload-button input { display: none; }.upload-field > small { display: block; margin-top: 8px; color: #888; }
.form-valid { min-height: 52px; margin-top: 12px; padding: 0 14px; border-radius: 10px; background: #f0f8ef; color: var(--green); display: flex; align-items: center; gap: 8px; }
.primary-button, .secondary-button, .logout-button { min-height: 50px; padding: 0 20px; border-radius: 10px; font-size: 17px; font-weight: 700; cursor: pointer; }.primary-button { border: 1px solid var(--red); background: var(--red); color: white; }.secondary-button { border: 1px solid var(--red); background: white; color: var(--red); }.full { width: 100%; }.page-cta { margin-top: 14px; }.page-cta + .secondary-button { margin-top: 8px; }
.publish-notice { margin-top: 12px; padding: 14px; border: 1px solid #f0cd75; border-radius: 12px; background: #fff7df; display: flex; gap: 9px; }.publish-notice > i { color: var(--orange); font-size: 21px; }.publish-notice p { margin: 0; line-height: 1.65; }.publish-notice.rules { display: block; }.publish-notice.rules h3 { margin: 0 0 8px; }.publish-notice.rules label { margin-top: 12px; display: flex; gap: 8px; line-height: 1.55; }.publish-notice.rules input { width: 22px; height: 22px; flex: none; accent-color: var(--red); }
.preview-card > span { color: var(--red); font-weight: 700; }.preview-card h2 { margin: 8px 0; font-size: 24px; }.preview-card > strong { color: var(--red); font-size: 21px; }.preview-card p { font-size: 17px; line-height: 1.75; white-space: pre-wrap; }.preview-card small { color: #666; }.preview-images { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }.preview-images img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }.submit-hint { text-align: center; color: #777; }
.message-list { padding-top: 10px; }.message-card { width: 100%; min-height: 96px; padding: 14px; border: 0; border-bottom: 1px solid var(--line); background: white; display: grid; grid-template-columns: 48px 1fr; gap: 12px; text-align: left; }.message-card.unread { background: #fff7f3; }.message-icon { width: 44px; height: 44px; border-radius: 50%; background: #fff0ef; color: var(--red); display: grid; place-items: center; font-size: 20px; }.message-card > span:last-child { display: block; }.message-card strong { font-size: 17px; }.message-card p { margin: 5px 0; color: #555; line-height: 1.5; }.message-card small { color: #888; }
.me-page { margin: -68px -14px 0; padding: 0 14px 24px; min-height: calc(100dvh - 72px); background: var(--warm); }.profile-card { padding: 12px 6px 18px; display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 12px; }.profile-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }.profile-card h2 { margin: 0; font-size: 23px; }.profile-card p { margin: 3px 0; color: #555; }.profile-card span { color: #1c9b45; font-size: 13px; }.profile-card button { min-height: 44px; padding: 0; border: 0; background: transparent; font-size: 14px; }
.me-stats, .quick-actions, .my-posts, .service-card { margin-bottom: 10px; border: 1px solid #f0eae4; border-radius: 12px; background: rgba(255,255,255,.85); box-shadow: var(--shadow); }
.me-stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px 0; }.me-stats button { min-height: 56px; border: 0; border-right: 1px solid var(--line); background: transparent; display: flex; flex-direction: column; align-items: center; }.me-stats button:last-child { border: 0; }.me-stats strong { color: var(--red); font-size: 23px; }.me-stats span { font-size: 13px; }
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px 2px; }.quick-actions button { min-height: 65px; padding: 0; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 13px; }.quick-actions i { font-size: 26px; }.red { color: var(--red); }.green { color: var(--green); }.orange { color: var(--orange); }.blue { color: var(--blue); }
.my-posts { padding: 12px; }.my-posts > header { display: flex; justify-content: space-between; align-items: center; }.my-posts h2 { margin: 0 0 10px; font-size: 20px; }.my-posts header span { color: #777; }.my-posts header .link-action { min-height: 36px; padding: 0; border: 0; background: transparent; color: var(--red); font-size: 14px; font-weight: 700; }.my-post-card { border-top: 1px solid var(--line); }.my-post-card > button { width: 100%; min-height: 104px; padding: 10px 0; border: 0; background: transparent; display: grid; grid-template-columns: 96px 1fr 20px; gap: 10px; align-items: center; text-align: left; }.my-post-card img, .my-post-card .post-placeholder { width: 96px; height: 82px; border-radius: 8px; object-fit: cover; }.my-post-card > button > span { min-width: 0; display: flex; flex-direction: column; gap: 5px; }.my-post-card strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 17px; }.my-post-card small { color: #777; }.my-post-card .review-note { margin: 0; color: #b42318; font-size: 12px; line-height: 1.4; white-space: normal; }.status { width: fit-content; padding: 3px 7px; border-radius: 5px; color: #555; background: #eee; font-size: 12px; font-style: normal; }.status.approved { color: var(--green); background: #edf8ef; }.status.pending { color: #a96a00; background: #fff5df; }.status.rejected { color: #b42318; background: #fdeceb; }.status.draft { color: #555; background: #eee; }.status.offline, .status.expired { color: #777; background: #f0eeeb; }.my-post-card > div { padding: 0 0 8px 106px; display: flex; flex-wrap: wrap; gap: 8px; }.my-post-card > div button { min-height: 38px; border: 0; background: transparent; color: #555; }
.my-posts-filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }.my-posts-filters::-webkit-scrollbar { display: none; }.my-posts-filters button { flex: none; min-height: 36px; padding: 0 12px; border: 1px solid #eadfd7; border-radius: 999px; background: #fff; color: #666; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }.my-posts-filters button small { color: #999; font-size: 12px; }.my-posts-filters button.active { border-color: var(--red); background: #fff1ee; color: var(--red); font-weight: 700; }.my-posts-filters button.active small { color: var(--red); }
.owner-status-banner { margin: 10px 0 12px; padding: 14px; border-radius: 12px; background: #fff8eb; border: 1px solid #f1d89c; display: flex; align-items: center; justify-content: space-between; gap: 12px; }.owner-status-banner p { margin: 6px 0 0; color: #664e25; font-size: 13px; line-height: 1.5; }.owner-status-banner .primary-button { flex: none; min-height: 40px; padding: 0 14px; font-size: 14px; }.owner-status-banner.status-rejected { background: #fff5f4; border-color: #f3c6c2; }.owner-status-banner.status-rejected p { color: #8a2f28; }.owner-status-banner.status-pending { background: #fff8eb; }
.detail-actions.owner-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.detail-actions.owner-actions button { min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); font-weight: 700; }
.service-card { padding: 12px 14px; }.service-card h2 { margin: 0 0 7px; font-size: 20px; }.service-row { width: 100%; min-height: 50px; padding: 0 4px; border: 0; border-top: 1px solid var(--line); background: transparent; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; text-align: left; font-size: 16px; }.service-row > i:first-child { font-size: 21px; }.service-row > i:last-child { color: #999; }.service-row em { color: var(--red); font-style: normal; }.service-card.safety > p { margin: 5px 8px; color: #555; line-height: 1.65; }.service-row.disclaimer { grid-template-columns: 34px 1fr auto 20px; color: var(--red); }.read-legal { width: 100%; min-height: 46px; border: 0; border-top: 1px solid #f3d5c9; background: transparent; color: var(--red); font-size: 16px; }.legal-links { margin: 15px 0; display: flex; justify-content: center; gap: 10px; color: #777; }.legal-links button { min-height: 44px; padding: 0; border: 0; background: transparent; color: #777; }
.beian-footer { margin: 8px 0 18px; padding: 12px 8px 4px; text-align: center; color: #8a8178; font-size: 12px; line-height: 1.7; }
.beian-footer p { margin: 0; }
.beian-footer a { color: #6f675f; text-decoration: none; }
.beian-footer a:hover, .beian-footer a:focus-visible { color: var(--ink); text-decoration: underline; }
.wechat-login-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #07c160; border-color: #07c160; }
.wechat-login-button i { font-size: 22px; }
.logout-button { width: 100%; border: 1px solid #ddd4cc; background: white; color: #555; }
.merchant-cert-card { margin-bottom: 10px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #eadfd7; border-radius: 14px; background: #fffaf6; }
.merchant-cert-card > div { display:flex; align-items:center; gap:12px; min-width:0 }.merchant-cert-card > div > i { display:grid; place-items:center; width:42px; height:42px; flex:none; border-radius:12px; background:#fff0e6; color:var(--red); font-size:22px }.merchant-cert-card span { min-width:0 }.merchant-cert-card b,.merchant-cert-card small { display:block }.merchant-cert-card small { margin-top:4px; color:#7d7772; line-height:1.45 }.merchant-cert-card button { flex:none; border:0; background:transparent; color:var(--red); font-weight:700 }.merchant-cert-card em { color:var(--green); font-size:13px; font-style:normal; font-weight:700 }.merchant-cert-card.approved { background:#f3faf5; border-color:#d7eadc }.merchant-cert-card.approved > div > i { background:#e1f3e6; color:var(--green) }button.merchant-cert-card { width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; }
button.merchant-cert-card em { display: inline-flex; align-items: center; gap: 4px; }
.modal-note { margin:-2px 0 16px; padding:12px; border-radius:10px; background:#fff8eb; color:#73572e; line-height:1.6 }
.modal-panel.merchant-cert-modal { max-height: min(92vh, 720px); overflow:auto }
.modal-panel.merchant-cert-modal .cert-field { margin-bottom: 14px }
.modal-panel.merchant-cert-modal .cert-field > span { display:block; margin-bottom:8px; font-weight:600 }
.modal-panel.merchant-cert-modal .cert-field > span em { color:var(--red); font-style:normal; font-weight:500; font-size:12px }
.modal-panel.merchant-cert-modal .cert-field > small { display:block; margin-top:6px; color:#8a847e }
.modal-panel.merchant-cert-modal .cert-upload-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center }
.modal-panel.merchant-cert-modal .cert-upload-row .upload-preview { width:72px; height:72px }
.modal-panel.merchant-cert-modal .cert-upload-row .upload-button { width:72px; height:72px; font-size:12px }
.text-page > section { margin-top: 12px; padding: 18px; border-radius: 12px; background: white; box-shadow: var(--shadow); }.text-page h2 { margin: 12px 0 5px; font-size: 21px; }.text-page p { color: #444; font-size: 16px; line-height: 1.85; white-space: pre-wrap; }.text-page .version { color: #888; font-size: 13px; }.help-card { text-align: center; }.help-card > i { color: var(--orange); font-size: 52px; }.help-card img { width: min(240px, 80%); display: block; margin: 16px auto; }
.legal-page { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.legal-page > section, .legal-page .legal-section { box-shadow: none; }
.legal-tabs { margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.legal-tabs button { min-height: 40px; border: 1px solid #eadfd7; border-radius: 10px; background: #fff; color: #666; font-size: 14px; }
.legal-tabs button.active { border-color: var(--red); background: #fff1ee; color: var(--red); font-weight: 700; }
.legal-hero { margin-top: 12px; padding: 20px; display: grid; grid-template-columns: 52px 1fr; gap: 14px; border-radius: 16px; background: linear-gradient(135deg,#fff4ea,#eef6ff); border: 1px solid #f1dfd1; }
.legal-hero > i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--red); color: white; font-size: 28px; }
.legal-hero small { color: #81766d; }.legal-hero h2 { margin: 4px 0 6px; font-size: 22px; line-height: 1.35; }.legal-hero p { margin: 0; }
.legal-summary, .legal-alert, .legal-section { margin-top: 12px; padding: 18px; border-radius: 14px; background: white; border: 1px solid var(--line); }
.legal-summary h2, .legal-section h2 { margin: 0 0 8px; font-size: 19px; }.legal-summary p, .legal-section p { margin: 0; }
.legal-alert { display: grid; grid-template-columns: 34px 1fr; gap: 10px; background: #fff8e8; border-color: #f1d89c; }.legal-alert > i { color: #d68600; font-size: 25px; }.legal-alert strong { color: #704b08; }.legal-alert p { margin: 5px 0 0; color: #664e25; }
.legal-sections { display: grid; gap: 0; }.legal-section h2 { color: var(--ink); }.legal-section p { overflow-wrap: anywhere; }
.legal-actions { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: transparent !important; padding: 0 !important; }.legal-actions button { min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); font-weight: 700; }.legal-actions .primary-button { border-color: var(--red); background: var(--red); color: white; }
@media (max-width: 370px) { .legal-hero { grid-template-columns: 44px 1fr; padding: 16px; }.legal-hero > i { width: 44px; height: 44px; }.legal-hero h2 { font-size: 19px; }.legal-actions { grid-template-columns: 1fr; } }
.empty-state, .loading-state { min-height: 52vh; padding: 40px 18px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: #777; }.empty-state > i { color: #a69b91; font-size: 48px; }.empty-state h2 { margin: 13px 0 4px; color: var(--ink); font-size: 21px; }.empty-state p { margin: 0 0 18px; line-height: 1.6; }.spinner { width: 34px; height: 34px; border: 3px solid #eadfd5; border-top-color: var(--red); border-radius: 50%; animation: spin .75s linear infinite; }@keyframes spin { to { transform: rotate(360deg); } }
.modal { display: none; position: fixed; z-index: 100; inset: 0; }.modal.show { display: block; }.modal-mask { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.5); }.modal-panel { position: absolute; left: 50%; bottom: 0; width: min(100%, 430px); max-height: 90dvh; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; background: white; overflow: auto; transform: translateX(-50%); box-shadow: 0 -10px 40px rgba(0,0,0,.18); }.modal-heading { display: flex; justify-content: space-between; align-items: center; }.modal-heading small { color: var(--red); font-weight: 700; }.modal-heading h2 { margin: 2px 0 10px; font-size: 24px; }.customer-modal { text-align: center; }.customer-modal-heading { text-align: left; }.customer-modal-heading small { color: var(--red); font-weight: 700; }.customer-modal-body { display: grid; justify-items: center; gap: 12px; padding: 6px 0 22px; }.customer-modal-body img { display: block; width: min(220px, 70%); border-radius: 12px; }.customer-phones { display: grid; gap: 8px; width: 100%; }.customer-phones a { display: block; min-height: 44px; line-height: 44px; border-radius: 10px; background: #fff0ef; color: var(--red); text-decoration: none; font-weight: 700; }100%, 280px); max-height: 46dvh; border-radius: 16px; object-fit: contain; background: #f7f4ef; }.customer-modal-body p { margin: 0; color: var(--ink); font-size: 18px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }.customer-modal-body span { color: var(--muted); font-size: 14px; }.agreement-note { color: #888; text-align: center; font-size: 12px; line-height: 1.7; }
.agreement-link { display: inline; padding: 0; margin: 0; border: 0; background: transparent; color: var(--red); font: inherit; text-decoration: underline; cursor: pointer; }.verified-phone { padding: 12px; border-radius: 8px; background: #eff8f0; color: var(--green); }.profile-avatar-field { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; margin: 0 0 16px; padding: 12px; border-radius: 12px; background: #f7f4ef; }.profile-avatar-field img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: #efeae3; }.profile-avatar-field strong { display: block; font-size: 16px; }.profile-avatar-field p { margin: 4px 0 10px; color: #777; font-size: 13px; line-height: 1.4; }.profile-avatar-pick { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; font-size: 14px; cursor: pointer; }.profile-avatar-pick input { display: none; }.image-modal { padding: 0; height: 100dvh; max-height: none; border-radius: 0; background: #111; display: grid; place-items: center; overflow: hidden; }.image-viewer { width: 100%; height: 100%; display: grid; place-items: center; }.image-viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }.image-viewer .icon-button { position: absolute; z-index: 2; top: calc(12px + env(safe-area-inset-top)); right: 12px; border-radius: 50%; background: rgba(255,255,255,.2); color: white; }
.wechat-share-modal { inset: 0; left: 0; right: 0; bottom: 0; top: 0; width: 100%; max-width: none; max-height: none; height: 100dvh; padding: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: hidden; transform: none; }
.wechat-share-hit { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.72); }
.wechat-share-guide { position: absolute; top: calc(76px + env(safe-area-inset-top)); right: 14px; left: auto; z-index: 1; width: min(78vw, 292px); max-width: calc(100vw - 28px); box-sizing: border-box; padding: 18px 16px 16px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 12px 36px rgba(0,0,0,.28); text-align: left; transform: none; }
.wechat-share-arrow { position: absolute; top: -54px; right: 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; pointer-events: none; }
.wechat-share-arrow-line { width: 2px; height: 28px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.wechat-share-arrow-line::before { content: ""; display: block; width: 10px; height: 10px; margin: -4px 0 0 -4px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(-45deg); }
.wechat-share-arrow-tip { padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.95); color: #222; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.wechat-share-guide h2 { margin: 0 0 10px; font-size: 20px; }
.wechat-share-steps { margin: 0 0 10px; padding-left: 1.2em; color: #333; line-height: 1.65; font-size: 14px; }
.wechat-share-steps li + li { margin-top: 6px; }
.wechat-share-note { margin: 0 0 14px; color: #777; line-height: 1.55; font-size: 12px; }
.wechat-menu-dots { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 22px; margin: 0 2px; padding: 0 6px; border-radius: 6px; background: #1f1f1f; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 1px; vertical-align: middle; line-height: 1; }
.wechat-share-guide .secondary-button { margin-bottom: 8px; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); max-width: min(86vw, 360px); padding: 11px 16px; border-radius: 9px; background: rgba(20,20,20,.9); color: white; text-align: center; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: .2s ease; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 370px) {
  .brand-button strong { font-size: 20px; }.brand-button img { width: 42px; height: 42px; }.location-button { font-size: 15px; }
  .view { padding-left: 10px; padding-right: 10px; }.subpage, .me-page { margin-left: -10px; margin-right: -10px; padding-left: 10px; padding-right: 10px; }
  .category-grid strong { font-size: 12px; }.category-grid > button { min-height: 68px; }.category-icon { width: 34px; height: 34px; font-size: 16px; }
  .hero-copy strong { font-size: 20px; }.stats-bar strong { font-size: 14px; }.stats-bar span { font-size: 10px; }
  .post-card-link { grid-template-columns: 90px 1fr; }.post-thumb { width: 90px; height: 86px; }.post-title-row strong, .post-title-row b { font-size: 16px; }
  .field { grid-template-columns: 94px 1fr; }.code-field { grid-template-columns: 72px 1fr auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; } }
