:root {
  --brand: #ff5230;
  --brand-2: #fa6c3e;
  --text: #333;
  --sub: #808080;
  --muted: #b3b3b3;
  --line: #f2f2f2;
  --bg: #f9f9f9;
  --card: #fff;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
button, input { font: inherit; }
button { border: 0; background: transparent; color: inherit; padding: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
#app {
  width: min(100vw, 430px);
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: calc(62px + env(safe-area-inset-bottom));
  background: var(--bg);
}
.page { min-height: 100dvh; background: var(--bg); overflow-x: clip; }
.home-search {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  height: 52px;
  padding: 8px 10px;
  background: #fff;
}
.addr { display: flex; align-items: center; gap: 5px; min-width: 118px; color: #4d4d4d; font-size: 16px; }
.addr img { width: 16px; height: 16px; }
.addr .down { width: 10px; height: 6px; }
.search-pill {
  height: 34px;
  border-radius: 20px;
  background: #f2f2f2;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
}
.search-pill img { width: 16px; height: 16px; }
.search-pill input {
  width: calc(100% - 44px);
  border: 0;
  outline: 0;
  background: transparent;
  color: #333;
}
.banner-wrap { position: relative; background: #fff; padding: 0 10px 10px; }
.banner-img { width: 100%; aspect-ratio: 345 / 152; object-fit: cover; border-radius: 11px; background: #f0f0f0; }
.dots { position: absolute; left: 50%; bottom: 16px; display: flex; gap: 8px; transform: translateX(-50%); }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / 55%); }
.dots .on { background: #fff; }
.home-section { background: #fff; padding: 0 9px 12px; }
.section-title { height: 44px; display: flex; align-items: center; justify-content: space-between; }
.section-title h2 { margin: 0; font-size: 17px; font-weight: 400; color: #333; }
.section-title button { display: flex; align-items: center; color: #808080; font-size: 14px; }
.section-title button img { width: 15px; height: 15px; margin-left: 2px; opacity: .7; }
.official-list { display: grid; gap: 12px; }
.official-card {
  display: grid;
  grid-template-columns: 122px 1fr;
  min-height: 126px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 18px rgb(0 0 0 / 4%);
}
.official-card .cover { width: 122px; height: 126px; object-fit: cover; }
.official-body { display: grid; align-content: space-between; padding: 16px 12px 12px; min-width: 0; }
.official-body h3, .tile-body h3, .snapshot-body h3 {
  margin: 0;
  color: #4d4d4d;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.countdown { display: flex; align-items: center; gap: 7px; color: var(--brand); font-size: 15px; white-space: nowrap; }
.countdown img { width: 16px; height: 16px; }
.card-stats { display: flex; align-items: center; justify-content: space-between; color: #b3b3b3; font-size: 15px; }
.card-stats span { display: inline-flex; align-items: center; gap: 4px; }
.card-stats img { width: 16px; height: 16px; opacity: .75; }
.activity-section { position: relative; min-height: calc(100dvh + 46px); background: var(--bg); }
.activity-section.filter-open .waterfall { visibility: hidden; }
.activity-tabs {
  position: sticky;
  top: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 44px;
  align-items: center;
  height: 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.activity-tabs button { height: 46px; font-size: 16px; color: #4d4d4d; }
.activity-tabs .active { color: var(--brand); font-weight: 600; }
.activity-tabs button[data-action="toggle-home-activity-filter"] {
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}
.activity-tabs button.filter-active { background: #fff5f2; }
.activity-tabs img { width: 20px; height: 20px; margin: auto; }
.activity-filter-overlay {
  position: fixed;
  left: 50%;
  z-index: 34;
  width: min(100vw, 430px);
  transform: translateX(-50%);
  background: rgb(0 0 0 / 30%);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.activity-section.filter-animating .activity-filter-overlay {
  transition: opacity 0.2s ease;
}
.activity-section.filter-open.filter-animating .activity-filter-overlay {
  opacity: 1;
  pointer-events: auto;
}
.activity-filter-sheet {
  background: #fff;
  padding-bottom: 13px;
  max-height: min(72dvh, 520px);
  overflow-y: auto;
  transform: translateY(-100%);
}
.activity-section.filter-animating .activity-filter-sheet {
  transition: transform 0.22s ease;
}
.activity-section.filter-open.filter-animating .activity-filter-sheet {
  transform: translateY(0);
}
.activity-filter-top {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 16px 14px 25px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.activity-filter-tab {
  display: inline-flex;
  align-items: center;
  margin-right: 28px;
  color: #010103;
  font-size: 13px;
}
.activity-filter-tab.active { color: var(--brand-2); }
.activity-filter-tab img { width: 8px; height: 8px; margin-left: 4px; }
.activity-filter-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 14px 10px 0;
}
.activity-filter-chip {
  width: calc(33.33% - 10px);
  height: 30px;
  margin: 0 0 12px 10px;
  border-radius: 4px;
  background: #f2f2f2;
  color: #010103;
  font-size: 12px;
}
.activity-filter-chip.active {
  background: #f4f8fb;
  color: var(--brand-2);
}
.activity-filter-grid-nearby .activity-filter-chip { width: calc(33.33% - 10px); }
.activity-filter-actions {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin-top: 25px;
  padding: 0 10px;
}
.activity-filter-actions button {
  flex: 1;
  max-width: 171px;
  height: 36px;
  border-radius: 5px;
  background: #f2f2f2;
  color: #808080;
  font-size: 13px;
  letter-spacing: 4px;
}
.activity-filter-actions .complete {
  background: #ff4c39;
  color: #fff;
}
.waterfall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
}
.activity-tile, .snapshot-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(0 0 0 / 3%);
}
.tile-cover, .snapshot-cover { position: relative; background: #f0f0f0; }
.tile-cover img { width: 100%; aspect-ratio: 1 / 1.18; object-fit: cover; }
.tile-cover span, .snapshot-cover span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  min-width: 45px;
  height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: rgb(0 0 0 / 50%);
  color: #fff;
  font-size: 12px;
}
.tile-body { padding: 9px; }
.tile-body .countdown { margin-top: 9px; font-size: 13px; white-space: normal; }
.tile-meta { margin-top: 10px; }
.discover-section { position: relative; display: flex; flex-direction: column; flex: 1; min-height: 0; background: var(--bg); }
.discover-section.filter-open .discover-scroll { overflow: hidden; }
.discover-section.filter-open .snapshot-grid { visibility: hidden; }
.page-discover {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
body.discover-active {
  overflow: hidden;
}
body.discover-active #app {
  height: calc(100dvh - 62px - env(safe-area-inset-bottom));
  padding-bottom: 0;
  overflow: hidden;
}
.discover-sticky-head {
  flex-shrink: 0;
  z-index: 30;
  background: #fff;
}
.discover-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.discover-tabs {
  position: relative;
  z-index: 22;
  display: flex;
  gap: 18px;
  height: 44px;
  padding: 0 10px;
  overflow-x: auto;
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.discover-tabs::-webkit-scrollbar { display: none; }
.discover-tabs button { flex: 0 0 auto; height: 44px; padding: 0 2px; border-radius: 0; background: transparent; color: #666; font-size: 14px; white-space: nowrap; }
.discover-tabs .active { color: var(--brand); font-weight: 600; background: transparent; }
.discover-filter-overlay {
  position: fixed;
  left: 50%;
  z-index: 29;
  width: min(100vw, 430px);
  transform: translateX(-50%);
  background: rgb(0 0 0 / 30%);
  opacity: 0;
  pointer-events: none;
}
.discover-section.filter-animating .discover-filter-overlay {
  transition: opacity 0.2s ease;
}
.discover-section.filter-open.filter-animating .discover-filter-overlay {
  opacity: 1;
  pointer-events: auto;
}
.discover-filter-sheet {
  background: #fff;
  padding-bottom: 13px;
  max-height: min(72dvh, 520px);
  overflow-y: auto;
  transform: translateY(-100%);
}
.discover-section.filter-animating .discover-filter-sheet {
  transition: transform 0.22s ease;
}
.discover-section.filter-open.filter-animating .discover-filter-sheet {
  transform: translateY(0);
}
.discover-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
  padding: 12px 10px 0;
}
.discover-filter-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 30px;
  padding: 0 4px;
  border-radius: 4px;
  background: #f2f2f2;
  color: #333;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.discover-filter-chip.active {
  background: #fff0eb;
  color: var(--brand);
}
.discover-filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
  padding: 0 10px;
}
.discover-filter-actions button {
  flex: 1;
  height: 36px;
  border-radius: 5px;
  background: #f2f2f2;
  color: #808080;
  font-size: 13px;
  letter-spacing: 4px;
}
.discover-filter-actions .complete {
  background: #ff4c39;
  color: #fff;
}
.snapshot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px; }
.snapshot-cover img { width: 100%; height: 234px; object-fit: cover; }
.snapshot-body { padding: 8px; }
.snapshot-body p {
  display: inline-block;
  margin: 9px 0 10px;
  padding: 4px;
  border-radius: 4px;
  background: #fff0eb;
  color: #fa7043;
  font-size: 11px;
}
.snapshot-user { display: flex; justify-content: space-between; align-items: center; color: #737373; font-size: 12px; }
.snapshot-user span { display: flex; align-items: center; gap: 6px; min-width: 0; }
.snapshot-user img { width: 16px; height: 16px; border-radius: 50%; }
.message-page { background: #f4f8fb; min-height: calc(100dvh - 62px); padding: 12px 10px; }
.message-grid {
  height: 102px;
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: #fff;
}
.notice-entry { position: relative; display: grid; justify-items: center; gap: 10px; color: #010103; font-size: 14px; }
.notice-entry span { position: relative; }
.notice-entry img { width: 48px; height: 48px; }
.notice-entry em {
  position: absolute;
  right: -4px;
  top: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 9px;
  color: #fff;
  background: var(--brand-2);
  font-size: 12px;
  font-style: normal;
  line-height: 17px;
}
.session-list { margin-top: 12px; overflow: hidden; border-radius: 4px; background: #fff; }
.session-row { position: relative; display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; padding: 12px 15px; align-items: center; }
.session-row > img { width: 48px; height: 48px; border-radius: 50%; }
.session-row h3 { margin: 0; font-size: 16px; font-weight: 400; }
.session-row p { margin: 7px 0 0; color: #aaa; font-size: 13px; }
.session-row time { color: #aaa; font-size: 12px; align-self: start; }
.mine-page { background: #f7f7f7; padding-bottom: 12px; }
.mine-hero { position: relative; height: 260px; color: #fff; overflow: hidden; }
.mine-bg { position: absolute; inset: 0; width: 100%; height: 260px; object-fit: cover; }
.mine-user { position: relative; display: flex; align-items: center; gap: 14px; padding: 42px 30px 0; }
.avatar-img { width: 78px; height: 78px; border-radius: 50%; }
.mine-user button { display: grid; gap: 8px; text-align: left; color: #fff; }
.mine-user b { font-size: 18px; font-weight: 500; }
.mine-user span { font-size: 12px; }
.mine-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; padding: 0 30px; text-align: center; }
.mine-stats button { display: grid; gap: 7px; color: #fff; }
.mine-stats b { font-size: 20px; font-weight: 500; }
.mine-stats span { font-size: 12px; }
.mine-panel {
  margin: -8px 15px 12px;
  padding: 15px;
  border-radius: 8px;
  background: #fff;
  position: relative;
}
.wallet-panel { margin-top: 12px; }
.mine-panel-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mine-panel-title h2 { margin: 0; font-size: 14px; font-weight: 500; color: #333; }
.mine-panel-title button { display: flex; align-items: center; gap: 3px; color: #808080; font-size: 13px; }
.mine-panel-title img { width: 15px; height: 15px; opacity: .7; }
.order-shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.order-shortcuts button { display: grid; justify-items: center; gap: 4px; color: #4d4d4d; font-size: 14px; }
.order-shortcuts img { width: 48px; height: 48px; }
.wallet-card { border-radius: 4px; padding: 12px; background: #fff3eb; color: #4d4d4d; }
.wallet-card > div { display: flex; justify-content: space-between; align-items: center; }
.wallet-card span { display: flex; align-items: center; gap: 4px; font-size: 12px; }
.wallet-card span img { width: 16px; height: 16px; }
.wallet-card b { margin-top: 14px; font-size: 20px; display: block; }
.wallet-card button { color: #ff9a56; }
.wallet-card div:last-child button { width: 49px; height: 22px; border-radius: 21px; background: #ff9a56; color: #fff; font-size: 10px; }
.wallet-ad { width: 100%; height: 80px; object-fit: cover; margin-top: 8px; border-radius: 4px; }
.mine-menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 0; padding: 18px 0; background: #fff; }
.mine-menu button { display: grid; justify-items: center; gap: 5px; color: #4d4d4d; font-size: 14px; }
.mine-menu img { width: 35px; height: 35px; object-fit: contain; }
.sub-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 46px;
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.sub-nav h1 { margin: 0; text-align: center; font-size: 17px; font-weight: 500; }
.back { width: 46px; height: 46px; display: grid; place-items: center; }
.back img { width: 11px; height: 18px; }
.detail-page, .goods-detail, .checkout-page, .activity-detail { padding-bottom: 90px; }
.detail-cover { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; background: #242424; }
.detail-card, .order-shop {
  margin: 10px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}
.detail-card h2 { margin: 0 0 10px; font-size: 20px; line-height: 1.35; font-weight: 500; }
.detail-card h3, .order-shop h2 { margin: 0 0 10px; font-size: 15px; }
.detail-card p { margin: 0; color: #666; line-height: 1.6; }
.rich-detail { color: #555; line-height: 1.7; }
.rich-detail h3 { margin: 10px 0 6px; font-size: 16px; color: #222; }
.rich-detail p { margin: 6px 0; }
.rich-detail ul { margin: 6px 0; padding-left: 20px; }
.rich-detail img { max-width: 100%; height: auto; display: block; margin: 8px 0; border-radius: 6px; }
.detail-meta { margin-top: 12px; display: flex; gap: 8px; }
.detail-meta span, .sku {
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: #fff0eb;
  color: var(--brand);
  font-size: 13px;
}
.goods-price { margin: 0 0 8px; color: var(--brand); font-size: 24px; font-weight: 700; }
.muted { color: #999; font-size: 13px; }
.bottom-actions, .cart-footer, .activity-actions, .single-footer {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 50;
  width: min(100vw, 430px);
  min-height: calc(58px + env(safe-area-inset-bottom));
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--line);
}
.primary-btn, .ghost-btn {
  height: 40px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-weight: 500;
}
.primary-btn { background: var(--brand-2); color: #fff; }
.ghost-btn { border: 1px solid var(--line); color: #666; background: #fff; }
.wide { width: 100%; }
.activity-detail { background: #f7f7f7; }
.activity-hero { width: 100%; height: 440px; object-fit: cover; background: #222; }
.active-title-card {
  position: relative;
  margin: -18px 10px 10px;
  padding: 16px 14px 14px;
  border-radius: 8px;
  background: #fff;
}
.active-title-card h2 {
  margin: 0;
  padding-right: 44px;
  color: #333;
  font-size: 19px;
  line-height: 1.42;
  font-weight: 500;
}
.report {
  position: absolute;
  top: 17px;
  right: 14px;
  color: #999;
  font-size: 13px;
}
.addr-line {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 12px 0;
  color: #808080;
  font-size: 13px;
}
.addr-line img { width: 14px; height: 14px; }
.detail-function {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #9b9b9b;
  font-size: 13px;
}
.detail-function span, .detail-function button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}
.detail-function img { width: 17px; height: 17px; object-fit: contain; }
.end-time-box {
  margin: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #ff5230, #ff9a57);
  color: #fff;
}
.end-time-box span { font-size: 13px; }
.end-time-box b { font-size: 15px; font-weight: 500; }
.rules-box, .join-people, .prize-box, .progress-card {
  margin: 10px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}
.rules-box h3, .join-people h3, .prize-box h3, .progress-card h3 {
  margin: 0 0 10px;
  color: #333;
  font-size: 15px;
  font-weight: 500;
}
.rules-box p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.65;
}
.join-people {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.join-people p { margin: 0; color: #999; font-size: 13px; }
.avatar-stack { position: relative; width: 128px; height: 38px; }
.avatar-stack img {
  position: absolute;
  top: 0;
  width: 38px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}
.prize-box > div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
}
.prize-box img { width: 74px; height: 74px; border-radius: 6px; object-fit: cover; }
.prize-box b { display: block; margin-bottom: 8px; font-size: 15px; line-height: 1.35; }
.prize-box span { color: var(--brand); font-size: 18px; font-weight: 700; }
.progress-card > div { display: flex; justify-content: space-between; color: #666; font-size: 13px; }
.progress-card i, .boost-card i {
  display: block;
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 8px;
  background: #f0f0f0;
}
.progress-card b, .boost-card b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff5230, #ff9a57);
}
.audit-tip {
  margin: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff0eb;
  color: var(--brand);
  font-size: 14px;
}
.activity-actions {
  grid-template-columns: repeat(3, 48px) 1fr;
  gap: 8px;
}
.activity-actions button {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  color: #666;
  font-size: 12px;
}
.activity-actions img { width: 22px; height: 22px; object-fit: contain; }
.activity-actions .join-btn {
  height: 42px;
  border-radius: 22px;
  background: var(--brand-2);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.activity-actions .join-btn.disabled { background: #c7c7c7; }
.submit-page { padding: 10px 10px 86px; }
.submit-activity {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
}
.submit-activity img { width: 72px; height: 72px; border-radius: 6px; object-fit: cover; }
.submit-activity h2 { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 500; }
.submit-page label {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
  padding: 13px 14px;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 14px;
}
.submit-page input, .submit-page textarea {
  width: 100%;
  border: 0;
  outline: 0;
  color: #333;
  background: transparent;
  font-size: 14px;
}
.submit-page textarea { min-height: 96px; resize: none; line-height: 1.55; }
.single-footer { grid-template-columns: 1fr; }
.progress-page {
  padding: 16px 10px;
  min-height: calc(100dvh - 46px);
  background: #fff;
}
.progress-page > img {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  object-fit: cover;
}
.progress-page h2 { margin: 16px 4px; font-size: 18px; line-height: 1.4; font-weight: 500; }
.boost-card {
  padding: 18px 14px;
  border-radius: 8px;
  background: #fff7f2;
}
.boost-card p { margin: 0 0 12px; color: #555; }
.boost-card p b { display: inline; color: var(--brand); }
.boost-card .primary-btn { margin-top: 18px; }
.notice-list { padding: 10px; }
.notice-list article {
  margin-bottom: 10px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}
.notice-list h3 { margin: 0 0 8px; font-size: 15px; font-weight: 500; }
.notice-list p { margin: 0 0 10px; color: #666; line-height: 1.55; font-size: 14px; }
.notice-list time { color: #aaa; font-size: 12px; }
.pad { padding: 10px; }
.status-pill {
  width: fit-content;
  margin: 0;
  padding: 5px 10px;
  border-radius: 14px;
  background: #fff0eb;
  color: var(--brand);
  font-size: 12px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hot-page {
  display: grid;
  gap: 12px;
  padding: 10px;
}
.search-page { min-height: calc(100dvh - 46px); background: #fff; }
.search-box {
  position: sticky;
  top: 46px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 62px;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.search-box input {
  width: 100%;
  height: 36px;
  border: 0;
  outline: 0;
  border-radius: 18px;
  padding: 0 14px;
  background: #f2f2f2;
  color: #333;
}
.search-box button {
  height: 36px;
  border-radius: 18px;
  background: var(--brand-2);
  color: #fff;
  font-size: 14px;
}
.history { padding: 18px 14px; }
.history h3 { margin: 0 0 14px; font-size: 15px; font-weight: 500; color: #333; }
.history button {
  display: inline-flex;
  height: 30px;
  align-items: center;
  margin: 0 8px 8px 0;
  padding: 0 12px;
  border-radius: 15px;
  background: #f6f6f6;
  color: #666;
  font-size: 13px;
}
.history p { margin: 0; color: #aaa; font-size: 13px; }
.empty-slim {
  grid-column: 1 / -1;
  padding: 36px 10px;
  color: #aaa;
  text-align: center;
  font-size: 13px;
}
.location-page, .filter-page {
  min-height: calc(100dvh - 46px);
  padding: 14px 10px 86px;
  background: #fff;
}
.location-page h2, .filter-page h2 {
  margin: 8px 4px 12px;
  color: #333;
  font-size: 15px;
  font-weight: 500;
}
.current-location {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 6px;
  background: #fff0eb;
  color: var(--brand);
  text-align: left;
}
.current-location img { width: 16px; height: 16px; }
.location-grid, .filter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.location-grid button, .filter-grid button {
  height: 36px;
  border-radius: 18px;
  background: #f6f6f6;
  color: #555;
  font-size: 14px;
}
.location-grid .active, .filter-grid .active {
  background: #fff0eb;
  color: var(--brand);
  font-weight: 500;
}
.cart-list { padding: 10px; }
.cart-row {
  display: grid;
  grid-template-columns: 40px 80px 1fr;
  gap: 10px;
  align-items: center;
  padding: 16px 14px;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 10px;
}
.check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #d1d5e1;
  margin: auto;
}
.check.on { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 4px #fff; }
.cart-row > img, .checkout-row img { width: 80px; height: 80px; object-fit: cover; border-radius: 5px; }
.cart-row h3, .checkout-row h3 { margin: 0; font-size: 14px; font-weight: 500; color: #333; line-height: 1.35; }
.cart-row p, .checkout-row p { margin: 8px 0; display: inline-block; padding: 4px 8px; background: #f8faff; border-radius: 4px; color: #777; font-size: 12px; }
.cart-bottom { display: flex; justify-content: space-between; align-items: center; }
.cart-bottom b, .cart-footer b, .order-card b { color: var(--brand); }
.qty { display: inline-grid; grid-template-columns: 28px 34px 28px; align-items: center; text-align: center; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 13px; }
.qty button { height: 28px; background: #fafafa; }
.cart-footer { grid-template-columns: auto 1fr; color: #333; font-size: 13px; }
.cart-footer > div, .cart-footer > span { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.cart-footer .primary-btn { width: 110px; }
.address-card {
  width: calc(100% - 20px);
  margin: 10px;
  display: grid;
  gap: 7px;
  text-align: left;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}
.address-card span { color: #666; font-size: 13px; }
.checkout-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.order-tabs {
  position: sticky;
  top: 46px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 42px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.order-tabs button { font-size: 13px; color: #666; }
.order-tabs .active { color: var(--brand); font-weight: 600; }
.order-card { margin: 10px; padding: 14px; border-radius: 8px; background: #fff; }
.order-card > div { display: flex; justify-content: space-between; align-items: center; }
.order-card span { color: var(--brand); }
.order-card p { color: #666; font-size: 13px; }
.order-card footer { display: flex; justify-content: flex-end; gap: 8px; }
.order-card footer button, .primary-small { height: 30px; padding: 0 13px; border-radius: 15px; border: 1px solid var(--line); }
.primary-small { color: #fff; background: var(--brand); border-color: var(--brand); }
.login-page { min-height: calc(100dvh - 46px); padding: 36px 25px; background: #fff; }
.login-logo { width: 150px; height: 150px; object-fit: contain; margin: 0 auto 20px; }
.login-card label { display: block; margin: 14px 0 8px; color: #555; font-size: 14px; }
.login-card input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  outline-color: var(--brand);
}
.code-row { display: grid; grid-template-columns: 1fr 100px; gap: 10px; }
.code-row button { border-radius: 8px; background: #fff0eb; color: var(--brand); }
.login-card .primary-btn { margin-top: 22px; }
.privacy { margin-top: 16px; text-align: center; color: #999; font-size: 12px; }
.empty-page {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  min-height: 60dvh;
  padding: 80px 20px;
  color: #aaa;
  text-align: center;
}
.empty-page img { width: 200px; max-height: 120px; object-fit: contain; }
.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 60;
  width: min(100vw, 430px);
  min-height: calc(62px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: #fff;
  border-top: 1px solid #ddd;
  display: none;
}
.has-tabbar .tabbar { display: grid; }
.tabbar button { display: grid; justify-items: center; gap: 3px; color: #4d4d4d; font-size: 12px; }
.tabbar img { width: 26px; height: 26px; object-fit: contain; }
.tabbar img.active-icon { display: none; }
.tabbar .active { color: var(--brand); }
.tabbar .active img.default-icon { display: none; }
.tabbar .active img.active-icon { display: block; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 100;
  white-space: nowrap;
}

/* 随手拍管理及发布表单样式 */
.search-wrap-box {
  padding: 10px 14px;
  background: #fff;
}
.search-wrap-box .search-box {
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 8px;
  height: 36px;
}
.search-wrap-box input {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 14px;
  font-size: 13px;
  background: #f7f7f7;
  outline: none;
}
.search-wrap-box button {
  background: var(--brand);
  color: #fff;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 500;
}

.snapshot-list {
  padding: 10px;
  display: grid;
  gap: 12px;
  padding-bottom: 96px;
}
.snapshot-row-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.snapshot-row-card img {
  width: 100px;
  height: 100px;
  border-radius: 6px;
  object-fit: cover;
}
.row-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.store-name-tag {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.store-name-tag img {
  width: 14px;
  height: 14px;
}
.status-tag {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
}
.status-tag.audit { background: #e0f2fe; color: #0284c7; }
.status-tag.pass { background: #dcfce7; color: #15803d; }
.status-tag.refuse { background: #fee2e2; color: #b91c1c; }
.status-tag.down { background: #f3f4f6; color: #4b5563; }
.status-tag.draft { background: #fef9c3; color: #a16207; }

.row-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin: 4px 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.row-time {
  font-size: 11px;
  color: var(--brand);
  background: #fff0eb;
  padding: 2px 6px;
  border-radius: 4px;
  align-self: start;
}
.row-addr {
  font-size: 11px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.row-addr img {
  width: 12px;
  height: 12px;
}
.row-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.row-actions .del-btn {
  padding: 4px;
  border-radius: 4px;
  background: transparent;
  border: 0;
}
.row-actions .del-btn img {
  width: 16px;
  height: 16px;
}
.row-actions .down-btn {
  padding: 4px 12px;
  border: 1px solid #ddd;
  border-radius: 14px;
  background: #fff;
  color: #666;
  font-size: 12px;
}
.refuse-tip {
  font-size: 12px;
  color: #b91c1c;
  background: #fef2f2;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 6px;
}

.snapshot-footer {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.tips-bubble {
  background: linear-gradient(90deg, #ff7e40, #ff4e22);
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(255, 78, 34, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: bounce 2s infinite;
  cursor: pointer;
}
.tips-bubble img {
  width: 14px;
  height: 14px;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.snapshot-footer .add-btn {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: #ff5230;
  box-shadow: 0 4px 10px rgba(255, 82, 48, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
}
.snapshot-footer .add-btn img {
  width: 24px;
  height: 24px;
}

/* 发布随手拍表单样式 */
.publish-page-form {
  padding: 12px;
  display: grid;
  gap: 10px;
  padding-bottom: 96px;
}
.publish-page-form .form-row {
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.publish-page-form label {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
}
.publish-page-form label.required::after {
  content: " *";
  color: var(--brand);
}
.publish-page-form input[type="text"], .publish-page-form select, .publish-page-form input[type="date"] {
  border: 0;
  outline: 0;
  font-size: 14px;
  color: #333;
  text-align: right;
  flex: 1;
  background: transparent;
  width: 100%;
}
.publish-page-form select {
  direction: rtl;
}
.publish-page-form .select-row {
  cursor: pointer;
}
.publish-page-form .input-with-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: flex-end;
}
.publish-page-form .arrow-right {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}
.upload-row {
  flex-direction: column;
  align-items: flex-start !important;
  gap: 8px;
}
.upload-box {
  width: 100%;
  height: 120px;
  border: 1px dashed #ddd;
  border-radius: 6px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.upload-box span {
  font-size: 13px;
  color: #999;
}
.upload-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.file-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.gui-box-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 0 4px;
}
.gui-box-title img {
  width: 16px;
  height: 16px;
}
.gui-box-title span {
  font-size: 13px;
  font-weight: 500;
  color: #666;
}
.rules-desc {
  padding: 0 4px;
  font-size: 11px;
  color: #999;
  line-height: 1.6;
}
.publish-footer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100vw, 430px);
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  z-index: 50;
}
.publish-footer button {
  height: 40px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 0;
}
.save-draft-btn {
  border: 1px solid var(--line) !important;
  background: #fff;
  color: #666;
}
.submit-audit-btn {
  background: var(--brand);
  color: #fff;
}

/* 随手拍详情页样式 */
.snapshot-detail-page {
  position: relative;
  width: 100%;
  height: calc(100vh - 46px);
  background: #111;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-swiper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100% !important;
  background: #000;
  z-index: 1;
}
.hero-swiper .slides {
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-swiper .hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background: #000;
}
.hero-swiper .hero-img.active {
  opacity: 1;
}
.swiper-indicator {
  position: absolute;
  right: 16px;
  bottom: 230px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 20px;
}
.swiper-indicator .active {
  font-weight: bold;
}
.store-bar-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 20px;
  color: #fff;
  font-size: 13px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.store-bar-inline img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}
.store-bar-inline .sep {
  opacity: 0.5;
}
.detail-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0) 100%);
  padding: 30px 16px 24px 16px;
  color: #fff;
  border-radius: 0;
}
.title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.title-row h2 {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin: 0;
  line-height: 1.4;
  flex: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.title-row .views {
  font-size: 13px;
  color: #ddd;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  padding-top: 4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.title-row .views img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}
.detail-body .time-row {
  font-size: 13px;
  color: #ccc;
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.publisher-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 16px;
  padding-top: 14px;
}
.publisher-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.publisher-info img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  object-fit: cover;
}
.publisher-info span {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.report-btn-orange {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  cursor: pointer;
}
.report-btn-orange img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

/* 举报弹窗 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.modal-sheet {
  width: 290px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-sheet h3 {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  color: #333;
  margin: 0;
}
.report-options {
  display: grid;
  gap: 8px;
}
.report-opt {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  color: #555;
  background: #fff;
  transition: all 0.2s;
  border: 1px solid #ddd;
}
.report-opt.selected {
  background: #fff0eb;
  color: var(--brand);
  border-color: var(--brand);
  font-weight: 500;
}
.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.modal-actions button {
  height: 36px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 500;
  border: 0;
}
.modal-actions button.cancel {
  border: 1px solid var(--line) !important;
  background: #fff;
  color: #666;
}
.modal-actions button.confirm {
  background: var(--brand);
  color: #fff;
}
.modal-actions button.confirm.disabled {
  background: #c7c7c7;
  pointer-events: none;
}

.publish-page-form {
  padding: 12px 14px;
  background: #f7f7f7;
  display: grid;
  gap: 12px;
  padding-bottom: 96px;
}
.form-group-card {
  background: #fff;
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.publish-page-form .form-row {
  border-bottom: 1px solid #f9f9f9;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.publish-page-form .form-row:last-child {
  border-bottom: 0;
}
.publish-page-form label {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
}
.publish-page-form label.required::after {
  content: " *";
  color: var(--brand);
}
.publish-page-form input[type="text"],
.publish-page-form select,
.publish-page-form input[type="date"] {
  border: 0;
  outline: 0;
  font-size: 14px;
  color: #333;
  text-align: right;
  flex: 1;
  background: transparent;
  width: 100%;
}
.publish-page-form input::placeholder {
  color: #bbb;
}
.publish-page-form .arrow-right {
  width: 14px;
  height: 14px;
  opacity: 0.5;
  display: inline-block;
}
.category-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  width: min(100vw, 430px);
  height: 60vh;
  background: #fff;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  z-index: 101;
  transition: transform 0.3s ease-out;
}
.modal-overlay.active .category-sheet {
  transform: translate(-50%, 0);
}
.sheet-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: bold;
  color: #333;
}
.sheet-header .close-btn {
  font-size: 20px;
  color: #999;
  background: none;
  border: 0;
  cursor: pointer;
}
.sheet-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}
.cat-left-col {
  width: 110px;
  background: #f5f5f5;
  overflow-y: auto;
  border-right: 1px solid var(--line);
}
.cat-right-col {
  flex: 1;
  background: #fff;
  overflow-y: auto;
}
.cat-item-left {
  width: 100%;
  padding: 14px 12px;
  font-size: 13px;
  color: #555;
  text-align: center;
  border: 0;
  background: none;
  cursor: pointer;
  border-bottom: 1px solid #e5e5e5;
}
.cat-item-left.active {
  background: #fff;
  color: var(--brand);
  font-weight: bold;
  border-left: 3px solid var(--brand);
}
.cat-item-right {
  width: 100%;
  padding: 14px 16px;
  font-size: 13px;
  color: #333;
  text-align: left;
  border: 0;
  background: none;
  cursor: pointer;
  border-bottom: 1px solid #fafafa;
}
.cat-item-right.active {
  color: var(--brand);
  font-weight: bold;
}

/* 随手拍发布 - 小红书式先传图 */
.publish-media-flow {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: #111;
}
.publish-media-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 14px calc(88px + env(safe-area-inset-bottom));
  background: #111;
  color: #fff;
}
.publish-nav {
  background: #111;
  color: #fff;
  border-bottom: 0;
}
.publish-nav .back img {
  filter: brightness(0) invert(1);
}
.publish-nav h1 {
  color: #fff;
}
.publish-media-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52vh;
  padding: 8px 0 16px;
}
.publish-cover-slot {
  width: min(100%, 320px);
  aspect-ratio: 3 / 4;
  max-height: 58vh;
  border: 0;
  border-radius: 12px;
  background: #1e1e1e;
  overflow: hidden;
}
.publish-cover-slot .upload-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #aaa;
  font-size: 14px;
  text-align: center;
  padding: 0 16px;
}
.publish-cover-slot .upload-hint i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgb(255 255 255 / 8%);
  font-size: 28px;
  font-style: normal;
  color: #fff;
}
.publish-cover-slot .upload-hint small {
  font-size: 12px;
  color: #777;
}
.publish-cover-slot img,
.publish-thumb-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.publish-cover-slot .uploading {
  color: #ccc;
  font-size: 14px;
}
.publish-media-extra {
  padding: 4px 0 12px;
}
.publish-media-extra p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #ccc;
}
.publish-media-extra p span {
  margin-left: 6px;
  font-size: 12px;
  color: #666;
}
.publish-thumb-row {
  display: flex;
  gap: 10px;
}
.publish-thumb-slot {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: #1e1e1e;
  border: 0;
}
.publish-thumb-slot .upload-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  color: #888;
  font-size: 11px;
}
.publish-thumb-slot .upload-hint i {
  font-size: 22px;
  font-style: normal;
  color: #ccc;
}
.publish-media-tip {
  margin: 0;
  font-size: 12px;
  color: #666;
  text-align: center;
}
.publish-media-footer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100vw, 430px);
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, #111 30%);
  z-index: 50;
}
.publish-next-btn {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 22px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.publish-next-btn.disabled,
.publish-next-btn:disabled {
  background: #3a3a3a;
  color: #888;
  pointer-events: none;
}
.publish-form-images {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}
.publish-form-images span {
  margin-left: auto;
  font-size: 13px;
  color: var(--brand);
}
.publish-form-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #f2f2f2;
  flex-shrink: 0;
}
.publish-form-thumb.main {
  width: 64px;
  height: 64px;
}
.publish-form-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 431px) {
  #app, .tabbar, .bottom-actions, .cart-footer { box-shadow: 0 0 0 1px rgb(0 0 0 / 4%); }
}
