:root {
  --bg: #f5f7f4;
  --surface: #fff;
  --surface-soft: #f8fbf8;
  --cream: #fff9f0;
  --peach: #fff1e8;
  --ink: #17211d;
  --muted: #64736c;
  --line: #dbe6e0;
  --brand: #111111;
  --brand-dark: #c33a2b;
  --trust: #0f7f70;
  --trust-dark: #113b34;
  --warn: #e5a329;
  --gold: #f4b83f;
  --blue: #3b74d7;
  --green: #1e9b64;
  --pink: #d94d72;
  --danger: #c94d3b;
  --shadow-soft: 0 16px 38px rgba(34, 54, 47, 0.12);
  --shadow-card: 0 8px 22px rgba(34, 54, 47, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 4%, rgba(17, 17, 17, .06), transparent 210px),
    linear-gradient(180deg, rgba(17, 17, 17, .03), transparent 220px),
    var(--bg);
  color: var(--ink);
}

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

input,
textarea,
select {
  font-size: max(16px, 1em);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button { cursor: pointer; }

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background: #fbfcfb;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.page {
  min-height: 100vh;
  padding: 20px 14px 92px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand strong {
  display: block;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: 0;
}

.brand em {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}

.mark {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), #050505);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 950;
  box-shadow: 0 10px 18px rgba(17, 17, 17, .18);
}

.top-actions {
  display: flex;
  gap: 8px;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.92);
  color: var(--muted);
  display: grid;
  place-items: center;
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.search-box {
  width: 100%;
  height: 48px;
  border: 1px solid #d4e0db;
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: var(--muted);
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(31, 53, 45, .05);
  text-align: left;
}

.search-box svg {
  width: 18px;
  height: 18px;
  color: var(--trust);
}

.search-box input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  color: var(--ink);
}

.category-row {
  display: flex;
  gap: 10px;
  margin: 10px -14px 16px;
  padding: 0 14px 2px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.category-row::-webkit-scrollbar {
  display: none;
}

.category {
  flex: 0 0 78px;
  min-height: 88px;
  border: 1px solid #eaded1;
  background: linear-gradient(180deg, #fffdf8, #fff8ef);
  border-radius: 16px;
  font-weight: 900;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 5px;
  box-shadow: 0 8px 18px rgba(91, 62, 35, .06);
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
}

.category-art {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}

.category-title {
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
}

.category-desc {
  display: none;
}

.category.active {
  border-color: #111111;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(242,239,232,.96)),
    #f2efe8;
  color: var(--brand-dark);
  box-shadow: 0 13px 26px rgba(17, 17, 17, .12);
  transform: translateY(-1px);
}

.category.active::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #ff9d48);
}

.mini-ill {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mini-ill .ill-blob {
  fill: #ffe3d3;
}

.drink .mini-ill .ill-blob { fill: #dff7f2; }
.play .mini-ill .ill-blob { fill: #e2ecff; }
.fun .mini-ill .ill-blob { fill: #e4f6e9; }
.beauty .mini-ill .ill-blob { fill: #ffe0eb; }

.mini-ill .ill-white {
  fill: #fff;
  stroke: #36534a;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-ill .ill-line,
.mini-ill .ill-accent {
  fill: none;
  stroke: #36534a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-ill .ill-accent {
  stroke: #111111;
}

.mini-ill .ill-accent-fill {
  fill: #111111;
  stroke: none;
}

.trust-card {
  position: relative;
  background:
    radial-gradient(circle at 92% 24%, rgba(255, 199, 112, .42), transparent 74px),
    linear-gradient(135deg, #fff8ed, #effaf5);
  color: var(--ink);
  border: 1px solid #f0dfca;
  border-radius: 18px;
  padding: 14px 108px 14px 15px;
  margin-bottom: 16px;
  min-height: 118px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(73, 52, 31, .1);
}

.notice-copy {
  position: relative;
  z-index: 1;
}

.notice-label {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--trust);
  background: #e7f7f2;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.notice-label svg {
  width: 14px;
  height: 14px;
}

.trust-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 950;
}

.trust-card p {
  margin: 0;
  color: #53625c;
  line-height: 1.45;
  font-size: 13px;
  max-width: 235px;
}

.notice-art {
  position: absolute;
  right: -8px;
  bottom: -5px;
  width: 116px;
  height: 90px;
}

.notice-ill {
  width: 100%;
  height: 100%;
}

.notice-blob { fill: #ffdcae; }
.notice-paper {
  fill: #fff;
  stroke: #263f38;
  stroke-width: 3;
  stroke-linejoin: round;
}
.notice-line {
  fill: none;
  stroke: #91a09a;
  stroke-width: 4;
  stroke-linecap: round;
}
.notice-shield {
  fill: #0f9f8f;
  stroke: #263f38;
  stroke-width: 3;
  stroke-linejoin: round;
}
.notice-check {
  fill: none;
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.notice-dot.one { fill: #111111; }
.notice-dot.two { fill: #0f9f8f; opacity: .28; }

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
  margin: 16px 0 10px;
}

.section-title small {
  color: var(--muted);
  font-weight: 700;
}

.record-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 11px;
  box-shadow: var(--shadow-card);
}

.record-main {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: center;
}

.thumb {
  height: 78px;
  border-radius: 12px;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 2px;
  padding: 7px 6px 8px;
  color: #fff;
  background:
    radial-gradient(circle at 35% 22%, rgba(255,255,255,.75), transparent 18px),
    linear-gradient(135deg, #fff0e5, #ffd7b6);
  overflow: hidden;
  border: 1px solid #ffd0b3;
}

.thumb .thumb-art {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}

.thumb small {
  font-size: 12px;
  font-weight: 850;
  color: var(--brand-dark);
}

.thumb.drink { background: linear-gradient(135deg, #ebfbf8, #cceee8); border-color: #c4e7df; }
.thumb.play { background: linear-gradient(135deg, #eef4ff, #d7e4ff); border-color: #ccdbfa; }
.thumb.fun { background: linear-gradient(135deg, #eef9ef, #fff0be); border-color: #dceccf; }
.thumb.beauty { background: linear-gradient(135deg, #fff0f5, #ffd8e5); border-color: #f4c9d8; }
.thumb.drink small { color: #087d72; }
.thumb.play small { color: #315fb4; }
.thumb.fun small { color: #257749; }
.thumb.beauty small { color: #b83f64; }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 23px;
  padding: 0 7px;
  border-radius: 7px;
  background: #e9f7f4;
  color: #087d72;
  font-size: 11px;
  font-weight: 850;
}

.badge svg {
  width: 13px;
  height: 13px;
}

.badge.warn {
  background: #f5b83b;
  color: #241a0a;
}

.badge.fail {
  background: #f1ece2;
  color: #3f3a34;
}

.record-title {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 900;
}

.muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.meta-line {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  display: grid;
  gap: 3px;
}

.meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.meta-line svg {
  width: 13px;
  height: 13px;
  color: #84928c;
  flex: none;
}

.stats {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}

.chip-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 0 10px;
}

.chip {
  min-height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 10px;
  padding: 0 11px;
  white-space: nowrap;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.chip svg {
  width: 15px;
  height: 15px;
}

.chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.page-title {
  min-height: 32px;
  display: grid;
  align-items: center;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.page-title.centered {
  text-align: center;
  justify-content: center;
}

.search-block {
  margin: 12px 0 14px;
}

.search-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.search-block-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.search-block-head button {
  border: 0;
  background: transparent;
  color: #9b6f4a;
  font-size: 12px;
  font-weight: 850;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-history-tag,
.hot-search-tag {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #efd9c7;
  border-radius: 999px;
  background: #fffefa;
  color: #4f4037;
  font-size: 13px;
  font-weight: 850;
}

.search-history-tag {
  padding: 0 8px 0 12px;
}

.search-history-tag button,
.hot-search-tag {
  border: 0;
}

.search-history-tag button:first-child {
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}

.search-history-tag button:last-child {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  color: #9b6f4a;
  background: #fff1e7;
  font-size: 13px;
  font-weight: 950;
  line-height: 18px;
}

.hot-search-group {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.hot-search-group strong {
  color: #6d5a4c;
  font-size: 13px;
  font-weight: 950;
}

.hot-search-tag {
  padding: 0 12px;
}

.hot-search-tag.avoid {
  color: #241a0a;
  border-color: #f5b83b;
  background: #f5b83b;
}

.hot-search-tag.good {
  color: #078668;
  border-color: #c8f0e6;
  background: #effbf7;
}

.form-card, .profile-card, .panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
  margin-bottom: 11px;
  box-shadow: var(--shadow-card);
}

.form-card h3, .panel-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.field {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfb;
  padding: 10px;
  margin-bottom: 8px;
  outline: 0;
}

.field:focus {
  border-color: var(--trust);
  box-shadow: 0 0 0 3px rgba(15, 127, 112, .12);
}

textarea.field {
  min-height: 96px;
  resize: vertical;
}

textarea.auto-textarea {
  min-height: 118px;
  overflow: hidden;
  resize: none;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.date-field {
  position: relative;
}

.date-pick-button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffefa;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}

.date-pick-button.filled {
  color: var(--ink);
}

.date-pick-button svg {
  width: 16px;
  height: 16px;
  color: var(--brand-dark);
}

.native-date-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.date-mask {
  align-items: end;
  padding: 0 14px 18px;
  touch-action: none;
}

.date-sheet {
  width: min(100%, 390px);
  margin: 0 auto;
  border-radius: 22px;
  background: #fffefa;
  border: 1px solid rgba(242, 200, 168, .9);
  box-shadow: 0 -16px 40px rgba(73, 43, 20, .18);
  overflow: hidden;
  touch-action: pan-y;
}

.date-sheet-head {
  height: 54px;
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid rgba(242, 200, 168, .72);
}

.date-sheet-head strong {
  text-align: center;
  font-size: 16px;
  font-weight: 950;
}

.date-sheet-head button {
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 850;
}

.date-sheet-head button:first-child {
  color: var(--muted);
  text-align: left;
}

.date-sheet-head button:last-child {
  text-align: right;
}

.date-sheet-picked {
  margin: 14px 16px 4px;
  min-height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(17, 17, 17, .96), rgba(44, 44, 44, .96));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 950;
}

.date-picker-groups {
  max-height: min(52vh, 420px);
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 8px 16px 22px;
}

.date-picker-group {
  margin-top: 12px;
}

.date-picker-group > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.date-option-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

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

.date-option-row.day {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.date-option-row button {
  min-width: 0;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffefa;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.date-option-row.day button {
  height: 34px;
  border-radius: 10px;
  font-size: 13px;
}

.date-option-row button.active {
  border-color: #121212;
  background: #121212;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
}

.field-with-action {
  position: relative;
}

.field-with-action .field {
  padding-right: 70px;
}

.field-action {
  position: absolute;
  right: 6px;
  top: 6px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--trust);
  background: #e9f7f4;
  font-size: 12px;
  font-weight: 900;
}

.field-action svg {
  width: 13px;
  height: 13px;
}

.field-hint {
  width: fit-content;
  max-width: 100%;
  margin: 2px 0 9px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #4b433a;
  background: #f1ece2;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.card-head h3 {
  margin: 0;
}

.card-head span {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f1ece2;
  color: #4b433a;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
}

.proof-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding: 2px 0 10px;
}

.proof-input {
  display: none;
}

.proof-list {
  display: grid;
  gap: 7px;
}

.proof-item {
  min-height: 36px;
  border: 1px solid #e2ebe6;
  border-radius: 10px;
  background: #fbfcfb;
  display: grid;
  grid-template-columns: 38px 48px 1fr;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
}

.proof-thumb {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f1ece2;
  color: #111111;
  display: grid;
  place-items: center;
  overflow: hidden;
}

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

.proof-thumb svg {
  width: 18px;
  height: 18px;
}

.proof-thumb.video {
  background: #edf3ff;
  color: var(--blue);
}

.proof-thumb.location {
  background: #e9f7f4;
  color: var(--trust);
}

.proof-type {
  min-height: 22px;
  border-radius: 7px;
  background: #e9f7f4;
  color: var(--trust);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

.proof-name {
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proof-remove {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #fff2df;
  color: var(--brand-dark);
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
}

.verification-example {
  margin-bottom: 12px;
  border: 1px solid #b5eadf;
  border-radius: 14px;
  background: linear-gradient(145deg, #f0fffb, #fffefa);
  padding: 10px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  align-items: center;
}

.receipt-example {
  min-height: 118px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d7f2eb;
  padding: 10px;
  display: grid;
  align-content: center;
  gap: 6px;
  color: var(--trust);
  text-align: center;
}

.receipt-example span {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  border-radius: 12px;
  background: #e5f9f4;
  position: relative;
}

.receipt-example span::before,
.receipt-example span::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  height: 3px;
  border-radius: 99px;
  background: var(--trust);
}

.receipt-example span::before {
  top: 14px;
}

.receipt-example span::after {
  top: 24px;
}

.receipt-example b {
  color: var(--ink);
  font-size: 12px;
}

.receipt-example em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  line-height: 1.35;
}

.verification-example ul {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.button-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 9px;
}

.publish-form-page {
  padding-bottom: 112px !important;
}

.publish-action-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 35;
  width: min(390px, 100vw);
  transform: translateX(-50%);
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  border: 1px solid rgba(242, 200, 168, .82);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 -14px 34px rgba(73, 43, 20, .12);
  backdrop-filter: blur(14px);
}

.btn {
  min-height: 43px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn.primary {
  background: linear-gradient(145deg, var(--brand), #050505);
  border-color: #111111;
  color: #fff;
  box-shadow: 0 10px 18px rgba(17, 17, 17, .16);
}

.btn.full { width: 100%; }

.folders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.folder {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  min-height: 42px;
  font-weight: 850;
  color: var(--muted);
}

.folder.active {
  color: var(--brand-dark);
  border-color: #111111;
  background: #f2efe8;
}

.profile-card {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 12px;
  align-items: center;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--brand), #2b2b2b);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 20px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.status-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.status-card strong {
  display: block;
  font-size: 18px;
}

.status-card span {
  color: var(--muted);
  font-size: 12px;
}

.contribution-summary-card {
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, #111111, #2a2926);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  box-shadow: var(--shadow-card);
}

.contribution-summary-card div {
  min-width: 0;
}

.contribution-summary-card span {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  font-weight: 800;
}

.contribution-summary-card strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  font-weight: 950;
}

.contribution-summary-card p {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  line-height: 1.45;
}

.detail-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 10px;
  width: min(402px, calc(100vw - 24px));
  transform: translateX(-50%);
  min-height: 70px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(219,230,224,.9);
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 7px 6px;
  box-shadow: 0 14px 30px rgba(34, 54, 47, .18);
  backdrop-filter: blur(16px);
  z-index: 10;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  z-index: 20;
  max-width: min(360px, calc(100vw - 40px));
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(23, 33, 29, .94);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(34, 54, 47, .22);
}

.nav-item {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.nav-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: currentColor;
}

.nav-icon svg {
  width: 21px;
  height: 21px;
}

.nav-item.active {
  color: var(--brand);
}

/* Reference lock: homepage follows the confirmed C-layout/B-color screenshot. */
.mobile-shell {
  width: 100%;
}

.page {
  padding: 22px 14px 92px;
}

.topbar {
  margin-bottom: 12px;
}

.brand {
  gap: 9px;
}

.mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  font-size: 19px;
}

.brand strong {
  font-size: 18px;
  line-height: 1.08;
}

.brand em {
  font-size: 10px;
  margin-top: 2px;
}

.top-actions {
  gap: 12px;
}

.icon-button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.search-box {
  height: 38px;
  border-radius: 999px;
  margin-bottom: 10px;
  padding: 0 13px;
  font-size: 12px;
}

.search-box svg {
  width: 15px;
  height: 15px;
}

.category-row {
  height: 42px;
  margin: 0 0 10px;
  align-items: end;
}

.category {
  min-height: 40px;
  grid-template-columns: 17px auto;
  gap: 4px;
  padding-bottom: 4px;
}

.category-art,
.category-art svg {
  width: 17px;
  height: 17px;
}

.category-title {
  font-size: 12px;
  font-weight: 950;
}

.category.active::before {
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 3px;
}

.trust-card {
  min-height: 100px;
  margin: 0 0 14px;
  border-radius: 12px;
  padding: 15px 144px 13px 13px;
}

.notice-check-badge {
  width: 19px;
  height: 19px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  flex: none;
}

.trust-card strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.trust-card p {
  max-width: 198px;
  font-size: 11px;
  line-height: 1.72;
}

.notice-art {
  right: 7px;
  bottom: 2px;
  width: 127px;
  height: 92px;
}

.section-title {
  margin: 14px 0 8px;
  font-size: 15px;
}

.section-title small {
  font-size: 11px;
}

.record-card {
  padding: 7px;
  margin-bottom: 9px;
  border-radius: 11px;
}

.record-main {
  grid-template-columns: 86px minmax(0, 1fr) 46px;
  gap: 9px;
}

.record-photo {
  width: 86px;
  border-radius: 8px;
}

.badges {
  gap: 4px;
  margin-bottom: 5px;
}

.badge {
  height: 18px;
  padding: 0 6px;
  font-size: 9px;
}

.badge svg {
  width: 11px;
  height: 11px;
}

.record-title {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.25;
}

.meta-line {
  font-size: 10px;
  line-height: 1.35;
}

.meta-line svg {
  width: 11px;
  height: 11px;
}

.stats {
  gap: 10px;
  margin-top: 7px;
  font-size: 10px;
}

.record-price {
  font-size: 16px;
}

.bottom-nav {
  width: min(362px, calc(100vw - 28px));
  min-height: 63px;
  bottom: 10px;
  border-radius: 20px;
  padding: 6px 5px;
}

.nav-item {
  font-size: 10px;
  gap: 3px;
}

.nav-icon {
  width: 22px;
  height: 22px;
}

.nav-icon svg {
  width: 19px;
  height: 19px;
}

.nav-item.publish {
  transform: translateY(-10px);
}

.nav-item.publish .nav-icon {
  width: 40px;
  height: 40px;
}

.nav-item.publish .nav-icon svg {
  width: 23px;
  height: 23px;
}

/* Final homepage reference override: match /Users/wanglitong/Downloads/已生成图像 1.png. */
.mobile-shell {
  width: min(390px, 100vw);
  min-height: 100vh;
  background: #fffdf8;
  box-shadow: 0 28px 80px rgba(49, 34, 22, .12);
}

.page {
  padding: 8px 14px 104px;
}

.status-bar {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #090909;
  padding: 0 4px;
  margin-bottom: 9px;
}

.status-bar strong {
  font-size: 14px;
  font-weight: 950;
}

.status-bar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.signal-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
}

.signal-bars b {
  width: 3px;
  border-radius: 999px;
  background: #090909;
}

.signal-bars b:nth-child(1) { height: 5px; }
.signal-bars b:nth-child(2) { height: 8px; }
.signal-bars b:nth-child(3) { height: 11px; }
.signal-bars b:nth-child(4) { height: 13px; }

.wifi-mark {
  width: 16px;
  height: 12px;
  position: relative;
}

.wifi-mark::before,
.wifi-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 2px solid #090909;
  border-color: #090909 transparent transparent transparent;
  border-radius: 999px;
  transform: translateX(-50%);
}

.wifi-mark::before {
  top: 1px;
  width: 18px;
  height: 18px;
}

.wifi-mark::after {
  top: 6px;
  width: 9px;
  height: 9px;
}

.battery-mark {
  width: 24px;
  height: 12px;
  border: 2px solid #090909;
  border-radius: 3px;
  position: relative;
}

.battery-mark::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 14px;
  height: 4px;
  border-radius: 1px;
  background: #090909;
}

.battery-mark::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 3px;
  width: 2px;
  height: 4px;
  border-radius: 0 2px 2px 0;
  background: #090909;
}

.topbar {
  min-height: 58px;
  margin-bottom: 15px;
}

.mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 27px;
  box-shadow: none;
}

.brand {
  gap: 13px;
}

.brand strong {
  font-size: 25px;
  line-height: 1;
  font-weight: 950;
}

.brand em {
  font-size: 13px;
  margin-top: 6px;
  color: #42362f;
  font-weight: 500;
}

.top-actions {
  gap: 18px;
}

.icon-button {
  width: 28px;
  height: 28px;
  color: #303030;
}

.icon-button svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}

.search-box {
  height: 54px;
  margin-bottom: 18px;
  border: 1.5px solid #ff8f3d;
  border-radius: 999px;
  padding: 0 16px;
  color: #595959;
  font-size: 16px;
  box-shadow: none;
}

.search-box svg {
  width: 23px;
  height: 23px;
  color: #404040;
}

.category-row {
  height: 52px;
  margin: 0 0 16px;
  border-bottom: 0;
}

.category {
  min-height: 52px;
  grid-template-columns: 23px auto;
  gap: 7px;
  padding: 0 0 9px;
  font-weight: 950;
}

.category:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 14px;
  width: 1px;
  height: 14px;
  background: #f3d7bc;
}

.category-art,
.category-art svg {
  width: 23px;
  height: 23px;
}

.category-title {
  font-size: 16px;
}

.category.active::before {
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 4px;
}

.trust-card {
  min-height: 122px;
  margin-bottom: 23px;
  border-radius: 15px;
  padding: 22px 170px 18px 15px;
  background:
    radial-gradient(circle at 76% 28%, rgba(137, 91, 33, .38), transparent 74px),
    linear-gradient(135deg, #332514 0%, #181109 100%);
}

.notice-check-badge {
  width: 25px;
  height: 25px;
  font-size: 17px;
}

.trust-card strong {
  gap: 9px;
  font-size: 22px;
  margin-bottom: 18px;
}

.trust-card p {
  max-width: 210px;
  font-size: 15px;
  line-height: 1.85;
}

.notice-art {
  right: 12px;
  bottom: 9px;
  width: 150px;
  height: 100px;
}

.notice-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.section-title {
  margin: 0 0 13px;
  font-size: 23px;
  line-height: 1;
}

.section-title small {
  color: #b65a0e;
  font-size: 14px;
  font-weight: 650;
}

.section-title small::after {
  content: "›";
  padding-left: 6px;
  font-size: 22px;
  line-height: 0;
  vertical-align: -1px;
}

.record-card {
  min-height: 126px;
  margin-bottom: 11px;
  padding: 8px;
  border-radius: 16px;
  border-color: #f3dbc4;
  background: #fffefa;
  box-shadow: none;
}

.record-main {
  grid-template-columns: 104px minmax(0, 1fr) 58px;
  gap: 13px;
  align-items: center;
}

.record-photo {
  width: 104px;
  border-radius: 12px;
}

.badges {
  gap: 7px;
  margin-bottom: 10px;
}

.badge {
  height: 25px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
}

.record-title {
  margin-bottom: 13px;
  color: #111;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 950;
}

.meta-line {
  color: #6e625b;
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 13px;
}

.meta-line svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.stats {
  gap: 26px;
  margin-top: 0;
  color: #6e625b;
  font-size: 14px;
  line-height: 1;
}

.stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stats svg {
  width: 18px;
  height: 18px;
  color: #bd680a;
  stroke-width: 2.2;
}

.record-price {
  align-self: center;
  justify-self: end;
  color: #ff4d16;
  font-size: 23px;
  font-weight: 950;
}

.bottom-nav {
  width: min(390px, 100vw);
  min-height: 91px;
  bottom: 0;
  padding: 12px 12px 8px;
  border-color: #f1ddca;
  border-radius: 27px 27px 0 0;
  background: rgba(255, 254, 250, .98);
  box-shadow: 0 -8px 28px rgba(95, 58, 34, .1);
}

.nav-item {
  font-size: 14px;
  font-weight: 500;
  gap: 6px;
  color: #2e2e2e;
}

.nav-icon {
  width: 34px;
  height: 34px;
}

.nav-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.8;
}

.nav-item.active {
  color: var(--brand);
  font-weight: 850;
}

.nav-item.publish {
  transform: translateY(-18px);
}

.nav-item.publish .nav-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff4f11, #ff7b22);
  box-shadow: 0 10px 24px rgba(255, 79, 17, .36);
}

.nav-item.publish .nav-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 2.3;
}

.nav-item.publish {
  transform: translateY(-12px);
}

.nav-item.publish .nav-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand), #2b2b2b);
  color: #fff;
  box-shadow: 0 12px 20px rgba(17, 17, 17, .22);
}

.nav-item.publish .nav-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.6;
}

/* Confirmed direction: option C layout with option B warm palette. */
:root {
  --bg: #fff8ef;
  --surface: #fffefa;
  --surface-soft: #fffaf2;
  --cream: #fff1d8;
  --peach: #fff0e2;
  --ink: #201915;
  --muted: #7d6d62;
  --line: #f1ddca;
  --brand: #ff6b2f;
  --brand-dark: #e6531e;
  --trust: #16977d;
  --trust-dark: #2f2118;
  --warn: #f5b544;
  --gold: #f7be55;
  --shadow-soft: 0 28px 80px rgba(49, 34, 22, .14);
  --shadow-card: 0 8px 20px rgba(104, 64, 35, .08);
}

body {
  background:
    radial-gradient(circle at 24% 8%, rgba(255, 189, 96, .22), transparent 260px),
    linear-gradient(180deg, #fffdf9, #fff2df);
}

.mobile-shell {
  background: linear-gradient(180deg, #fffefa 0%, #fff8ef 100%);
  box-shadow: var(--shadow-soft);
}

.page {
  padding: 22px 14px 96px;
}

.mark,
.avatar,
.nav-item.publish .nav-icon {
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand), #2b2b2b);
  box-shadow: 0 10px 22px rgba(17, 17, 17, .20);
}

.icon-button {
  border-color: transparent;
  background: transparent;
  color: #30251f;
}

.topbar-spacer {
  width: 38px;
  height: 38px;
}

.search-box {
  height: 42px;
  border: 1.5px solid #9be4d5;
  border-radius: 999px;
  background: #fffefa;
  box-shadow: 0 8px 22px rgba(242, 117, 51, .08);
}

.search-box svg {
  color: #8f7d70;
}

.category-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 10px 0 12px;
  padding: 0;
  overflow: visible;
  border-bottom: 1px solid #f2dfcc;
}

.category {
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #342720;
  display: grid;
  grid-template-columns: 18px auto;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0 2px;
  overflow: visible;
}

.category-art {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.category-art svg {
  width: 18px;
  height: 18px;
  display: block;
}

.category-title {
  font-size: 13px;
  line-height: 1;
}

.category.active {
  color: var(--brand-dark);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.category.active::before {
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 3px;
  background: var(--brand);
}

.trust-card {
  min-height: 104px;
  border-radius: 13px;
  padding: 16px 148px 14px 14px;
  color: #fffaf0;
  border-color: rgba(255, 200, 136, .2);
  background:
    radial-gradient(circle at 90% 24%, rgba(255, 183, 73, .42), transparent 72px),
    linear-gradient(135deg, #3b271b 0%, #211710 100%);
  box-shadow: 0 16px 38px rgba(99, 61, 33, .14);
}

.notice-label {
  min-height: 20px;
  padding: 0;
  color: #fff;
  background: transparent;
}

.trust-card strong {
  color: #fffaf0;
}

.trust-card p {
  max-width: 205px;
  color: rgba(255, 251, 242, .82);
  line-height: 1.65;
  font-size: 12px;
}

.notice-art {
  right: 8px;
  bottom: 3px;
  width: 130px;
  height: 94px;
}

.notice-paper {
  fill: #f2efe8;
  stroke: #111111;
}

.notice-line {
  stroke: #d58a34;
}

.notice-shield {
  fill: #2b2b2b;
  stroke: #ffe1b8;
}

.notice-dot.two {
  fill: #ff6b2f;
  opacity: 1;
}

.section-title small {
  color: var(--brand-dark);
}

.record-card,
.form-card,
.profile-card,
.panel-card,
.status-card {
  border-color: var(--line);
  background: rgba(255, 254, 250, .94);
  box-shadow: var(--shadow-card);
}

.record-card {
  padding: 8px;
  border-radius: 12px;
}

.record-main {
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 10px;
}

.favorite-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.record-photo {
  width: 88px;
  aspect-ratio: 1 / 1;
  border-radius: 9px;
  overflow: hidden;
  background: var(--cream);
  position: relative;
  flex: none;
}

.record-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.record-photo.placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 35% 18%, rgba(255,255,255,.46), transparent 24px),
    linear-gradient(145deg, #ff7438, #f4b83f);
}

.record-photo.placeholder span {
  display: block;
  font-size: 22px;
  font-weight: 950;
}

.record-photo.placeholder small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 850;
}

.record-info {
  min-width: 0;
}

.record-price {
  align-self: center;
  color: var(--brand-dark);
  font-size: 16px;
  white-space: nowrap;
}

.record-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-line {
  white-space: nowrap;
  overflow: hidden;
}

.meta-line span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-line svg {
  color: var(--trust);
}

.badge {
  border-radius: 999px;
  background: #e7f8ef;
  color: var(--trust);
  font-size: 10px;
}

.badge.good {
  background: #e5f8ef;
  color: var(--trust);
}

.badge.avoid {
  background: #fff0e2;
  color: var(--brand-dark);
}

.badge.warn {
  background: #fff0c5;
  color: #bd6a0b;
}

.type-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.type-option {
  min-height: 86px;
  border: 1px solid rgba(244, 193, 151, .78);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 86%, rgba(255, 175, 113, .22), transparent 24%),
    rgba(255, 254, 250, .78);
  padding: 12px 10px 10px 46px;
  text-align: left;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.type-option b {
  position: absolute;
  left: 11px;
  top: 13px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff0c5;
  color: #bd6a0b;
  font-size: 14px;
  font-style: normal;
}

.type-option.good b {
  background: #ddf8ee;
  color: var(--trust);
}

.type-option.avoid b {
  background: #fff0e2;
  color: var(--brand-dark);
}

.type-option strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.type-option span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.type-option.active {
  border-color: #2b2b2b;
  background:
    radial-gradient(circle at 92% 86%, rgba(255, 137, 60, .26), transparent 24%),
    #fff2df;
  box-shadow: 0 10px 22px rgba(17, 17, 17, .15);
}

.type-option.active::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 107, 47, .16);
}

.type-option.active b {
  background: linear-gradient(145deg, var(--brand), #2b2b2b);
  color: #fff;
}

.type-option.good.active {
  border-color: #40b99f;
  background:
    radial-gradient(circle at 92% 86%, rgba(17, 158, 134, .22), transparent 24%),
    #edfbf6;
  box-shadow: 0 8px 18px rgba(17, 158, 134, .12);
}

.type-option.good.active::after {
  background: rgba(17, 158, 134, .14);
}

.type-option.good.active b {
  background: linear-gradient(145deg, var(--trust), #53c7a9);
  color: #fff;
}

.subpage-titlebar {
  height: 44px;
  margin: -2px 0 12px;
  display: grid;
  grid-template-columns: 74px 1fr 74px;
  align-items: center;
}

.subpage-titlebar button {
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  font-size: 14px;
  font-weight: 850;
}

.subpage-titlebar button svg {
  width: 18px;
  height: 18px;
}

.subpage-titlebar strong {
  text-align: center;
  font-size: 18px;
  font-weight: 950;
}

.publish-titlebar {
  height: 44px;
  margin: -2px 0 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 950;
  position: relative;
  z-index: 2;
}

.publish-start-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 210, 122, .34), transparent 18%),
    radial-gradient(circle at 88% 16%, rgba(26, 174, 143, .18), transparent 18%),
    linear-gradient(180deg, #fff8ea 0%, #fffdf8 42%, #fff2de 100%);
}

.publish-start-page::before {
  content: "";
  position: absolute;
  left: -34px;
  right: -34px;
  top: 56px;
  bottom: 76px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 143, 74, .13), transparent 12%),
    radial-gradient(circle at 80% 22%, rgba(67, 194, 160, .14), transparent 14%),
    linear-gradient(90deg, rgba(255, 188, 128, .1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 188, 128, .1) 1px, transparent 1px);
  background-size: auto, auto, 34px 34px, 34px 34px;
  opacity: .9;
  pointer-events: none;
}

.publish-start-page::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 118px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(99, 70, 36, .09), transparent 68%);
  pointer-events: none;
}

.publish-start-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 226, 142, .62), transparent 20%),
    radial-gradient(circle at 8% 86%, rgba(41, 181, 151, .1), transparent 22%),
    linear-gradient(160deg, rgba(255, 253, 245, .98), rgba(255, 243, 223, .96));
  padding: 16px;
  box-shadow: 0 18px 44px rgba(91, 57, 28, .1);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.publish-card-dot,
.publish-card-leaf {
  position: absolute;
  display: block;
  pointer-events: none;
}

.publish-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd96f;
}

.publish-card-dot.dot-a {
  right: 62px;
  top: 18px;
}

.publish-card-dot.dot-b {
  left: 24px;
  bottom: 82px;
  width: 7px;
  height: 7px;
  background: #55c9a5;
}

.publish-card-leaf {
  width: 22px;
  height: 12px;
  border-radius: 100% 0 100% 0;
  background: #8ad478;
  opacity: .7;
}

.publish-card-leaf.leaf-a {
  right: 18px;
  top: 72px;
  transform: rotate(-24deg);
}

.publish-card-leaf.leaf-b {
  left: 10px;
  top: 118px;
  transform: rotate(24deg);
}

.publish-start-companion {
  position: relative;
  z-index: 0;
  height: 252px;
  margin: 12px 2px 0;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 224, 150, .68), transparent 14%),
    radial-gradient(circle at 20% 78%, rgba(255, 116, 62, .13), transparent 20%),
    linear-gradient(135deg, rgba(255, 246, 229, .86), rgba(232, 250, 242, .82));
  border: 1px solid rgba(255, 202, 150, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.publish-start-companion span {
  position: absolute;
  display: block;
}

.companion-sun {
  right: 42px;
  top: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe59d, #ffd77a);
  box-shadow: 0 14px 34px rgba(255, 179, 78, .24);
}

.companion-cloud {
  width: 72px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  filter: blur(.1px);
}

.companion-cloud::before,
.companion-cloud::after {
  content: "";
  position: absolute;
  bottom: 7px;
  border-radius: 50%;
  background: inherit;
}

.companion-cloud::before {
  left: 12px;
  width: 28px;
  height: 28px;
}

.companion-cloud::after {
  right: 12px;
  width: 20px;
  height: 20px;
}

.cloud-a {
  left: 38px;
  top: 24px;
  opacity: .64;
}

.cloud-b {
  right: 88px;
  top: 74px;
  transform: scale(.72);
  opacity: .5;
}

.companion-card {
  width: 154px;
  height: 98px;
  border: 1px solid rgba(255, 175, 113, .42);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 84, 5, .16) 0 22%, transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, .8), rgba(255, 244, 224, .86));
  box-shadow: 0 18px 42px rgba(73, 43, 20, .08);
}

.companion-card-main {
  left: 96px;
  top: 88px;
  transform: rotate(-3deg);
}

.companion-card-side {
  right: 28px;
  top: 116px;
  width: 118px;
  height: 76px;
  opacity: .92;
  transform: rotate(4deg);
  background:
    linear-gradient(90deg, rgba(17, 158, 134, .18) 0 26%, transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(235, 250, 242, .86));
}

.companion-card::before,
.companion-card::after {
  content: "";
  position: absolute;
  left: 50px;
  right: 22px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 171, 97, .45);
}

.companion-card::before { top: 28px; }
.companion-card::after { top: 50px; width: 56px; }

.companion-map {
  left: 22px;
  right: 22px;
  bottom: 27px;
  height: 130px;
  border-radius: 34px 34px 28px 28px;
  background:
    linear-gradient(90deg, rgba(255, 204, 140, .22) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 204, 140, .22) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(255, 239, 212, .58));
  background-size: 34px 34px, 34px 34px, auto;
  border: 1px solid rgba(255, 188, 128, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
}

.companion-route {
  left: 58px;
  right: 58px;
  bottom: 92px;
  height: 46px;
  border-bottom: 4px dashed rgba(255, 84, 5, .42);
  border-radius: 0 0 50% 50%;
  transform: rotate(-4deg);
}

.companion-shield {
  left: 78px;
  top: 70px;
  width: 42px;
  height: 42px;
  border-radius: 16px 16px 20px 20px;
  background: linear-gradient(145deg, var(--trust), #4dc6a6);
  box-shadow: 0 12px 28px rgba(17, 158, 134, .22);
}

.companion-shield::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}

.companion-pin {
  right: 78px;
  top: 72px;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  background: var(--brand);
  transform: rotate(-45deg);
  box-shadow: 0 12px 24px rgba(255, 84, 5, .2);
}

.companion-pin::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #fffefa;
}

.companion-tag {
  height: 25px;
  padding: 0 11px;
  border-radius: 999px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(73, 43, 20, .08);
}

.companion-tag-avoid {
  left: 36px;
  top: 42px;
  color: #fff;
  background: var(--brand);
  transform: rotate(-6deg);
}

.companion-tag-good {
  right: 30px;
  bottom: 50px;
  color: #087d72;
  background: #dff7ee;
  transform: rotate(5deg);
}

.companion-pencil {
  left: 38px;
  bottom: 48px;
  width: 52px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a34 0 22%, #ffd66e 22% 76%, #4fb98f 76%);
  transform: rotate(-28deg);
  box-shadow: 0 10px 20px rgba(91, 57, 28, .1);
}

.companion-pencil::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 2px;
  border-left: 10px solid #9b6b3b;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.companion-camera {
  right: 44px;
  bottom: 88px;
  width: 38px;
  height: 28px;
  border-radius: 10px;
  background: #fffbf2;
  border: 2px solid #f1b665;
  transform: rotate(7deg);
}

.companion-camera::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 7px;
  width: 12px;
  height: 12px;
  border: 3px solid #4fb98f;
  border-radius: 50%;
}

.companion-camera::after {
  content: "";
  position: absolute;
  left: 8px;
  top: -7px;
  width: 14px;
  height: 7px;
  border-radius: 7px 7px 0 0;
  background: #f1b665;
}

.companion-path {
  left: 24px;
  right: 24px;
  bottom: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 84, 5, .28), transparent);
}

.publish-start-hero {
  display: grid;
  grid-template-columns: 1fr 104px;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.publish-illustration {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 221, 126, .84), transparent 18%),
    linear-gradient(145deg, #fff0c5, #dff8ed);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 12px 26px rgba(44, 133, 113, .1);
}

.publish-illustration .ill-glow {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 165, 76, .22);
}

.publish-illustration .ill-card {
  position: absolute;
  left: 32px;
  top: 17px;
  width: 48px;
  height: 62px;
  border-radius: 14px;
  background: #fffefa;
  box-shadow: 0 10px 22px rgba(73, 43, 20, .16);
}

.publish-illustration .ill-card::before,
.publish-illustration .ill-card::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 4px;
  border-radius: 999px;
  background: #f5bf71;
}

.publish-illustration .ill-card::before { top: 18px; }
.publish-illustration .ill-card::after { top: 31px; }

.publish-illustration .ill-pin {
  position: absolute;
  right: 9px;
  bottom: 17px;
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  background: var(--brand);
  transform: rotate(-45deg);
}

.publish-illustration .ill-pin::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fffefa;
}

.publish-illustration .ill-star {
  position: absolute;
  left: 13px;
  bottom: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--trust);
}

.publish-illustration .ill-star::after {
  content: "✓";
  position: absolute;
  inset: 0;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 950;
}

.publish-step-kicker {
  width: fit-content;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #fff0c5;
  color: #bd6a0b;
  font-size: 12px;
  font-weight: 950;
}

.publish-start-card h2 {
  margin: 12px 0 5px;
  font-size: 22px;
  line-height: 1.25;
}

.publish-start-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.publish-story-strip {
  position: relative;
  z-index: 1;
  min-height: 36px;
  margin: 13px 0 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.publish-story-strip span {
  min-width: 0;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9a5b16;
  background: rgba(255, 239, 208, .72);
  font-size: 11px;
  font-weight: 900;
}

.publish-choice-title {
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  position: relative;
  z-index: 1;
}

.publish-category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  position: relative;
  z-index: 1;
}

.publish-category {
  min-height: 74px;
  border: 1px solid rgba(244, 193, 151, .82);
  border-radius: 17px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 236, 200, .9), transparent 30%),
    rgba(255, 254, 250, .82);
  display: grid;
  place-items: center;
  gap: 4px;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76), 0 8px 18px rgba(91, 57, 28, .05);
  position: relative;
  overflow: hidden;
}

.publish-category::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 171, 97, .38);
}

.publish-category img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

.publish-category strong {
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.publish-category.active {
  border-color: #2b2b2b;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 230, 171, .92), transparent 32%),
    linear-gradient(180deg, #fff7e9, #fff0dd);
  color: var(--brand-dark);
  box-shadow: 0 10px 22px rgba(17, 17, 17, .14);
}

.publish-type-switch {
  margin-bottom: 14px;
}

.publish-summary-bar {
  min-height: 42px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffefa;
  padding: 7px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.publish-summary-bar span,
.publish-summary-bar b {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 950;
}

.publish-summary-bar span {
  background: #fff0c5;
  color: #bd6a0b;
}

.publish-summary-bar b.avoid {
  background: var(--brand);
  color: #fff;
}

.publish-summary-bar b.good {
  background: var(--trust);
  color: #fff;
}

.publish-summary-bar button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.field {
  border-color: var(--line);
  background: #fffefa;
  border-radius: 10px;
}

.field:focus {
  border-color: #2b2b2b;
  box-shadow: 0 0 0 3px rgba(255, 107, 47, .13);
}

.field-full {
  margin-bottom: 0;
}

.field-action {
  color: var(--trust);
  background: #e7f8ef;
}

.field-hint.strong {
  margin: -2px 0 10px;
  color: #9a6200;
  font-weight: 800;
}

.card-head.compact {
  margin-top: 8px;
  margin-bottom: 4px;
}

.tag-editor {
  margin: 10px 0 12px;
}

.tag-list {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffefa;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.point-tag {
  height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.point-tag.avoid {
  background: var(--brand);
}

.point-tag.good {
  background: var(--trust);
}

.tag-input {
  flex: 1;
  min-width: 0;
  height: 30px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.tag-entry-row {
  flex: 1 1 100%;
  min-height: 38px;
  border-radius: 10px;
  background: #fffaf3;
  display: flex;
  align-items: center;
  padding: 0 6px 0 10px;
  gap: 8px;
}

.tag-entry-row button {
  min-width: 56px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.tag-entry-row.good button {
  background: var(--trust);
}

.content-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0 4px;
}

.content-image-item,
.content-image-add {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fffefa;
  overflow: hidden;
  position: relative;
}

.content-image-item {
  cursor: grab;
}

.content-image-item.dragging {
  opacity: .58;
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.content-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-image-item.video {
  background: #2f2118;
  color: #fff;
}

.content-image-item.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .82;
}

.content-image-item.video span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .46);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 900;
}

.content-image-item.video span svg {
  width: 14px;
  height: 14px;
}

.content-image-item button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 0;
  background: rgba(32, 25, 21, .72);
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.content-image-add {
  min-height: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: var(--brand-dark);
  border-style: dashed;
  border-color: #9be4d5;
  font-size: 12px;
  font-weight: 850;
}

.content-image-add svg {
  width: 24px;
  height: 24px;
}

.chip.active {
  background: #2f2118;
  border-color: #2f2118;
}

.proof-item {
  border-color: var(--line);
  background: #fffefa;
  grid-template-columns: 38px 48px minmax(0, 1fr) 24px;
}

.proof-thumb,
.card-head span {
  background: #fff0c5;
  color: #bd6a0b;
}

.btn {
  border-color: var(--line);
  background: #fffefa;
  color: var(--ink);
}

.btn.primary {
  background: linear-gradient(145deg, var(--brand), #2b2b2b);
  box-shadow: 0 10px 18px rgba(17, 17, 17, .22);
}

.detail-hero {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--cream);
}

.detail-hero img,
.detail-hero .record-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero.placeholder .record-photo {
  aspect-ratio: auto;
  border-radius: 12px;
}

.detail-actions.four {
  grid-template-columns: repeat(4, 1fr);
}

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(32, 25, 21, .42);
  overscroll-behavior: contain;
  touch-action: none;
}

html.modal-open,
body.modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

.gate-card {
  width: min(360px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  touch-action: pan-y;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fffefa;
  padding: 16px;
  box-shadow: 0 28px 80px rgba(49, 34, 22, .28);
}

.auth-card {
  width: min(360px, 100%);
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fffefa;
  padding: 16px;
  box-shadow: 0 28px 80px rgba(49, 34, 22, .28);
}

.auth-card .field {
  width: 100%;
  margin-top: 12px;
}

.auth-code-row {
  display: grid;
  grid-template-columns: 1fr 108px;
  gap: 8px;
  align-items: center;
}

.auth-code-row .btn {
  height: 44px;
  margin-top: 12px;
  padding: 0 10px;
  white-space: nowrap;
}

.auth-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.auth-agreement {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.auth-agreement button {
  border: 0;
  background: transparent;
  color: var(--brand);
  padding: 0 1px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card {
  width: min(370px, 100%);
  max-height: calc(100dvh - 42px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fffefa;
  padding: 16px;
  box-shadow: 0 28px 80px rgba(17, 17, 17, .28);
}

.legal-body {
  display: grid;
  gap: 12px;
  margin: 14px 0 16px;
}

.legal-body section {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.legal-body h4 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.legal-body p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.btn.mini {
  width: auto;
  min-width: 64px;
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.mini-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #fff2df;
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 950;
}

.action-textarea {
  min-height: 108px;
  margin: 12px 0;
}

.gate-question {
  min-height: 54px;
  display: grid;
  place-items: center;
  margin: 12px 0;
  border-radius: 14px;
  background: #fff2df;
  color: var(--ink);
  font-weight: 950;
}

.gate-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.share-poster-mask {
  align-items: center;
  padding: 18px;
}

.share-poster-panel {
  width: min(376px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  border: 1px solid #ded6ca;
  border-radius: 22px;
  background: #fffefa;
  padding: 14px;
  box-shadow: 0 28px 80px rgba(17, 17, 17, .3);
}

.share-poster-preview {
  margin-top: 12px;
}

.share-poster-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e8ded0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 10%, rgba(24, 169, 140, .16), transparent 26%),
    linear-gradient(180deg, #fffefa, #f5f2ea);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.share-poster-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-poster-brand > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #111111;
  color: #ffffff;
  font-size: 24px;
  font-weight: 950;
}

.share-poster-brand b,
.share-poster-brand small {
  display: block;
}

.share-poster-brand b {
  color: #111111;
  font-size: 18px;
  font-weight: 950;
}

.share-poster-brand small {
  margin-top: 2px;
  color: #625c55;
  font-size: 11px;
  font-weight: 800;
}

.share-poster-cover {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: #efe8dc;
}

.share-poster-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.share-poster-cover.empty {
  display: grid;
  place-items: center;
  color: #111111;
  font-size: 34px;
  font-weight: 950;
}

.share-poster-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.share-poster-tags span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 3px 8px;
  background: #f3eee7;
  color: #111111;
  font-size: 11px;
  font-weight: 950;
}

.share-poster-tags .good {
  background: #18a98c;
  color: #ffffff;
}

.share-poster-tags .avoid {
  background: #f2b72e;
  color: #111111;
}

.share-poster-card h2 {
  margin: 0;
  color: #111111;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 950;
}

.share-poster-card p {
  margin: 0;
  color: #5f5a52;
  font-size: 13px;
  line-height: 1.45;
}

.share-poster-footer {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid #e8ded0;
}

.share-poster-footer strong {
  color: #111111;
  font-size: 13px;
  font-weight: 950;
}

.share-poster-footer small {
  color: #8a8379;
  font-size: 10px;
  line-height: 1.35;
  word-break: break-all;
}

.share-poster-image {
  display: block;
}

.share-poster-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid #e8ded0;
  box-shadow: 0 14px 34px rgba(17, 17, 17, .12);
}

.share-poster-status {
  margin: 10px 0 0;
  color: #5f5a52;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.share-poster-actions {
  margin-top: 12px;
}

.bottom-nav {
  border-color: rgba(242, 221, 202, .92);
  border-radius: 22px;
  background: rgba(255, 254, 250, .94);
  box-shadow: 0 -10px 30px rgba(95, 58, 34, .1);
}

.nav-item.active {
  color: var(--brand);
}

/* CONFIRMED UI LOCK: /Users/wanglitong/Downloads/已生成图像 1.png */
:root {
  --bg: #fffaf3;
  --surface: #fffefa;
  --ink: #12100e;
  --muted: #6f625a;
  --line: #f2dcc7;
  --brand: #111111;
  --brand-dark: #ef4f16;
  --trust: #119e86;
}

body {
  background: #181818;
}

.mobile-shell {
  width: 100vw !important;
  max-width: none !important;
  min-height: 100vh;
  background:
    radial-gradient(circle at 2% 6%, rgba(255, 238, 213, .95), transparent 150px),
    linear-gradient(180deg, #fffefa 0%, #fff8ef 100%) !important;
  box-shadow: 0 24px 80px rgba(35, 23, 15, .18);
  overflow-x: hidden;
}

.page {
  padding: 14px 14px 96px !important;
}

.status-bar {
  display: none !important;
  height: 0;
  margin: 0 0 13px;
  padding: 0 22px 0 22px;
}

.status-bar strong {
  color: #0b0b0b;
  font-size: 14px;
  font-weight: 950;
}

.topbar {
  min-height: 45px;
  margin-bottom: 16px !important;
}

.brand {
  gap: 16px !important;
}

.mark {
  width: 45px !important;
  height: 45px !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, #2b2b2b 0%, #000000 100%) !important;
  color: #fff;
  font-size: 28px !important;
  font-weight: 950;
  box-shadow: none !important;
}

.brand strong {
  color: #0b0b0b;
  font-size: 25px !important;
  line-height: 1;
  font-weight: 950;
}

.brand em {
  margin-top: 7px !important;
  color: #2f2925 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.top-actions {
  min-width: 30px !important;
  justify-content: flex-end !important;
  gap: 0 !important;
}

.icon-button {
  width: 30px !important;
  height: 30px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #252525 !important;
}

.icon-button svg {
  width: 28px !important;
  height: 28px !important;
  stroke-width: 1.7 !important;
}

.search-box {
  width: calc(100% - 8px) !important;
  height: 44px !important;
  margin: 0 4px 17px !important;
  padding: 0 16px !important;
  border: 1.5px solid #2b2b2b !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 253, .92) !important;
  box-shadow: none !important;
  color: #6c625d !important;
  font-size: 16px !important;
}

.search-box svg {
  width: 24px !important;
  height: 24px !important;
  color: #474747 !important;
}

.category-row {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  height: 50px !important;
  margin: 0 0 15px !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: visible !important;
  border: 0 !important;
}

.category {
  min-height: 50px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: 24px auto !important;
  align-items: start !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 1px 0 12px !important;
  color: #181818 !important;
  font-weight: 950 !important;
  overflow: visible !important;
}

.category:not(:last-child)::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  top: 7px !important;
  width: 1px !important;
  height: 16px !important;
  background: #efd4ba !important;
}

.category-art,
.category-art svg {
  width: 24px !important;
  height: 24px !important;
}

.category-art svg {
  stroke-width: 2.05 !important;
}

.category-title {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 900 !important;
}

.category.active {
  color: var(--brand) !important;
}

.category.active::before {
  left: 7px !important;
  right: 7px !important;
  bottom: 2px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: var(--brand) !important;
}

.trust-card {
  min-height: 132px !important;
  margin: 0 0 24px !important;
  padding: 24px 150px 18px 17px !important;
  border: 0 !important;
  border-radius: 15px !important;
  background:
    radial-gradient(circle at 88% 32%, rgba(133, 86, 36, .38), transparent 78px),
    linear-gradient(135deg, #3a2b18 0%, #171108 100%) !important;
  color: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.trust-card strong {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
  white-space: nowrap;
}

.notice-check-badge {
  width: 27px !important;
  height: 27px !important;
  min-width: 27px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: var(--brand) !important;
  color: #fff !important;
  font-size: 17px !important;
  line-height: 1 !important;
}

.trust-card p {
  max-width: 224px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, .9) !important;
  font-size: 14px !important;
  line-height: 1.78 !important;
}

.notice-art {
  right: 6px !important;
  bottom: 0 !important;
  width: 154px !important;
  height: 129px !important;
}

.notice-art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center bottom !important;
  display: block !important;
}

.section-title {
  margin: 0 0 16px !important;
  color: #0d0d0d !important;
  font-size: 24px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

.section-title small {
  color: #b76516 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.record-card {
  min-height: 134px !important;
  margin: 0 0 10px !important;
  padding: 8px !important;
  border: 1px solid var(--line) !important;
  border-radius: 17px !important;
  background: rgba(255, 255, 253, .92) !important;
  box-shadow: none !important;
}

.record-card .record-main {
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr) 64px !important;
  gap: 13px !important;
  align-items: center !important;
}

.record-card .record-photo {
  width: 112px !important;
  height: 112px !important;
  min-width: 112px !important;
  min-height: 112px !important;
  max-width: 112px !important;
  max-height: 112px !important;
  aspect-ratio: auto !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff1dd !important;
}

.record-card .record-photo img {
  width: 112px !important;
  height: 112px !important;
  object-fit: cover !important;
  display: block !important;
}

.record-info {
  min-width: 0 !important;
  align-self: stretch !important;
  padding-top: 9px !important;
}

.badges {
  gap: 8px !important;
  margin: 0 0 11px !important;
}

.badge {
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 8px !important;
  padding: 0 9px !important;
  background: #def7ee !important;
  color: var(--trust) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

.badge.warn {
  background: #fff0d9 !important;
  color: #f07700 !important;
}

.record-title {
  margin: 0 0 13px !important;
  color: #111 !important;
  font-size: 16px !important;
  line-height: 1.22 !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.meta-line {
  margin: 0 0 14px !important;
  color: #675d56 !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

.meta-line svg {
  width: 18px !important;
  height: 18px !important;
  color: var(--trust) !important;
  stroke-width: 2.3 !important;
}

.stats {
  display: flex !important;
  gap: 28px !important;
  margin: 0 !important;
  color: #6c625d !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

.stats span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

.stats svg {
  width: 19px !important;
  height: 19px !important;
  color: #bd680a !important;
  stroke-width: 2.2 !important;
}

.record-price {
  justify-self: end !important;
  align-self: center !important;
  color: var(--brand) !important;
  font-family: Arial, "Helvetica Neue", "PingFang SC", sans-serif !important;
  font-size: 24px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

.bottom-nav {
  width: min(430px, 100vw) !important;
  min-height: 84px !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  transform: translateX(-50%) !important;
  padding: 10px 16px 12px !important;
  border: 1px solid #f2dfcf !important;
  border-bottom: 0 !important;
  border-radius: 30px 30px 0 0 !important;
  background: rgba(255, 255, 253, .98) !important;
  box-shadow: 0 -8px 28px rgba(95, 58, 34, .1) !important;
}

.nav-item {
  gap: 4px !important;
  color: #303030 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.nav-icon {
  width: 30px !important;
  height: 30px !important;
}

.nav-icon svg {
  width: 28px !important;
  height: 28px !important;
  stroke-width: 1.75 !important;
}

.nav-item.active {
  color: var(--brand) !important;
  font-weight: 850 !important;
}

.nav-item.publish {
  transform: none !important;
}

.nav-item.publish .nav-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #2b2b2b 0%, #000000 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 25px rgba(17, 17, 17, .28) !important;
  transform: translateY(-15px) !important;
  margin-bottom: -13px !important;
}

.nav-item.publish .nav-icon svg {
  width: 33px !important;
  height: 33px !important;
  stroke-width: 2.4 !important;
}

/* QA FIX 2026-07-07: lock the red-box issues to the confirmed reference image. */
.mobile-shell {
  width: 100vw !important;
  max-width: none !important;
}

.page {
  padding-left: 14px !important;
  padding-right: 14px !important;
}

.top-actions {
  width: 30px !important;
  min-width: 30px !important;
}

.category-row {
  height: 42px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  grid-template-columns: repeat(5, 1fr) !important;
  align-items: stretch !important;
  overflow: visible !important;
}

.category {
  min-height: 42px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 0 !important;
  color: #202124 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.category-icon {
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 24px !important;
  color: currentColor !important;
}

.category-icon svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.1 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.category-label {
  display: inline-block !important;
  color: currentColor !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 24px !important;
  min-width: 15px !important;
}

.category-desc,
.category-image {
  display: none !important;
}

.category:not(:last-child)::after {
  top: 3px !important;
  height: 17px !important;
  right: -1px !important;
}

.category.active::before {
  display: block !important;
  width: 36px !important;
  height: 3px !important;
  left: 50% !important;
  bottom: 2px !important;
  transform: translateX(-50%) !important;
  border-radius: 999px !important;
  background: var(--orange) !important;
}

.category.active {
  color: var(--orange) !important;
}

.record-card {
  position: relative !important;
  min-height: 124px !important;
  padding: 8px !important;
  border-radius: 14px !important;
}

.record-card .record-main {
  grid-template-columns: 104px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
}

.record-card .record-photo,
.record-card .record-photo img {
  width: 104px !important;
  height: 104px !important;
  min-width: 104px !important;
  min-height: 104px !important;
  max-width: 104px !important;
  max-height: 104px !important;
}

.record-info {
  padding-top: 8px !important;
  padding-right: 0 !important;
}

.record-title {
  font-size: 15px !important;
  line-height: 1.25 !important;
  margin-bottom: 10px !important;
}

.meta-line {
  font-size: 13px !important;
  margin-bottom: 11px !important;
}

.stats {
  gap: 20px !important;
  font-size: 12px !important;
}

.record-price {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  justify-self: auto !important;
  align-self: auto !important;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.bottom-nav {
  width: min(390px, 100vw) !important;
  min-height: 82px !important;
  padding: 8px 14px 10px !important;
  border-radius: 24px 24px 0 0 !important;
}

.nav-item {
  gap: 2px !important;
  font-size: 12px !important;
}

.nav-icon {
  width: 28px !important;
  height: 28px !important;
}

.nav-icon svg {
  width: 25px !important;
  height: 25px !important;
}

.nav-item.publish .nav-icon {
  width: 48px !important;
  height: 48px !important;
  transform: translateY(-10px) !important;
  margin-bottom: -10px !important;
}

.nav-item.publish .nav-icon svg {
  width: 31px !important;
  height: 31px !important;
}

/* Final category bar implementation: compact icon + label, same size for all items. */
.category-row {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  height: 42px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: visible !important;
  border: 0 !important;
}

.category {
  position: relative !important;
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 0 0 7px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  color: #202124 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  overflow: visible !important;
}

.category-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  flex: 0 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: currentColor !important;
}

.category-icon img {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  object-fit: contain !important;
  pointer-events: none !important;
}

.category-label {
  display: inline-block !important;
  min-width: 14px !important;
  color: currentColor !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
  white-space: nowrap !important;
}

.category.active {
  color: #111111 !important;
}

.category.active::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: 2px !important;
  width: 40px !important;
  height: 3px !important;
  transform: translateX(-50%) !important;
  border-radius: 999px !important;
  background: #111111 !important;
}

.category:not(:last-child)::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  top: 10px !important;
  width: 1px !important;
  height: 14px !important;
  background: #ead7c6 !important;
}

.category-image,
.category-desc,
.category-art,
.category-title {
  display: none !important;
}

.notice-ticker {
  height: 42px !important;
  margin: 0 0 18px !important;
  padding: 0 13px !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  border: 1px solid #f1d5bc !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 8px 20px rgba(112, 70, 30, .07) !important;
  overflow: hidden !important;
}

.notice-ticker-icon {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #111111 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.notice-ticker-track {
  min-width: 0 !important;
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  gap: 32px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  color: #5f4b3b !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 42px !important;
}

.notice-ticker-track span {
  display: inline-block !important;
  animation: notice-marquee 18s linear infinite !important;
}

@keyframes notice-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 32px));
  }
}

.record-waterfall {
  display: block !important;
  column-count: 2 !important;
  column-gap: 12px !important;
  padding-bottom: 96px !important;
}

.record-waterfall .record-card {
  display: inline-block !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  break-inside: avoid !important;
  page-break-inside: avoid !important;
  min-height: 0 !important;
  padding: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid #f1d8c2 !important;
  box-shadow: 0 8px 22px rgba(96, 56, 22, .06) !important;
}

.record-waterfall .record-main {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  align-items: stretch !important;
}

.record-waterfall .record-photo {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  display: block !important;
  line-height: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

.record-waterfall .record-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  object-fit: cover !important;
}

.record-waterfall .record-photo.placeholder {
  aspect-ratio: 1 / 1 !important;
  border-radius: 0 !important;
}

.record-waterfall .record-info {
  padding: 9px 9px 10px !important;
}

.record-waterfall .badges {
  gap: 5px !important;
  margin-bottom: 7px !important;
  flex-wrap: wrap !important;
}

.record-waterfall .badge {
  height: 19px !important;
  padding: 0 6px !important;
  border-radius: 6px !important;
  font-size: 10px !important;
  line-height: 19px !important;
}

.record-waterfall .record-title {
  margin: 0 0 7px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 850 !important;
  display: block !important;
  white-space: normal !important;
  word-break: break-all !important;
  overflow: hidden !important;
}

.record-waterfall .meta-line {
  margin: 0 0 7px !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  color: #6c635a !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.record-waterfall .meta-line svg {
  width: 12px !important;
  height: 12px !important;
}

.record-waterfall .stats {
  display: none !important;
}

.record-waterfall .record-card-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: 7px !important;
}

.record-waterfall .favorite-count {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  min-width: 0 !important;
  color: #6f6257 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.record-waterfall .favorite-count svg {
  width: 14px !important;
  height: 14px !important;
  color: #2c2c2c !important;
  stroke-width: 2 !important;
}

.record-waterfall .record-price {
  position: static !important;
  transform: none !important;
  display: inline-block !important;
  padding: 0 !important;
  color: #111111 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

/* Final waterfall image/stat alignment overrides */
.record-waterfall .record-card,
.record-waterfall .record-main,
.record-waterfall .record-photo {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.record-waterfall .record-photo {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  line-height: 0 !important;
}

.record-waterfall .record-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  vertical-align: top !important;
  object-fit: cover !important;
}

.record-waterfall .favorite-count {
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  font-size: 13px !important;
  line-height: 18px !important;
}

.record-waterfall .favorite-count svg {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 14px !important;
}

/* Home list final behavior: cover images, no price, show experience labels */
.record-waterfall .record-photo:not(.placeholder) {
  background-image: var(--record-image) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #fff7ef !important;
}

.record-waterfall .record-photo:not(.placeholder) img {
  opacity: 0 !important;
  visibility: hidden !important;
}

.record-waterfall .record-card-footer {
  justify-content: flex-start !important;
  margin-top: 8px !important;
}

.record-waterfall .record-price {
  display: none !important;
}

.record-waterfall .badge.tone {
  height: 20px !important;
  padding: 0 6px !important;
  border-radius: 6px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 20px !important;
}

.record-waterfall .badge.tone.good {
  color: #078668 !important;
  background: #ddf7ee !important;
}

.record-waterfall .badge.tone.avoid {
  color: #111111 !important;
  background: #fff0e6 !important;
}

/* Strict home two-column image layout */
.section-title + .record-waterfall {
  margin-top: 8px !important;
}

.record-waterfall {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  column-count: unset !important;
  column-gap: 12px !important;
  row-gap: 12px !important;
  align-items: start !important;
}

.record-waterfall .record-card {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.record-waterfall .record-photo {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.record-waterfall .record-photo:not(.placeholder) {
  background-image: none !important;
}

.record-waterfall .record-photo:not(.placeholder)::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  background-image: var(--record-image) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.record-waterfall .record-photo:not(.placeholder) img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Rebuilt home feed: isolated from old record-card styles */
.home-feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding-bottom: 96px;
}

.home-feed-column {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
}

.home-feed-grid .feed-empty {
  grid-column: 1 / -1;
}

.empty-search-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 196px;
  padding: 20px 18px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.empty-illustration {
  position: relative;
  width: 118px;
  height: 92px;
  margin-bottom: 2px;
}

.empty-card {
  position: absolute;
  left: 18px;
  bottom: 8px;
  width: 78px;
  height: 54px;
  border: 2px solid #d8d3ca;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(17, 17, 17, .08);
}

.empty-card::before,
.empty-card::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  height: 6px;
  border-radius: 999px;
  background: #d8d3ca;
}

.empty-card::before {
  top: 17px;
}

.empty-card::after {
  top: 31px;
  right: 28px;
}

.empty-lens {
  position: absolute;
  right: 13px;
  top: 7px;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #111111;
  background: #f1ece2;
  box-shadow: 0 8px 18px rgba(17, 17, 17, .10);
}

.empty-lens svg {
  width: 23px;
  height: 23px;
}

.empty-dot {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
}

.empty-dot.dot-a {
  left: 11px;
  top: 15px;
  width: 12px;
  height: 12px;
  background: #08a789;
  opacity: .28;
}

.empty-dot.dot-b {
  right: 2px;
  bottom: 18px;
  width: 9px;
  height: 9px;
  background: #111111;
  opacity: .32;
}

.empty-search-state h3 {
  margin: 0;
  color: #251d18;
  font-size: 18px;
  font-weight: 950;
}

.empty-search-state p {
  max-width: 230px;
  margin: 0;
  color: #7b6b60;
  font-size: 13px;
  line-height: 1.55;
}

.empty-search-state button {
  height: 34px;
  margin-top: 4px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2b2b2b, #111111);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(17, 17, 17, .16);
}

.home-feed-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #f1d8c2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(96, 56, 22, .06);
}

.home-feed-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  line-height: 0;
  background: #f6f1e8;
}

.home-feed-image img,
.home-feed-image video {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border: 0;
  transform: none;
  background: transparent;
}

.home-feed-image.placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(145deg, #ffe7bf, #fff4df);
}

.home-feed-image.placeholder span {
  font-size: 28px;
}

.home-feed-image.placeholder small {
  display: none;
}

.home-feed-body {
  padding: 9px 9px 10px;
}

.home-feed-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 7px;
}

.home-feed-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 20px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  line-height: 20px;
  white-space: nowrap;
}

.home-feed-badge.good {
  height: 22px;
  min-height: 22px;
  padding: 0 7px 0 6px;
  border: 1px solid rgba(7, 134, 104, .22);
  color: #fff;
  background: linear-gradient(135deg, #08a789, #078668);
  box-shadow: 0 4px 10px rgba(7, 134, 104, .16);
}

.home-feed-badge.good::before {
  content: none;
}

.home-feed-badge.avoid {
  height: 22px;
  min-height: 22px;
  padding: 0 7px 0 6px;
  border: 1px solid #f5b83b;
  color: #fff;
  background: linear-gradient(135deg, #2b2b2b, #111111);
  box-shadow: none;
}

.home-feed-badge.avoid::before {
  content: none;
}

.home-feed-badge.featured {
  height: 22px;
  min-height: 22px;
  padding: 0 7px 0 6px;
  border: 1px solid rgba(17, 17, 17, .16);
  color: #fff;
  background: linear-gradient(135deg, #111111, #2b2b2b);
}

.home-feed-badge.featured svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.home-feed-signal-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  align-self: center;
  color: currentColor;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-feed-badge-text {
  display: inline-flex;
  align-items: center;
  height: 14px;
  line-height: 14px;
  transform: translateY(.25px);
}

.home-feed-badge.good .home-feed-signal-icon circle {
  fill: rgba(255, 255, 255, .18);
}

.home-feed-badge.avoid .home-feed-signal-icon path:first-child {
  fill: rgba(255, 255, 255, .18);
}

.home-feed-badge.verified {
  color: #078668;
  background: #ddf7ee;
}

.home-feed-badge.tag {
  color: #111111;
  background: #fff0e6;
}

.home-feed-title {
  margin: 0 0 7px;
  color: #17130f;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  word-break: break-all;
}

.home-feed-location {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  margin-bottom: 8px;
  overflow: hidden;
  color: #6c635a;
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-feed-location svg {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  color: #08a789;
}

.home-feed-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.home-feed-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2c2c2c;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.home-feed-action.active {
  color: #111111;
}

.home-feed-action svg {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  stroke-width: 2;
}

.home-feed-action span {
  display: inline-block;
  min-width: 8px;
  text-align: left;
}

/* Detail page fixed actions and report flow */
.detail-page {
  padding-bottom: 112px !important;
}

.verification-card {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 10px !important;
  border-color: rgba(8, 167, 137, .28) !important;
  background: linear-gradient(135deg, #ecfbf6, #fffdf8) !important;
  box-shadow: 0 8px 22px rgba(8, 167, 137, .08) !important;
}

.verification-card h3 {
  margin: 0 0 6px !important;
  color: #087d72 !important;
}

.verification-card p {
  margin: 0 !important;
  color: #5d6a64 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.verification-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #078668;
  background: #d8f6ed;
}

.verification-icon svg {
  width: 20px;
  height: 20px;
}

.detail-report-card {
  margin-bottom: 12px !important;
}

.detail-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.detail-report-head h3 {
  margin: 0 !important;
}

.detail-report-head span {
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #111111;
  background: #fff0e6;
  font-size: 12px;
  font-weight: 900;
  line-height: 22px;
}

.detail-report-item {
  padding: 10px 0;
  border-top: 1px solid #f3dfcc;
}

.detail-report-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.detail-report-item p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
}

.detail-report-item small {
  display: block;
  margin-top: 8px;
  color: #91877e;
  font-size: 13px;
  font-weight: 700;
}

.detail-report-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.detail-report-meta small {
  margin-top: 0;
}

.detail-report-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.detail-report-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 24px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #332820;
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  -webkit-tap-highlight-color: transparent;
}

.detail-report-actions button.active {
  color: #111111;
  background: transparent;
}

.detail-report-actions svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  stroke-width: 2;
}

.detail-report-comments {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.detail-report-comments p {
  margin: 0;
  padding: 7px 9px;
  border-radius: 10px;
  color: #5f5148;
  background: #fff7ee;
  font-size: 12px;
  line-height: 1.45;
}

.detail-report-comments b {
  margin-right: 6px;
  color: #111111;
}

.detail-report-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.detail-report-images img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.detail-bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 8px;
  z-index: 22;
  width: min(360px, calc(100vw - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 44px 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border: 1px solid #f2ddc7;
  border-radius: 16px;
  background: rgba(255, 253, 249, .96);
  box-shadow: 0 -12px 34px rgba(65, 42, 25, .13);
  backdrop-filter: blur(12px);
}

.detail-bottom-icon {
  height: 40px;
  border: 0;
  background: transparent;
  color: #251d18;
  font-weight: 900;
  -webkit-tap-highlight-color: transparent;
}

.detail-bottom-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  font-size: 13px;
}

.detail-bottom-icon svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.detail-bottom-icon.active {
  color: #111111;
}

.detail-report-button {
  height: 40px;
  border: 1px solid #111111;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #2b2b2b, #111111);
  box-shadow: 0 8px 18px rgba(17, 17, 17, .16);
  -webkit-tap-highlight-color: transparent;
}

.report-upload {
  margin: 12px 0;
}

.report-upload-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.report-upload-head strong {
  font-size: 14px;
}

.report-upload-head span {
  color: #111111;
  font-size: 12px;
  font-weight: 900;
}

.report-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.report-image-thumb,
.report-image-add {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #f0d7bd;
  border-radius: 12px;
  background: #fffefa;
}

.report-image-thumb {
  cursor: grab;
}

.report-image-thumb:active {
  cursor: grabbing;
}

.report-image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-image-thumb button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(32, 25, 21, .72);
  font-size: 16px;
  font-weight: 900;
  line-height: 22px;
}

.report-image-add {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  color: #111111;
  border-style: dashed;
  border-color: #9be4d5;
  font-size: 12px;
  font-weight: 900;
}

.report-image-add svg {
  width: 22px;
  height: 22px;
}

.report-game {
  margin: 12px 0;
  padding: 10px;
  border: 1px solid #f0d7bd;
  border-radius: 14px;
  background: #fff9f0;
}

.report-game-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.report-game-head strong {
  font-size: 14px;
}

.report-game-head span {
  color: #9b6f4a;
  font-size: 12px;
  font-weight: 800;
}

.report-game-target,
.report-game-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.report-game-target {
  min-height: 38px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: #fff;
}

.report-game-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.report-game-option {
  min-height: 40px;
  padding: 0 8px;
  border: 1px solid #f0d7bd;
  border-radius: 12px;
  background: #fff;
}

.report-game-option.active {
  border-color: #111111;
  background: #fff0e6;
  box-shadow: inset 0 0 0 1px #111111;
}

.report-game-token {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 36px;
}

.report-game-token img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.report-game-token b {
  color: #34271f;
  font-size: 12px;
  line-height: 16px;
}

/* Theme refresh 2026-07-15: distinguish 真花乐 from orange review apps. */
:root {
  --bg: #f5fbf8;
  --surface: #fffefa;
  --surface-soft: #f0faf6;
  --cream: #edf9f5;
  --peach: #e8faf5;
  --line: #cfe7df;
  --brand: #111111;
  --brand-dark: #000000;
  --trust: #111111;
  --trust-dark: #0c3f37;
  --warn: #f5b83b;
  --gold: #e8b54f;
}

body {
  background:
    radial-gradient(circle at 18% 4%, rgba(111, 215, 194, .24), transparent 210px),
    linear-gradient(180deg, rgba(17, 17, 17, .08), transparent 220px),
    var(--bg) !important;
}

.mobile-shell {
  background:
    radial-gradient(circle at 2% 6%, rgba(206, 247, 237, .92), transparent 160px),
    linear-gradient(180deg, #fffefa 0%, #f1fbf8 100%) !important;
}

.mark,
.notice-mark,
.notice-check-badge,
.nav-item.publish .nav-icon,
.button-primary,
.primary-button,
.submit-button,
.detail-report-button,
.modal-submit,
.auth-button,
.publish-continue,
.report-submit,
.game-submit {
  background: linear-gradient(145deg, #111111, #2b2b2b) !important;
  border-color: #111111 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(17, 17, 17, .22) !important;
}

.search-box,
.publish-category.active,
.type-card.active.good,
.type-card.active,
.report-game-option.active,
input:focus,
textarea:focus {
  border-color: #111111 !important;
}

.category.active,
.nav-item.active,
.detail-bottom-icon.active,
.report-upload-head span,
.report-image-add,
.report-game-option.active,
.file-row .link,
.summary-row .link,
.category-choice.active,
.publish-category.active,
.record-price,
.empty-action,
.link-button {
  color: #111111 !important;
}

.category.active::before,
.tab.active::after,
.category-tab.active::after {
  background: #111111 !important;
}

.badge.warn,
.risk-badge.avoid,
.type-card.active.avoid .type-icon {
  background: #f5b83b !important;
  color: #fff !important;
}

.type-card.active.avoid {
  border-color: #f5b83b !important;
  background: #fff1ed !important;
}

.badge.good,
.risk-badge.good,
.tag.good,
.tag.safe,
.verified-tag {
  background: #dff8f1 !important;
  color: #000000 !important;
}

.badge.soft,
.tag.soft,
.taste-tag {
  background: #eefaf6 !important;
  color: #000000 !important;
}

/* Theme refinement 2026-07-15: black is the brand primary; green/amber are semantic accents. */
:root {
  --brand: #111111;
  --brand-dark: #000000;
  --trust: #111111;
  --trust-dark: #000000;
  --warn: #f5b83b;
}

.mark,
.nav-item.publish .nav-icon,
.button-primary,
.primary-button,
.submit-button,
.detail-report-button,
.modal-submit,
.auth-button,
.publish-continue,
.report-submit,
.game-submit {
  background: linear-gradient(145deg, #222222, #050505) !important;
  border-color: #111111 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(17, 17, 17, .18) !important;
}

.search-box,
.publish-category.active,
.category-choice.active,
.report-game-option.active,
input:focus,
textarea:focus {
  border-color: #111111 !important;
}

.category.active,
.nav-item.active,
.detail-bottom-icon.active,
.report-game-option.active,
.category-choice.active,
.publish-category.active,
.record-price,
.empty-action,
.link-button {
  color: #111111 !important;
}

.category.active::before,
.tab.active::after,
.category-tab.active::after {
  background: #111111 !important;
}

.notice-mark,
.notice-check-badge {
  background: #111111 !important;
}

/* Black theme lock: brand primary is black across the product. */
body {
  background:
    radial-gradient(circle at 18% 4%, rgba(0, 0, 0, .07), transparent 220px),
    linear-gradient(180deg, rgba(0, 0, 0, .035), transparent 220px),
    #f7f5f0 !important;
}

.mobile-shell {
  background:
    radial-gradient(circle at 4% 4%, rgba(0, 0, 0, .06), transparent 170px),
    linear-gradient(180deg, #fffefa 0%, #f7f5f0 100%) !important;
}

.mark,
.brand-mark,
.logo-mark,
.category.active,
.publish-category.active,
.category-choice.active,
.nav-item.active,
.detail-bottom-icon.active,
.record-price,
.summary-row .link,
.file-row .link,
.report-upload-head span,
.report-image-add,
.upload-add,
.video-thumb {
  color: #111111 !important;
}

.mark,
.brand-mark,
.logo-mark,
.notice-mark,
.notice-check-badge,
.nav-item.publish .nav-icon,
.button-primary,
.primary-button,
.submit-button,
.detail-report-button,
.modal-submit,
.auth-button,
.publish-continue,
.report-submit,
.game-submit,
.empty-action,
.search-submit,
.tag-confirm,
.form-confirm,
.date-confirm {
  background: linear-gradient(145deg, #222222, #050505) !important;
  border-color: #111111 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(17, 17, 17, .16) !important;
}

.search-box,
.publish-category.active,
.category-choice.active,
.report-game-option.active,
.input:focus,
.textarea:focus,
input:focus,
textarea:focus,
.upload-add,
.report-image-add {
  border-color: #111111 !important;
}

.category.active::before,
.tab.active::after,
.category-tab.active::after {
  background: #111111 !important;
}

.bottom-nav {
  border-color: #111111 !important;
  background: #111111 !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .24) !important;
}

.bottom-nav .nav-item {
  color: rgba(255, 255, 255, .58) !important;
}

.bottom-nav .nav-item.active {
  color: #fff !important;
}

.bottom-nav .nav-icon svg {
  stroke: currentColor !important;
}

.bottom-nav .nav-item.publish .nav-icon {
  border: 2px solid #fff !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* Semantic accents stay colored while brand controls remain black. */
.badge.good,
.badge.safe,
.tag.good,
.tag.safe,
.verified-tag,
.risk-badge.good,
.type-card.active.good,
.type-card.active.good .type-icon {
  background: #dff8f1 !important;
  color: #057766 !important;
  border-color: #0ea58a !important;
}

.badge.warn,
.tag.warn,
.risk-badge.avoid,
.type-card.active.avoid,
.type-card.active.avoid .type-icon {
  background: #f5b83b !important;
  color: #fff !important;
  border-color: #f5b83b !important;
}

.meta-line svg,
.location-icon {
  color: #0ea58a !important;
}

/* Final palette lock 2026-07-15:
   主色=黑；辅助色=暖中性色；点缀色只用于语义：踩雷=琥珀警示，推荐/验证=可信绿。 */
:root {
  --brand: #111111;
  --brand-dark: #000000;
  --page-bg: #f7f5f0;
  --surface: #fffdfa;
  --surface-soft: #f2efe8;
  --line: #e6e0d6;
  --muted: #68635c;
  --accent-good: #0e9f7a;
  --accent-good-soft: #ddf7ee;
  --accent-warn: #f5b83b;
  --accent-warn-soft: #fff3cf;
  --accent-neutral: #f1ece2;
}

body,
.mobile-shell {
  background:
    radial-gradient(circle at 16% 0%, rgba(17, 17, 17, .06), transparent 220px),
    linear-gradient(180deg, rgba(17, 17, 17, .025), transparent 260px),
    var(--page-bg) !important;
}

.mark,
.brand-mark,
.logo-mark,
.notice-mark,
.notice-check-badge,
.nav-item.publish .nav-icon,
.button-primary,
.primary-button,
.submit-button,
.detail-report-button,
.modal-submit,
.auth-button,
.publish-continue,
.report-submit,
.game-submit,
.empty-action,
.search-submit,
.tag-confirm,
.form-confirm,
.date-confirm {
  background: linear-gradient(145deg, #222222, #050505) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(17, 17, 17, .16) !important;
}

.section-title small,
.summary-row .link,
.file-row .link,
.link-button,
.record-price,
.category.active,
.publish-category.active,
.category-choice.active,
.nav-item.active,
.detail-bottom-icon.active {
  color: var(--brand) !important;
}

.category.active::before,
.tab.active::after,
.category-tab.active::after {
  background: var(--brand) !important;
}

.search-box,
.publish-category.active,
.category-choice.active,
.report-game-option.active,
input:focus,
textarea:focus,
.upload-add,
.report-image-add {
  border-color: var(--brand) !important;
}

.home-feed-badge.avoid,
.record-waterfall .badge.tone.avoid,
.badge.avoid,
.badge.warn,
.tag.warn,
.risk-badge.avoid,
.hot-search-tag.avoid,
.point-tag.avoid,
.type-card.active.avoid .type-icon {
  background: var(--accent-warn) !important;
  border-color: var(--accent-warn) !important;
  color: #241a0a !important;
  box-shadow: none !important;
}

.type-card.active.avoid {
  background: var(--accent-warn-soft) !important;
  border-color: var(--accent-warn) !important;
}

.home-feed-badge.avoid .home-feed-signal-icon,
.home-feed-badge.avoid .home-feed-signal-icon path:first-child {
  color: #241a0a !important;
  stroke: currentColor !important;
  fill: transparent !important;
}

.home-feed-badge.good,
.record-waterfall .badge.tone.good,
.badge.good,
.tag.good,
.risk-badge.good,
.hot-search-tag.good,
.point-tag.good,
.type-card.active.good .type-icon {
  background: var(--accent-good) !important;
  border-color: var(--accent-good) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.type-card.active.good {
  background: var(--accent-good-soft) !important;
  border-color: var(--accent-good) !important;
}

.home-feed-badge.verified,
.badge.safe,
.tag.safe,
.verified-tag {
  background: var(--accent-good-soft) !important;
  border-color: rgba(14, 159, 122, .22) !important;
  color: #057766 !important;
}

.home-feed-badge.tag,
.badge.soft,
.tag.soft,
.taste-tag,
.search-history-tag,
.record-tag {
  background: var(--accent-neutral) !important;
  border-color: var(--line) !important;
  color: #3f3a34 !important;
}

.home-feed-badge.good .home-feed-signal-icon,
.home-feed-badge.good .home-feed-signal-icon circle,
.home-feed-badge.good .home-feed-signal-icon path {
  color: #fff !important;
  stroke: currentColor !important;
}

.meta-line svg,
.location-icon {
  color: var(--accent-good) !important;
}

/* Auth modal alignment lock */
.auth-card .field {
  height: 44px !important;
  min-height: 44px !important;
  margin: 12px 0 0 !important;
  padding: 0 12px !important;
  line-height: 44px !important;
}

.auth-code-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 112px !important;
  gap: 0 !important;
  align-items: stretch !important;
  margin-top: 12px !important;
  height: 44px !important;
}

.auth-code-row .field {
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  border-radius: 10px 0 0 10px !important;
  border-right: 0 !important;
  line-height: 44px !important;
}

.auth-code-row .btn {
  width: 112px !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border-radius: 0 10px 10px 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 44px !important;
  white-space: nowrap !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

.auth-card .btn.primary.full {
  height: 44px !important;
  margin-top: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.auth-card .mini-close,
.legal-card .mini-close {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  place-items: center !important;
  line-height: 1 !important;
  text-align: center !important;
  font-size: 18px !important;
}

/* Empty states and publish/favorite neutral theme lock */
.empty-card {
  border-color: #d8d3ca !important;
  background: #fffdfa !important;
  box-shadow: 0 10px 22px rgba(17, 17, 17, .08) !important;
}

.empty-card::before,
.empty-card::after {
  background: #d8d3ca !important;
}

.empty-lens {
  color: #111111 !important;
  background: #f1ece2 !important;
  box-shadow: 0 8px 18px rgba(17, 17, 17, .10) !important;
}

.empty-dot.dot-a {
  background: var(--accent-good) !important;
  opacity: .32 !important;
}

.empty-dot.dot-b {
  background: #111111 !important;
  opacity: .28 !important;
}

.empty-search-state button {
  background: linear-gradient(145deg, #222222, #050505) !important;
  box-shadow: 0 8px 18px rgba(17, 17, 17, .16) !important;
}

.folder.active {
  color: #111111 !important;
  border-color: #111111 !important;
  background: #f2efe8 !important;
}

.publish-action-bar {
  border-color: #d8d3ca !important;
  background: rgba(255, 253, 250, .97) !important;
  box-shadow: 0 -14px 34px rgba(17, 17, 17, .10) !important;
}

.field-hint,
.field-hint.strong,
.card-head span,
.counter {
  color: #4b433a !important;
  background: #f1ece2 !important;
}

.proof-thumb,
.receipt-example span {
  color: #111111 !important;
  background: #f1ece2 !important;
}

.receipt-example span::before,
.receipt-example span::after {
  background: #111111 !important;
}

.btn.primary,
.button-row .btn.primary {
  background: linear-gradient(145deg, #222222, #050505) !important;
  border-color: #111111 !important;
  color: #fff !important;
  box-shadow: 0 10px 18px rgba(17, 17, 17, .16) !important;
}

/* Search/Favorite tag consistency */
.folders {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 16px !important;
}

.folder {
  width: auto !important;
  min-width: auto !important;
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 14px !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  background: var(--accent-neutral) !important;
  color: #3f3a34 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.folder.active {
  border-color: #111111 !important;
  background: #111111 !important;
  color: #fff !important;
}

.search-history-tag,
.hot-search-tag,
.folder {
  box-shadow: none !important;
}

.section-title-link {
  margin-left: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #111111 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.section-title-link svg {
  width: 14px !important;
  height: 14px !important;
  stroke-width: 2.4 !important;
}

.profile-card .avatar {
  background:
    radial-gradient(circle at 72% 18%, rgba(14, 159, 122, .22), transparent 19px),
    linear-gradient(145deg, #ddf7ee, #f7f5f0) !important;
  border: 1px solid rgba(14, 159, 122, .24) !important;
  color: #057766 !important;
  box-shadow: 0 8px 18px rgba(14, 159, 122, .10) !important;
}

/* 2026-07-17 final media/location/date interaction pass */
.native-date-input {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  pointer-events: auto !important;
  z-index: 2 !important;
}

.date-pick-button {
  position: relative !important;
  overflow: hidden !important;
}

.content-image-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.content-image-add {
  border-color: rgba(8, 167, 137, .45) !important;
  color: #111111 !important;
  background: #fffefa !important;
}

.media-viewer-mask {
  align-items: center !important;
  padding: 18px !important;
  background: rgba(0, 0, 0, .72) !important;
}

.media-viewer {
  position: relative;
  width: min(100%, 420px);
  max-height: 86vh;
  display: grid;
  place-items: center;
}

.media-viewer img,
.media-viewer video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 82vh;
  border-radius: 14px;
  background: #000;
  object-fit: contain;
}

.media-viewer .mini-close {
  position: absolute;
  right: -4px;
  top: -44px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #111;
  font-size: 22px;
  font-weight: 900;
}

.location-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  width: min(100vw, 430px);
  margin: 0 auto;
  background: #fffefa;
  color: #111111;
  overflow: auto;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, .28);
}

.location-search-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 16px 14px 14px;
  background: #fffefa;
}

.location-search-head > button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #111;
}

.location-search-head svg {
  width: 23px;
  height: 23px;
}

.location-search-head label {
  height: 44px;
  border: 1.5px solid #111111;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #fff;
}

.location-search-head label svg {
  width: 20px;
  height: 20px;
  color: #777;
}

.location-search-head input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font-size: 16px;
}

.location-current {
  padding: 18px 20px 20px;
  border-bottom: 8px solid #f5f3ee;
}

.location-current > span,
.location-more-title {
  display: block;
  margin-bottom: 16px;
  color: #8b837a;
  font-size: 14px;
  font-weight: 800;
}

.location-current > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.location-current-name {
  min-width: 0;
  border: 0;
  background: transparent;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 950;
  text-align: left;
}

.location-current-name svg {
  width: 20px;
  height: 20px;
  color: #111111;
}

.location-sheet-status {
  margin: 10px 0 0;
  color: #6f675f;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.location-relocate {
  border: 0;
  background: transparent;
  color: #111111;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.location-more-title {
  margin: 0;
  padding: 22px 20px 14px;
}

.location-columns {
  display: grid;
  grid-template-columns: 29% 34% 37%;
  min-height: calc(100vh - 210px);
}

.location-tabs {
  background: #f4f4f4;
}

.location-tabs button,
.location-list button,
.location-result-list button {
  width: 100%;
  min-height: 58px;
  border: 0;
  background: transparent;
  color: #111;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 760;
  text-align: left;
}

.location-tabs button.active {
  color: #111111;
  background: #fffefa;
  font-weight: 950;
}

.location-list button {
  font-size: 17px;
}

.location-result-list {
  padding: 0 20px 32px;
}

.location-result-list button {
  min-height: 52px;
  border-bottom: 1px solid #eee8df;
  padding: 0;
}

.location-list button.active,
.location-result-list button.active,
.location-current-name.active {
  color: #fff;
  background: #111111;
}

.location-current-name.active {
  padding: 9px 12px;
  border-radius: 999px;
}

.location-current-name.active svg {
  color: #fff;
}

.location-confirm-bar {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
  align-items: center;
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid #eee8df;
  background: rgba(255, 254, 250, .96);
  box-shadow: 0 -10px 24px rgba(17, 17, 17, .08);
}

.location-confirm-bar span {
  min-width: 0;
  overflow: hidden;
  color: #6c635a;
  font-size: 14px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-confirm-bar button {
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #111111;
  font-size: 15px;
  font-weight: 950;
}

.location-confirm-bar button:disabled {
  color: #9d948b;
  background: #ece8df;
}

.home-feed-grid {
  align-items: start !important;
}

.home-feed-card {
  height: auto !important;
}

.home-feed-image {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  background: #f8f3ea !important;
}

.home-feed-image img,
.home-feed-image video {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

.home-feed-image.video {
  position: relative !important;
  background: #111 !important;
}

.home-feed-image.video video {
  background: #111 !important;
}

.video-corner {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .58);
  color: #fff;
}

.video-corner svg {
  width: 15px;
  height: 15px;
}

.detail-hero {
  display: none !important;
}

.detail-media-strip {
  display: flex;
  gap: 10px;
  margin: -2px -2px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.detail-media-strip::-webkit-scrollbar {
  display: none;
}

.detail-media-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  scroll-snap-align: start;
  background: transparent;
}

.detail-media-slide img,
.detail-media-slide video {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 12px;
  object-fit: contain;
  background: transparent;
}

.detail-media-slide video {
  background: #111;
}

.detail-media-empty .record-photo {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
}

.home-feed-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 12px !important;
  column-count: initial !important;
}

.home-feed-grid:has(.empty-search-state) {
  grid-template-columns: 1fr !important;
}

.home-feed-card {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.detail-page > .panel-card:first-of-type {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.detail-page > .panel-card:first-of-type .home-feed-badges,
.detail-page > .panel-card:first-of-type h2,
.detail-page > .panel-card:first-of-type p {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 2px !important;
  padding-right: 2px !important;
}

.detail-media-strip {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.detail-media-slide img,
.detail-media-slide video {
  border-radius: 0 !important;
}

.detail-main {
  margin: 0 -14px 14px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.detail-media-stage {
  position: relative;
  width: 100%;
  background: transparent;
}

.detail-main .detail-media-strip {
  margin: 0 !important;
  gap: 0 !important;
}

.detail-main .detail-media-slide {
  flex-basis: 100% !important;
  min-width: 100% !important;
  align-items: stretch !important;
}

.detail-main .detail-media-slide img,
.detail-main .detail-media-slide video {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.detail-media-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
}

.detail-media-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 17, 17, .24);
}

.detail-media-dots span.active {
  background: #111111;
}

.detail-main-text {
  padding: 13px 16px 0 !important;
}

.detail-main-text h2 {
  margin: 10px 0 10px !important;
  color: #111111 !important;
  font-size: 23px !important;
  line-height: 1.25 !important;
  font-weight: 950 !important;
}

.detail-main-text .muted {
  margin: 0 !important;
  color: #665d55 !important;
  font-size: 14px !important;
}

/* Mobile safe-area adaptation lock 2026-07-20
   Covers WeChat H5/iPhone bottom indicator and different screen heights. */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --float-bottom: max(8px, var(--safe-bottom));
  --tabbar-height: 82px;
  --fixed-action-height: 78px;
}

html,
body,
.mobile-shell {
  min-height: 100dvh !important;
}

.page {
  min-height: 100dvh !important;
  padding-bottom: calc(var(--tabbar-height) + var(--float-bottom) + 24px) !important;
}

.publish-form-page,
.detail-page {
  padding-bottom: calc(var(--fixed-action-height) + var(--float-bottom) + 28px) !important;
}

.bottom-nav {
  left: 50% !important;
  right: auto !important;
  bottom: var(--float-bottom) !important;
  width: min(430px, calc(100vw - 20px)) !important;
  min-height: var(--tabbar-height) !important;
  padding: 8px 14px !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: #111111 !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24) !important;
  transform: translateX(-50%) !important;
}

.bottom-nav .nav-item {
  min-height: 64px !important;
  color: rgba(255, 255, 255, .56) !important;
  font-size: clamp(11px, 3.1vw, 13px) !important;
  line-height: 1.1 !important;
}

.bottom-nav .nav-item.active {
  color: #fff !important;
}

.bottom-nav .nav-icon {
  width: 28px !important;
  height: 28px !important;
}

.bottom-nav .nav-icon svg {
  width: 24px !important;
  height: 24px !important;
}

.bottom-nav .nav-item.publish {
  transform: none !important;
}

.bottom-nav .nav-item.publish .nav-icon {
  width: 48px !important;
  height: 48px !important;
  margin: 0 0 2px !important;
  transform: none !important;
  border: 2px solid #fff !important;
  border-radius: 16px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bottom-nav .nav-item.publish .nav-icon svg {
  width: 31px !important;
  height: 31px !important;
}

.publish-action-bar,
.detail-bottom-bar {
  bottom: var(--float-bottom) !important;
  width: min(430px, calc(100vw - 20px)) !important;
  border-radius: 22px !important;
}

.publish-action-bar {
  padding: 10px 12px !important;
}

.detail-bottom-bar {
  padding: 8px 10px !important;
}

.toast {
  bottom: calc(var(--tabbar-height) + var(--float-bottom) + 16px) !important;
}

.date-mask {
  padding: 0 14px calc(14px + var(--safe-bottom)) !important;
}

.modal-mask,
.media-viewer-mask {
  z-index: 120 !important;
  padding: calc(18px + var(--safe-top)) 16px calc(18px + var(--safe-bottom)) !important;
}

.date-mask {
  z-index: 130 !important;
}

.auth-card,
.gate-card,
.legal-card,
.report-card {
  max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 36px) !important;
  overflow: auto !important;
}

.location-sheet {
  min-height: 100dvh !important;
  padding-bottom: var(--safe-bottom) !important;
}

.location-confirm-bar {
  padding-bottom: calc(8px + var(--safe-bottom)) !important;
}

/* Final mobile stability pass: media, sheets, and safe-area layout */
.home-feed-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-items: start !important;
  width: 100% !important;
}

.home-feed-column {
  display: flex !important;
  min-width: 0 !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.home-feed-card {
  align-self: start !important;
  overflow: hidden !important;
  border-color: rgba(17, 17, 17, .12) !important;
  background: #fff !important;
}

.home-feed-image {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #f4efe5 !important;
}

.home-feed-image.portrait {
  aspect-ratio: 3 / 4 !important;
}

.home-feed-image.landscape {
  aspect-ratio: 4 / 3 !important;
}

.home-feed-image.square,
.home-feed-image.unknown {
  aspect-ratio: 1 / 1 !important;
}

.home-feed-image img,
.home-feed-image video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.home-feed-image:not(.portrait):not(.landscape):not(.square):not(.unknown) img,
.home-feed-image:not(.portrait):not(.landscape):not(.square):not(.unknown) video {
  height: auto !important;
}

.home-feed-actions {
  align-items: center !important;
  gap: 18px !important;
}

.home-feed-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #111 !important;
}

.home-feed-action svg {
  width: 17px !important;
  height: 17px !important;
}

.home-feed-action.active {
  color: #111 !important;
}

.detail-main {
  margin: 0 -16px 14px !important;
}

.detail-media-stage {
  overflow: hidden !important;
  background: #fff !important;
}

.detail-media-strip {
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}

.detail-media-strip::-webkit-scrollbar {
  display: none !important;
}

.detail-media-slide {
  flex: 0 0 100% !important;
  min-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  scroll-snap-align: start !important;
  background: #fff !important;
}

.detail-media-slide.portrait {
  aspect-ratio: 3 / 4 !important;
}

.detail-media-slide.landscape {
  aspect-ratio: 4 / 3 !important;
}

.detail-media-slide.square,
.detail-media-slide.unknown {
  aspect-ratio: 1 / 1 !important;
}

.detail-media-slide img,
.detail-media-slide video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
}

.detail-media-slide:not(.portrait):not(.landscape):not(.square):not(.unknown) img,
.detail-media-slide:not(.portrait):not(.landscape):not(.square):not(.unknown) video {
  height: auto !important;
}

.home-feed-image.video {
  position: relative !important;
  background: #111 !important;
}

.home-feed-image.video video {
  background: #111 !important;
}

.video-play-badge {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 999px !important;
  background: rgba(0, 0, 0, .42) !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18) !important;
}

.video-play-badge::before {
  content: "" !important;
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  margin-left: 2px !important;
  border-top: 7px solid transparent !important;
  border-bottom: 7px solid transparent !important;
  border-left: 10px solid #fff !important;
}

.publish-action-bar,
.detail-bottom-bar {
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  width: min(430px, 100vw) !important;
  transform: translateX(-50%) !important;
  border-radius: 20px 20px 0 0 !important;
  padding: 10px 14px calc(10px + var(--safe-bottom)) !important;
}

.location-confirm-bar {
  min-height: 58px !important;
  padding: 6px 14px calc(6px + var(--safe-bottom)) !important;
  align-items: center !important;
}

.location-confirm-bar button {
  height: 42px !important;
  min-width: 112px !important;
}

.location-search-head {
  position: sticky !important;
  top: 0 !important;
  z-index: 3 !important;
  background: #fff !important;
}

.date-sheet {
  max-height: min(430px, 72dvh) !important;
  overflow: hidden !important;
  touch-action: pan-y !important;
}

.date-picker-groups {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.date-picker-group {
  min-width: 0 !important;
}

.date-option-row {
  display: flex !important;
  max-height: 180px !important;
  overflow-y: auto !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 4px !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
}

.date-option-row button {
  min-height: 38px !important;
  border: 1px solid rgba(17, 17, 17, .12) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #111 !important;
  font-weight: 800 !important;
}

.date-option-row button.active {
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
}

/* 2026-07-21 verification receipt actions: keep date/upload buttons separated on WeChat narrow screens */
.receipt-action-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
  align-items: stretch !important;
}

.receipt-action-grid .date-field,
.receipt-action-grid .date-pick-button,
.receipt-action-grid .btn {
  min-width: 0 !important;
  width: 100% !important;
}

.receipt-action-grid .date-pick-button,
.receipt-action-grid .btn {
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 10px !important;
  border-radius: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1 !important;
  font-size: clamp(14px, 3.65vw, 16px) !important;
  font-weight: 900 !important;
}

.receipt-action-grid .date-pick-button svg,
.receipt-action-grid .btn svg {
  flex: 0 0 auto !important;
  width: 17px !important;
  height: 17px !important;
}

/* 2026-07-21 release fix: location/date/media interactions in WeChat H5 */
.location-sheet {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding-bottom: calc(66px + var(--safe-bottom)) !important;
}

.location-current,
.location-more-title {
  flex: 0 0 auto !important;
}

.location-columns,
.location-result-list {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
}

.location-columns {
  height: auto !important;
}

.location-tabs,
.location-list {
  min-height: 100% !important;
}

.location-confirm-bar {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  width: min(100vw, 430px) !important;
  min-height: 62px !important;
  transform: translateX(-50%) !important;
  grid-template-columns: minmax(0, 1fr) minmax(112px, 34%) !important;
  padding: 8px 16px calc(8px + var(--safe-bottom)) !important;
}

.location-confirm-bar span {
  font-size: 15px !important;
}

.location-confirm-bar button {
  height: 44px !important;
}

.date-sheet {
  overflow: hidden !important;
  overscroll-behavior: contain !important;
}

.date-option-row {
  overscroll-behavior: contain !important;
  scroll-padding: 72px 0 !important;
}

.content-image-item.video img,
.content-image-item.video video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* 2026-07-21 login/publish/detail stability pass */
.auth-mask {
  place-items: center !important;
  align-items: center !important;
  padding: calc(16px + var(--safe-top)) 16px calc(16px + var(--safe-bottom)) !important;
  touch-action: pan-y !important;
}

.auth-mask .auth-card {
  margin: 0 !important;
  max-height: calc(100svh - var(--safe-top) - var(--safe-bottom) - 32px) !important;
  overflow: auto !important;
  overscroll-behavior: contain !important;
}

body.input-active .bottom-nav,
body.input-active .publish-action-bar,
body.input-active .detail-bottom-bar,
body.input-active .toast {
  transition: none !important;
  animation: none !important;
}

body.input-active .modal-mask,
body.input-active .auth-mask,
body.input-active .location-sheet,
body.input-active .date-mask {
  overscroll-behavior: contain !important;
}

body.input-active .auth-mask {
  align-items: center !important;
  place-items: center !important;
}

body.input-active input,
body.input-active textarea,
body.input-active select {
  transform: translateZ(0);
}

.detail-media-slide {
  aspect-ratio: var(--media-ratio, 1 / 1) !important;
  max-height: 82svh !important;
  overflow: hidden !important;
  background: transparent !important;
}

.detail-media-slide.landscape {
  aspect-ratio: var(--media-ratio, 4 / 3) !important;
}

.detail-media-slide.portrait {
  aspect-ratio: var(--media-ratio, 3 / 4) !important;
}

.detail-media-slide.square,
.detail-media-slide.unknown {
  aspect-ratio: var(--media-ratio, 1 / 1) !important;
}

.detail-media-slide.long {
  aspect-ratio: 9 / 16 !important;
  overflow-y: auto !important;
  align-items: flex-start !important;
  -webkit-overflow-scrolling: touch !important;
}

.detail-media-slide img,
.detail-media-slide video {
  object-fit: cover !important;
  background: transparent !important;
}

.detail-media-slide.long img {
  height: auto !important;
  min-height: 100% !important;
  object-fit: contain !important;
}
