:root {
  --brand: #ff6a01;
  --brand-dark: color-mix(in srgb, var(--brand), #000 14%);
  --brand-soft: color-mix(in srgb, var(--brand), #fff 90%);
  --brand-tint: color-mix(in srgb, var(--brand), #fff 78%);
  --brand-glow: color-mix(in srgb, var(--brand), transparent 70%);
  --ink: #241b15;
  --ink-2: #5c524b;
  --ink-3: #948a82;
  --line: #ece5dd;
  --paper: #f6f2ed;
  --card: #ffffff;
  --gold: #b8862b;
  --gold-soft: #fff4dc;
  --ok: #1f9d55;
  --warn: #d9822b;
  --danger: #d64545;
  --info: #2f6fd6;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 20px rgba(60, 30, 5, 0.06);
  --nav-h: 62px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}

body.locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

img,
video {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.app {
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}

.desk-header {
  display: none;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 12px 24px;
  animation: page-in 0.18s ease-out;
}

@keyframes page-in {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page,
  .toast,
  .sheet {
    animation: none !important;
    transition: none !important;
  }
}

.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0 10px;
  min-height: 44px;
}

.topbar h1 {
  font-size: 19px;
  font-weight: 700;
  flex: 1;
  letter-spacing: 0.2px;
}

.topbar .back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 18px;
}

.topbar .actions {
  display: flex;
  gap: 8px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px 12px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.brand-slogan {
  color: var(--ink-3);
  font-size: 12px;
}

.searchbox {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  flex: 1;
}

.searchbox input {
  border: 0;
  outline: 0;
  background: transparent;
  flex: 1;
  min-width: 0;
  font-size: 14px;
}

.searchbox .icon {
  color: var(--ink-3);
}

.searchbox button {
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
}

.banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  margin-bottom: 12px;
}

.banner .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background-size: cover;
  background-position: center;
}

.banner .slide.active {
  opacity: 1;
}

.banner .slide.textual {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.banner .slide .cap {
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  line-height: 1.3;
}

.banner .dots {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 5px;
}

.banner .dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.banner .dots i.on {
  background: #fff;
  width: 16px;
  border-radius: 3px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px 8px;
  margin-bottom: 12px;
}

.cat-grid .cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
}

.cat-grid .cat .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  font-size: 22px;
  overflow: hidden;
}

.cat-grid .cat .ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-grid .cat.more .ico {
  background: var(--paper);
}

.notice-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.notice-bar .tag {
  flex: none;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  border-right: 1px solid var(--line);
  padding-right: 10px;
}

.notice-bar .track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 22px;
}

.notice-bar .track span {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 22px;
  font-size: 13px;
  color: var(--ink-2);
  transition: transform 0.4s, opacity 0.4s;
}

.notice-bar .track span.out {
  transform: translateY(-22px);
  opacity: 0;
}

.notice-bar .track span.in {
  transform: translateY(22px);
  opacity: 0;
  transition: none;
}

.quick-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.quick-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
}

.quick-card .ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
}

.quick-card b {
  display: block;
  font-size: 14px;
}

.quick-card small {
  color: var(--ink-3);
  font-size: 12px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-card > div {
  min-width: 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px 10px;
}

.section-head h2 {
  font-size: 17px;
  font-weight: 700;
}

.section-head .more {
  color: var(--ink-3);
  font-size: 13px;
}

.tabs {
  display: flex;
  gap: 18px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs button {
  padding: 8px 0 10px;
  font-size: 15px;
  color: var(--ink-3);
  white-space: nowrap;
  position: relative;
}

.tabs button.on {
  color: var(--ink);
  font-weight: 700;
}

.tabs button.on::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: -1px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: none;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

.chip.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
}

.post-card {
  display: flex;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 13px 14px;
  position: relative;
}

.post-card .thumb {
  width: 92px;
  height: 92px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
  background: var(--paper);
}

.post-card .body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.post-card .title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card .excerpt {
  color: var(--ink-2);
  font-size: 13px;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card .meta {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-3);
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
}

.badge.cat {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.badge.pin {
  background: var(--brand);
  color: #fff;
}

.badge.rec {
  background: #fdecec;
  color: var(--danger);
}

.badge.vip {
  background: var(--gold-soft);
  color: var(--gold);
}

.badge.ok {
  background: #e6f6ec;
  color: var(--ok);
}

.badge.warn {
  background: #fff3e2;
  color: var(--warn);
}

.badge.muted {
  background: var(--paper);
  color: var(--ink-3);
}

.badge.danger {
  background: #fdecec;
  color: var(--danger);
}

.badge.info {
  background: #e9f0fb;
  color: var(--info);
}

.ad-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, var(--brand-soft), #fff);
  border: 1px dashed var(--brand-tint);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.ad-card img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.ad-card .label {
  font-size: 11px;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 4px;
  margin-left: auto;
  flex: none;
}

.listing-card {
  display: flex;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px;
}

.listing-card .cover {
  width: 118px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--brand);
}

.listing-card .body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.listing-card .title {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card .sub {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 3px;
}

.listing-card .price {
  margin-top: auto;
  color: var(--brand);
  font-weight: 800;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.listing-card .price small {
  color: var(--ink-3);
  font-weight: 400;
  font-size: 12px;
  margin-left: 6px;
}

.moment-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  overflow: hidden;
  flex: none;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar.lg {
  width: 64px;
  height: 64px;
  font-size: 24px;
}

.author-row .name {
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-row .time {
  color: var(--ink-3);
  font-size: 12px;
}

.author-row .follow {
  margin-left: auto;
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 13px;
}

.author-row .follow.on {
  border-color: var(--line);
  color: var(--ink-3);
}

.moment-card .text {
  margin-top: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.media-grid.one {
  grid-template-columns: minmax(0, 240px);
}

.media-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.media-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: var(--paper);
  cursor: zoom-in;
}

.media-grid.one img {
  aspect-ratio: 4 / 3;
}

.video-box {
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.video-box video {
  width: 100%;
  max-height: 360px;
}

.action-row {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.action-row button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--ink-3);
  font-size: 13px;
  padding: 4px 0;
}

.action-row button.on {
  color: var(--brand);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  background: var(--brand);
  color: #fff;
  transition: filter 0.15s;
  white-space: nowrap;
}

.btn:active {
  filter: brightness(0.94);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn.block {
  width: 100%;
}

.btn.ghost {
  background: var(--card);
  color: var(--brand);
  border: 1px solid var(--brand);
}

.btn.plain {
  background: var(--paper);
  color: var(--ink-2);
}

.btn.gold {
  background: linear-gradient(135deg, #f7d488, var(--gold));
  color: #4a3609;
}

.btn.sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 8px;
}

.btn.danger {
  background: var(--danger);
}

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.btn-row .btn {
  flex: 1;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 6px;
  font-weight: 600;
}

.field .hint {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 5px;
}

.input,
.textarea,
.select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  padding: 11px 12px;
  font-size: 15px;
  outline: 0;
  transition: border-color 0.15s;
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--brand);
}

.textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.radio-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--card);
  font-size: 14px;
  cursor: pointer;
  margin: 0;
  color: var(--ink-2);
  font-weight: 500;
}

.radio-row label.on {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.radio-row input {
  display: none;
}

.uploader {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.uploader .slot {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
}

.uploader .slot img,
.uploader .slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uploader .slot .rm {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}

.uploader .add {
  aspect-ratio: 1;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-size: 13px;
  background: var(--card);
  text-align: center;
  line-height: 1.3;
}

.uploader .add b {
  font-size: 26px;
  font-weight: 300;
  display: block;
}

.detail-head {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
}

.detail-head h2 {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.detail-head .meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--ink-3);
  font-size: 12px;
  margin-top: 8px;
}

.detail-body {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 10px;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.7;
}

.contact-box {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 10px;
}

.contact-box .lbl {
  color: var(--ink-3);
  font-size: 12px;
}

.contact-box .val {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  word-break: break-all;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.contact-box .lock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.contact-box .lock p {
  color: var(--ink-2);
  font-size: 14px;
}

.gallery {
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  position: relative;
  aspect-ratio: 4 / 3;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery .count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
}

.gallery .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 18px;
}

.gallery .nav.prev {
  left: 8px;
}

.gallery .nav.next {
  right: 8px;
}

.gallery .empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 48px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.attr-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  margin-top: 10px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.attr-table div {
  font-size: 14px;
}

.attr-table div span {
  color: var(--ink-3);
  margin-right: 6px;
}

.price-line {
  color: var(--brand);
  font-size: 24px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.comment-list {
  margin-top: 10px;
}

.comment {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.comment:last-child {
  border-bottom: 0;
}

.comment .avatar {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.comment .c-body {
  flex: 1;
  min-width: 0;
}

.comment .c-name {
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.comment .c-text {
  font-size: 14px;
  margin-top: 2px;
  word-break: break-word;
}

.comment .c-del {
  color: var(--ink-3);
  font-size: 12px;
}

.comment-input {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.comment-input .input {
  flex: 1;
}

.me-head {
  background: linear-gradient(160deg, var(--brand), var(--brand-dark));
  border-radius: var(--radius);
  padding: 20px 18px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
}

.me-head .avatar {
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.me-head .who {
  flex: 1;
  min-width: 0;
}

.me-head .who b {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.me-head .who small {
  opacity: 0.85;
  font-size: 12px;
  display: block;
  margin-top: 2px;
}

.me-head .edit {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px 0;
  margin-top: 10px;
}

.stat-row a {
  text-align: center;
}

.stat-row b {
  display: block;
  font-size: 18px;
}

.stat-row small {
  color: var(--ink-3);
  font-size: 12px;
}

.vip-strip {
  margin-top: 10px;
  background: linear-gradient(90deg, #3b2a12, #5b4320);
  color: #f7dfae;
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vip-strip b {
  font-size: 15px;
}

.vip-strip small {
  opacity: 0.8;
  display: block;
  font-size: 12px;
}

.vip-strip .btn {
  margin-left: auto;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 999px;
}

.menu {
  background: var(--card);
  border-radius: var(--radius);
  margin-top: 10px;
  overflow: hidden;
}

.menu a,
.menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  width: 100%;
  text-align: left;
  font-size: 15px;
}

.menu a:last-child,
.menu button:last-child {
  border-bottom: 0;
}

.menu .ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  font-size: 16px;
}

.menu .arrow {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 14px;
}

.menu .count {
  margin-left: auto;
  background: var(--danger);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  padding: 0 6px;
  line-height: 18px;
}

.menu .count + .arrow {
  margin-left: 6px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.plan {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.plan.on {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.plan .p-name {
  font-weight: 700;
  font-size: 14px;
}

.plan .p-price {
  color: var(--gold);
  font-size: 20px;
  font-weight: 800;
  margin: 6px 0 2px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.plan .p-price small {
  font-size: 12px;
  font-weight: 500;
}

.plan .p-desc {
  font-size: 11px;
  color: var(--ink-3);
}

.vip-hero {
  background: linear-gradient(160deg, #2c1e0c, #5b4320 70%, #8a6a2c);
  color: #fbe7bf;
  border-radius: var(--radius);
  padding: 22px 18px;
  margin-bottom: 12px;
}

.vip-hero h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.vip-hero p {
  opacity: 0.85;
  font-size: 13px;
  margin-top: 6px;
}

.vip-hero .status {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.benefit {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  gap: 10px;
}

.benefit .ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gold-soft);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex: none;
}

.benefit b {
  display: block;
  font-size: 14px;
}

.benefit small {
  color: var(--ink-3);
  font-size: 12px;
  display: block;
  margin-top: 2px;
}

.empty {
  text-align: center;
  color: var(--ink-3);
  padding: 44px 16px;
  font-size: 14px;
  background: var(--card);
  border-radius: var(--radius);
}

.empty .big {
  font-size: 40px;
  margin-bottom: 8px;
}

.empty .btn {
  margin-top: 14px;
}

.loadmore {
  text-align: center;
  padding: 14px;
  color: var(--ink-3);
  font-size: 13px;
}

.loadmore button {
  color: var(--brand);
  font-weight: 600;
}

.fab {
  position: fixed;
  right: 16px;
  bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom));
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  box-shadow: 0 8px 20px var(--brand-glow);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--card);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 30;
}

.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  color: var(--ink-3);
  position: relative;
}

.tabbar a .ti {
  font-size: 21px;
  line-height: 1;
}

.tabbar a.on {
  color: var(--brand);
  font-weight: 600;
}

.tabbar a.vip-tab .ti {
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  background: linear-gradient(160deg, color-mix(in srgb, var(--brand), #fff 15%), var(--brand-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 6px 18px var(--brand-glow);
  border: 3px solid var(--card);
}

.tabbar a.vip-tab {
  color: var(--brand-dark);
  font-weight: 600;
}

.tabbar a .dot {
  position: absolute;
  top: 8px;
  left: calc(50% + 6px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + 30px);
  transform: translateX(-50%);
  background: rgba(30, 20, 12, 0.9);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 100;
  max-width: 88vw;
  text-align: center;
  animation: toast-in 0.2s ease-out;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 6, 0.55);
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.overlay.center {
  align-items: center;
  padding: 20px;
}

.sheet {
  background: var(--card);
  width: 100%;
  max-width: 560px;
  border-radius: 18px 18px 0 0;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  max-height: 88vh;
  overflow-y: auto;
  animation: sheet-in 0.22s ease-out;
}

.overlay.center .sheet {
  border-radius: 18px;
}

@keyframes sheet-in {
  from {
    transform: translateY(24px);
    opacity: 0.6;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.sheet h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}

.sheet .close {
  position: absolute;
  right: 14px;
  top: 12px;
  color: var(--ink-3);
  font-size: 20px;
}

.sheet .sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sheet .sheet-head h3 {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 96vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox .count {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
}

.lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 28px;
  width: 44px;
  height: 44px;
}

.lightbox .nav.prev {
  left: 8px;
}

.lightbox .nav.next {
  right: 8px;
}

.reward-box {
  text-align: center;
}

.reward-box .ad {
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  padding: 16px;
  background-size: cover;
  background-position: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.reward-box .timer {
  margin: 14px 0 6px;
  font-size: 30px;
  font-weight: 800;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.reward-box p {
  color: var(--ink-3);
  font-size: 13px;
}

.qr-box {
  text-align: center;
}

.qr-box .qr {
  display: inline-block;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 10px 0;
}

.qr-box .qr svg,
.qr-box .qr img {
  width: 220px;
  height: 220px;
  display: block;
}

.qr-box .amount {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.group-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.group-card .qr {
  width: 84px;
  height: 84px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--paper);
  flex: none;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--ink-3);
}

.group-card b {
  display: block;
  font-size: 15px;
}

.group-card p {
  color: var(--ink-3);
  font-size: 13px;
  margin-top: 4px;
}

.order-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
}

.order-card .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.order-card .row + .row {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 12px;
}

.order-card .amt {
  color: var(--brand);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.note-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  gap: 12px;
}

.note-card.unread {
  border-left: 3px solid var(--brand);
}

.note-card .ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  flex: none;
}

.note-card b {
  font-size: 14px;
  display: block;
}

.note-card p {
  color: var(--ink-2);
  font-size: 13px;
  margin-top: 3px;
}

.note-card small {
  color: var(--ink-3);
  font-size: 11px;
  display: block;
  margin-top: 4px;
}

.status-chip {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
}

.invite-code {
  background: var(--brand-soft);
  border: 1px dashed var(--brand);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  margin: 12px 0;
}

.invite-code b {
  display: block;
  font-size: 30px;
  letter-spacing: 4px;
  color: var(--brand-dark);
  font-variant-numeric: tabular-nums;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-card .body {
  flex: 1;
}

.product-card b {
  display: block;
}

.product-card small {
  color: var(--ink-3);
  font-size: 12px;
}

.product-card .price {
  color: var(--brand);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.product-card .price s {
  color: var(--ink-3);
  font-weight: 400;
  font-size: 12px;
  display: block;
}

.form-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px 16px;
}

.form-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.form-card .sub {
  color: var(--ink-3);
  font-size: 13px;
  margin-bottom: 18px;
}

.link {
  color: var(--brand);
  font-weight: 600;
}

.text-muted {
  color: var(--ink-3);
}

.text-center {
  text-align: center;
}

.mt {
  margin-top: 12px;
}

.desk-only {
  display: none;
}

.two-col {
  display: block;
}

.aside {
  display: none;
}

.footer-note {
  text-align: center;
  color: var(--ink-3);
  font-size: 12px;
  padding: 24px 0 8px;
}

.dl-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.dl-row:last-child {
  border-bottom: 0;
}

.dl-row span:first-child {
  color: var(--ink-3);
}

.progress {
  height: 6px;
  border-radius: 3px;
  background: var(--paper);
  overflow: hidden;
  margin-top: 8px;
}

.progress i {
  display: block;
  height: 100%;
  background: var(--brand);
  transition: width 0.3s;
}

@media (min-width: 960px) {
  body {
    font-size: 15px;
  }

  .app {
    padding-bottom: 40px;
  }

  .tabbar,
  .fab,
  .mobile-only {
    display: none !important;
  }

  .desk-only {
    display: block;
  }

  .desk-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--card);
    border-bottom: 1px solid var(--line);
  }

  .desk-header .inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
    height: 64px;
    padding: 0 20px;
  }

  .desk-header .brand-row {
    padding: 0;
  }

  .desk-header nav {
    display: flex;
    gap: 6px;
    margin-left: 10px;
  }

  .desk-header nav a {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 15px;
    color: var(--ink-2);
    font-weight: 500;
    white-space: nowrap;
  }

  .desk-header nav a.on {
    color: var(--brand);
    background: var(--brand-soft);
    font-weight: 700;
  }

  .desk-header nav a.vip-link {
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand), #fff 10%), var(--brand-dark));
    color: #fff;
    font-weight: 700;
    margin: 0 6px;
  }

  .desk-header nav a.vip-link.on {
    color: #fff;
    filter: brightness(0.96);
  }

  .desk-header .searchbox {
    max-width: 320px;
    min-width: 240px;
    margin-left: auto;
  }

  .desk-header .searchbox input {
    min-width: 0;
    text-overflow: ellipsis;
  }

  .desk-header .user {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex: none;
  }

  .desk-header .user .avatar {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .desk-header .user .publish {
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 14px;
  }

  .page {
    max-width: 1100px;
    padding: 20px 20px 40px;
  }

  .page.narrow {
    max-width: 640px;
  }

  .topbar .back {
    display: none;
  }

  .topbar h1 {
    font-size: 22px;
  }

  .two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
  }

  .aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 84px;
  }

  .aside .card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .aside .side-item {
    display: flex;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line);
  }

  .aside .side-item:last-child {
    border-bottom: 0;
  }

  .aside .side-item b {
    color: var(--brand);
    font-weight: 700;
    flex: none;
  }

  .aside .qr-side {
    text-align: center;
  }

  .aside .qr-side img {
    width: 150px;
    height: 150px;
    margin: 8px auto;
    border-radius: 10px;
  }

  .banner {
    aspect-ratio: 16 / 5;
  }

  .cat-grid {
    grid-template-columns: repeat(8, 1fr);
  }

  .cat-grid .cat .ico {
    width: 54px;
    height: 54px;
    font-size: 26px;
  }

  .quick-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .list.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card .thumb {
    width: 112px;
    height: 112px;
  }

  .listing-card .cover {
    width: 160px;
    height: 118px;
  }

  .plan-grid {
    gap: 14px;
  }

  .benefit-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .uploader {
    grid-template-columns: repeat(6, 1fr);
  }

  .sheet {
    max-width: 520px;
  }

  .overlay {
    align-items: center;
    padding: 20px;
  }

  .overlay .sheet {
    border-radius: 18px;
  }

  .toast {
    bottom: 40px;
  }

  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ic {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.14em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.ic-inline {
  margin-right: 4px;
}

.ic-xxl {
  width: 44px;
  height: 44px;
  stroke-width: 1.5;
  color: var(--ink-3);
}

.tabbar .ti .ic {
  width: 22px;
  height: 22px;
}

.cat-grid .cat .ico .ic {
  width: 24px;
  height: 24px;
  color: var(--brand);
}

.menu a .ico .ic,
.menu button .ico .ic {
  width: 20px;
  height: 20px;
  color: var(--brand-dark);
}

.quick-row a .ico .ic {
  width: 22px;
  height: 22px;
  color: var(--brand);
}

.benefit .ico .ic {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.note-card .ico .ic {
  width: 20px;
  height: 20px;
  color: var(--brand-dark);
}

.action-row .ic,
.detail-actions .ic {
  width: 17px;
  height: 17px;
}

.searchbox .icon .ic {
  width: 17px;
  height: 17px;
  color: var(--ink-3);
}

.cat-wrap {
  background: var(--card);
  border-radius: 14px;
  padding: 14px 0 8px;
  margin-bottom: 12px;
}

.cat-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cat-track::-webkit-scrollbar {
  display: none;
}

.cat-page {
  flex: 0 0 100%;
  display: grid;
  gap: 10px 0;
  scroll-snap-align: start;
}

.cat-wrap .cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 4px 0;
  font: inherit;
  color: var(--ink-2);
  cursor: pointer;
}

.cat-wrap .cat .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cat-wrap .cat .ico .ic {
  width: 24px;
  height: 24px;
  color: var(--brand);
}

.cat-wrap .cat .ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-wrap .cat span:last-child {
  font-size: 12px;
}

.cat-wrap .cat.on .ico {
  background: var(--brand);
}

.cat-wrap .cat.on .ico .ic {
  color: #fff;
}

.cat-wrap .cat.on span:last-child {
  color: var(--brand);
  font-weight: 600;
}

.cat-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
}

.cat-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
}

.cat-dots i.on {
  width: 14px;
  border-radius: 3px;
  background: var(--brand);
}

.rich-page {
  background: var(--card);
  border-radius: 14px;
  padding: 18px 16px;
  line-height: 1.8;
}

.rich-page img {
  max-width: 100%;
  border-radius: 8px;
}

.rich-page h2 {
  font-size: 18px;
  margin: 0 0 10px;
}

.rich-page ul {
  padding-left: 20px;
}

.rich-page .soon {
  text-align: center;
  padding: 50px 10px;
  color: var(--ink-3);
}

.rich-page .soon-ico .ic {
  color: var(--brand);
  opacity: 0.5;
}

.vip-rich {
  margin-bottom: 12px;
}

.buy-block {
  background: var(--card);
  border-radius: 14px;
  padding: 16px;
}

.rich-page ul,
.rich-page ol {
  list-style: revert;
  margin: 8px 0;
}

.rich-page li {
  margin: 4px 0;
}

.buy-block .plan-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.buy-block .plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 6px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  text-align: center;
}

.buy-block .plan b {
  font-size: 13px;
}

.buy-block .plan .price {
  color: var(--gold);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.buy-block .plan .price small {
  font-size: 10px;
  font-weight: 500;
}

.buy-block .plan small {
  font-size: 10px;
  color: var(--ink-3);
}

.buy-block .plan.on {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.wallet-hero {
  background: linear-gradient(160deg, #ff8a33, #e05f01);
  color: #fff;
  border-radius: 14px;
  padding: 22px 18px;
  margin-bottom: 12px;
}

.wallet-hero small {
  opacity: 0.9;
  font-size: 12px;
}

.wallet-hero b {
  display: block;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 4px;
}

.wallet-hero .rate {
  margin-top: 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 6px 10px;
}

.wd-form {
  display: flex;
  gap: 10px;
}

.wd-form .input {
  flex: 1;
}

.rate-table div,
.wd-list div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.rate-table div:last-child,
.wd-list div:last-child {
  border-bottom: 0;
}

.wd-list div span:first-child {
  font-weight: 600;
}

.wd-list div small {
  width: 100%;
  color: var(--ink-3);
  font-size: 12px;
}

.wd-list .plus {
  color: var(--ok);
  font-weight: 700;
}

.wd-list .minus {
  color: var(--danger);
  font-weight: 700;
}

.wd-list .badge {
  font-style: normal;
}

.post-card-wrap {
  background: var(--card);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
}

.post-card-wrap .post-card {
  margin-bottom: 0;
  border-radius: 0;
}

.card-actions {
  display: flex;
  border-top: 1px solid var(--line);
}

.card-actions button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  background: none;
  padding: 9px 2px;
  font: inherit;
  font-size: 12px;
  color: var(--ink-3);
  cursor: pointer;
  min-width: 0;
}

.card-actions button + button {
  border-left: 1px solid var(--line);
}

.card-actions button .ic {
  width: 15px;
  height: 15px;
  flex: none;
}

.card-actions button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-actions button.on {
  color: var(--brand);
  font-weight: 600;
}

.card-actions button.lead {
  color: var(--brand);
  font-weight: 600;
}

.lead-box {
  text-align: center;
}

.lead-box h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.lead-box img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--paper);
}

.lead-box p {
  color: var(--ink-2);
  font-size: 13px;
  margin: 12px 0 0;
}

.home-feed-card{background:#fff;border-radius:16px;margin-bottom:14px;padding:18px;overflow:hidden}
.feed-author{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.feed-name{font-size:16px;font-weight:700;color:var(--ink)}
.feed-tags{display:flex;gap:6px;margin-top:5px;flex-wrap:wrap}
.feed-content{display:block;color:inherit;text-decoration:none}
.feed-content h3{font-size:17px;line-height:1.6;margin:0 0 8px}
.feed-content p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.75;margin:0 0 12px}
.feed-meta{display:flex;align-items:center;gap:12px;color:var(--ink-3);font-size:12px;padding:12px 0}
.feed-contact{margin-left:auto;color:var(--brand);font-size:14px;font-weight:700;border:0;background:var(--brand-soft,#fff3e8);padding:8px 12px;border-radius:20px}
.feed-actions{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line,#eee);padding-top:12px}
.feed-actions button{display:flex;justify-content:center;gap:7px;align-items:center;background:none;border:0;font-size:14px;color:var(--ink-2);min-height:36px}
.listing-notice{background:#fff1e6;color:#9d4300;border:1px solid #ffddc3;border-radius:10px;padding:13px 15px;margin:10px 0 14px;font-size:14px;line-height:1.65}
.account-section{margin-top:18px}.account-section h2{font-size:16px;margin:0 0 12px}
.account-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 4px;background:white;border-radius:16px;gap:4px}
.account-grid>a{display:flex;align-items:center;justify-content:center;gap:8px;flex-direction:column;padding:16px 2px;font-size:14px;color:var(--ink)}
.account-icon{position:relative;color:var(--brand)}.account-icon .ic{width:26px;height:26px}
.account-icon i{position:absolute;top:-8px;right:-13px;background:#db442f;color:white;min-width:18px;padding:1px 3px;border-radius:20px;font-size:12px;text-align:center;font-style:normal}
.account-section .menu .ic{margin-right:12px;color:var(--brand)}
.team-member{display:flex;align-items:center;gap:12px;background:white;padding:16px;margin:8px 0;border-radius:12px;color:var(--ink)}
.team-member small{display:block;color:var(--ink-3);margin-top:5px;font-size:13px}.team-rate{text-align:center;color:var(--ink-2);font-size:14px}
.reward-choice p{font-size:15px;line-height:1.7}.reward-choice .btn-row>*{flex:1;min-height:44px}
.reward-box video{width:100%;max-height:55vh;background:#111;border-radius:10px}.contact-value{font-size:22px;font-weight:700;overflow-wrap:anywhere;user-select:text}
@media(max-width:480px){.quick-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.quick-card{min-width:0}.quick-card small{white-space:normal;line-height:1.5}.home-feed-card{padding:16px}.account-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.account-grid>a{font-size:13px}.desk-header input{min-width:0}}

.stat-row>div{flex:1;text-align:center;padding:14px 4px}.stat-row>div b,.stat-row>div small{display:block}.stat-row>div small{font-size:12px;color:var(--ink-3);margin-top:5px}
.platform-footer { margin: 18px 12px; text-align: center; color: var(--ink-3); font-size: 12px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.customer-service-fab { position: fixed; z-index: 35; right: max(16px, calc((100vw - 1120px) / 2)); top: 50%; bottom: auto; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 56px; height: 56px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.16); font-size: 12px; cursor: pointer; }
.customer-service-fab svg { width: 24px; height: 24px; }
.customer-service-dialog { text-align: center; font-size: 14px; line-height: 1.7; }
.customer-service-qr { display: block; width: min(240px, 100%); height: auto; max-height: 55vh; object-fit: contain; margin: 10px auto; }
.service-description { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink-2); margin-top: 12px; }
.share-card-preview { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; margin: 12px 0; }
.share-card-preview img { width: 62px; height: 62px; border-radius: 8px; object-fit: cover; flex: none; }
.share-card-preview div { min-width: 0; }
.share-card-preview b { display: block; font-size: 15px; overflow-wrap: anywhere; }
.share-card-preview small { display: block; margin-top: 5px; color: var(--ink-3); overflow-wrap: anywhere; }
.share-instruction { font-size: 15px; line-height: 1.8; color: var(--ink-2); }

.home-feed-card .feed-content p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;max-height:5.4em}.feed-more{display:inline-block;font-size:13px;color:var(--brand);margin-top:6px}.feed-actions button.on{color:var(--brand)}.custom-note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;margin:10px 0}.topbar h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}

.feed-stats{display:flex;flex:1;min-width:0;flex-wrap:wrap;gap:4px 10px}.post-card .feed-more{display:block;font-size:12px;margin:5px 0;color:var(--brand)}

.customer-service-fab > span { max-width: 100%; padding: 0 3px; box-sizing: border-box; overflow-wrap: anywhere; line-height: 1.15; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.btn, .feed-actions button, .card-actions button, .common-item, .menu .item, .empty { overflow-wrap: anywhere; }
.btn, .feed-actions button, .card-actions button { white-space: normal; }
.tabbar a > span:last-child { max-width: 100%; overflow-wrap: anywhere; line-height: 1.25; }

.membership-choice{min-width:0}.membership-choice h3{margin:0 0 12px}.membership-choice p{margin:0 0 20px;line-height:1.65}.membership-choice .btn{white-space:normal;overflow-wrap:anywhere}.wallet-rate-table>div{gap:12px;align-items:flex-start}.wallet-rate-table>div>span{min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}.wallet-rate-table>div>span:last-child{text-align:right}

.contact-box .lock.membership-lock{display:block}.contact-box .membership-lock p{margin:8px 0 12px}.contact-box .membership-lock .btn{white-space:normal;overflow-wrap:anywhere}
