:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: #292d29;
  background: #faf8f3;
  --muted: #777b72;
  --orange: #e86933;
  --green: #4b6653;
  --line: #e9e6df;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 85% 0%, #eee9d770, transparent 50%);
  z-index: -1;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}
button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 3px solid #517059;
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
.brand {
  max-width: 1056px;
  margin: auto;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.brand > a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 750;
}
.brandmark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 12px;
  background: #e86933;
  color: white;
  font-size: 22px;
}
.brand small {
  font-size: 10px;
  letter-spacing: 2px;
  display: block;
  margin-top: 3px;
  color: #92958b;
}
.brand-note {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
}
main {
  max-width: 960px;
  margin: 25px auto 60px;
  padding: 0 28px;
}
.eyebrow {
  color: var(--green);
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(32px, 5.5vw, 48px);
  letter-spacing: -1.5px;
  line-height: 1.25;
  margin: 16px 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: start;
}
.store-card {
  margin-top: 32px;
  border: 1px solid var(--line);
  background: #fffdf9;
  border-radius: 22px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.store-card:before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -60px;
  top: -60px;
  border: 25px solid #ebeee7;
  border-radius: 50%;
  pointer-events: none;
}
.store-icon {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background: #eaf0e6;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 24px;
  margin-bottom: 18px;
}
.store-card h2 {
  font-size: 20px;
  line-height: 1.45;
  margin: 0 0 6px;
}
.branch {
  font-size: 12px;
  color: var(--muted);
}
.description {
  font-size: 13px;
  line-height: 1.9;
  color: #72766c;
  margin: 18px 0;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  border: 1px solid #e2e7dc;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 10px;
  color: var(--green);
}
.address {
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  line-height: 1.8;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 17px;
}
.section-head h2 {
  font-size: 17px;
  margin: 0;
}
.section-head span {
  font-size: 11px;
  color: var(--muted);
}
.task-list {
  display: grid;
  gap: 12px;
}
.task-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 21px 19px;
  border-radius: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
  width: 100%;
  color: inherit;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.task-card:hover {
  transform: translateY(-2px);
  border-color: #e6bda1;
}
.platform-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: #fff0e5;
  border-radius: 13px;
  color: #d9682b;
  font-size: 19px;
  font-weight: 800;
}
.platform-icon.meituan {
  background: #fff8d6;
  color: #987813;
}
.platform-icon.douyin {
  background: #eef0f1;
  color: #30373b;
}
.task-info {
  flex: 1;
}
.task-info strong {
  font-size: 14px;
  display: block;
  line-height: 1.5;
}
.task-info p {
  font-size: 11px;
  line-height: 1.7;
  margin: 5px 0 0;
  color: var(--muted);
}
.task-arrow {
  color: #a2a597;
  font-size: 22px;
}
.task-label {
  display: block;
  font-size: 10px;
  color: var(--green);
  margin-top: 10px;
}
.steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0;
  padding: 16px 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #84877b;
  font-size: 10px;
}
.steps b {
  display: inline-grid;
  place-items: center;
  background: #eeede5;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  color: #646d5e;
}
.steps i {
  font-style: normal;
  color: #bbbdb4;
}
.notice {
  font-size: 11px;
  line-height: 1.8;
  color: #818477;
}
.notice strong {
  font-weight: 500;
  color: #5d6e57;
}
.footer {
  margin-top: 35px;
  font-size: 10px;
  color: #a1a498;
  text-align: center;
  letter-spacing: 1px;
}
.test-notice {
  padding: 10px 13px;
  border: 1px dashed #d9b98b;
  border-radius: 10px;
  color: #9a6e37;
  background: #fff9ed;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.review-shell {
  max-width: 650px;
  margin: auto;
}
.back {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 10px 0;
  font-size: 12px;
  min-height: 44px;
}
.review-title {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 15px 0 22px;
}
.review-title h1 {
  font-size: 25px;
  letter-spacing: -0.6px;
  margin: 0 0 5px;
}
.review-title p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.draft-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 8px 30px #55552b04;
}
.draft-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 19px;
  font-size: 11px;
  color: var(--muted);
}
.source {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.source:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #8ca47c;
  border-radius: 50%;
}
.draft-card textarea {
  font: inherit;
  font-size: 17px;
  line-height: 2;
  color: #363b33;
  display: block;
  width: 100%;
  min-height: 230px;
  padding: 0;
  border: 0;
  background: transparent;
  resize: vertical;
}
.draft-card textarea:focus {
  outline: none;
}
.draft-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f0ea;
  padding-top: 16px;
  font-size: 10px;
  color: #9a9e93;
  margin-top: 15px;
}
.small-hint {
  font-size: 11px;
  color: var(--green);
  padding: 12px 0 0;
  line-height: 1.7;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
}
.secondary {
  border: 1px solid #d9ddcf;
  background: #f7f8f1;
  color: #4d6247;
  border-radius: 12px;
  min-height: 46px;
  padding: 10px 20px;
  font-size: 13px;
}
.quota {
  font-size: 11px;
  color: var(--muted);
}
.quota b {
  color: var(--green);
  font-size: 15px;
}
.primary {
  border: 0;
  border-radius: 13px;
  background: var(--orange);
  color: white;
  padding: 16px 20px;
  min-height: 52px;
  font-size: 14px;
  font-weight: 650;
  width: 100%;
  box-shadow: 0 5px 14px #e8693317;
}
.primary:hover {
  background: #d95c29;
}
.publish {
  border-radius: 14px;
  background: #eef1e8;
  padding: 16px;
  margin: 24px 0 18px;
  color: #526449;
  font-size: 12px;
  line-height: 1.8;
}
.publish strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}
.bottom-action {
  margin: 22px 0;
}
.bottom-action .notice {
  text-align: center;
  margin-top: 10px;
}
.error-banner {
  border-radius: 12px;
  background: #fff1e9;
  color: #9d542b;
  font-size: 12px;
  line-height: 1.8;
  padding: 14px;
  margin: 14px 0;
}
.text-button {
  border: 0;
  background: none;
  color: #8d5d37;
  text-decoration: underline;
  padding: 8px;
  font-size: 12px;
  min-height: 44px;
}
.empty {
  padding: 55px 22px;
  text-align: center;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 22px;
  margin-top: 30px;
}
.empty .symbol {
  font-size: 35px;
  display: block;
  margin-bottom: 20px;
  color: #77906b;
}
.empty h1,
.empty h2 {
  font-size: 22px;
  margin: 0 0 14px;
}
.empty p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 24px;
}
.empty .primary {
  max-width: 260px;
}
.skeleton {
  animation: pulse 1.4s ease-in-out infinite;
}
.skeleton div {
  height: 13px;
  background: #eeeee8;
  border-radius: 8px;
  margin: 18px 0;
}
.skeleton div:nth-child(2) {
  width: 85%;
}
.skeleton div:nth-child(3) {
  width: 95%;
}
.skeleton div:nth-child(4) {
  width: 62%;
}
.loading-draft {
  min-height: 230px;
  padding-top: 10px;
}
.loading-label {
  font-size: 12px;
  color: var(--green);
  text-align: center;
  margin: 30px 0 8px;
}
.loading-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #c1cfb9;
  border-top-color: #527348;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: -2px;
  margin-right: 7px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 110px;
  transform: translateX(-50%);
  max-width: calc(100vw - 40px);
  background: #354132;
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 12px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  white-space: normal;
}
#toast.visible {
  opacity: 1;
}
.overlay {
  position: fixed;
  inset: 0;
  background: #23301b66;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(3px);
}
.modal {
  max-width: 480px;
  width: 100%;
  max-height: 90dvh;
  overflow: auto;
  background: #fffdf9;
  padding: 28px;
  border-radius: 24px;
  box-shadow: 0 20px 60px #0002;
}
.modal h2 {
  font-size: 22px;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}
.modal p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.modal textarea {
  width: 100%;
  min-height: 190px;
  max-height: 40vh;
  font: inherit;
  line-height: 1.8;
  padding: 15px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  resize: vertical;
  margin: 5px 0 12px;
}
.modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.modal .store-search {
  padding: 16px;
  background: #eff1e9;
  border-radius: 12px;
  color: #465e3f;
  font-size: 13px;
  line-height: 1.8;
}
.modal .store-search strong {
  display: block;
}
.storage-warning {
  font-size: 11px;
  color: #927542;
  padding: 10px 0;
  line-height: 1.7;
}
@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 720px) {
  .brand {
    height: 80px;
    padding: 0 24px;
  }
  .brand-note {
    font-size: 10px;
    letter-spacing: 1px;
  }
  main {
    margin: 17px auto 35px;
    padding: 0 24px;
    max-width: 520px;
  }
  .home-grid {
    display: block;
  }
  .hero h1 {
    font-size: 37px;
    margin: 15px 0;
  }
  .store-card {
    margin: 26px 0;
    padding: 20px;
  }
  .store-icon {
    float: left;
    width: 40px;
    height: 40px;
    margin: 2px 13px 0 0;
  }
  .store-card h2 {
    font-size: 18px;
  }
  .description {
    clear: both;
    margin-top: 18px;
  }
  .address {
    margin-top: 15px;
    padding-top: 12px;
  }
  .section-head {
    margin-top: 30px;
  }
  .task-card {
    padding: 18px 16px;
  }
  .review-shell {
    padding-bottom: 125px;
  }
  .review-title h1 {
    font-size: 23px;
  }
  .draft-card {
    padding: 21px;
  }
  .draft-card textarea {
    font-size: 16px;
    min-height: 250px;
  }
  .bottom-action {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 24px calc(12px + env(safe-area-inset-bottom));
    background: #faf8f3f5;
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    margin: 0;
    z-index: 10;
  }
  .bottom-action > div {
    max-width: 472px;
    margin: auto;
  }
  .bottom-action .notice {
    font-size: 10px;
    margin-top: 8px;
  }
  .overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal {
    max-width: 600px;
    border-radius: 26px 26px 0 0;
    padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
  }
  .footer {
    margin-top: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
