/* 衣回收 m 站 - 移动端样式（原生 PHP 渲染） */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #eef5fc; color: #2b3a4a; font-size: 15px; line-height: 1.5;
  max-width: 480px; margin: 0 auto; min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
input, textarea, button, select { font-family: inherit; font-size: 15px; outline: none; }

/* 顶部导航 */
.yh-nav {
  position: sticky; top: 0; z-index: 20;
  height: 48px; background: #4a9bdd; color: #fff;
  display: flex; align-items: center; padding: 0 12px;
}
.yh-nav-back { width: 32px; font-size: 22px; }
.yh-nav-back a { color: #fff; }
.yh-nav-title { flex: 1; text-align: center; font-size: 17px; font-weight: 600; }
.yh-nav-right { width: 56px; text-align: right; font-size: 14px; }
.yh-nav-right a { color: #fff; }

/* 内容 */
.yh-page { padding: 16px 14px 80px; }
.yh-card {
  background: #fff; border-radius: 12px; padding: 16px;
  margin-bottom: 14px; box-shadow: 0 2px 10px rgba(74,155,221,.06);
}
.yh-title { font-size: 18px; font-weight: 700; color: #1f6fb2; margin: 4px 0 12px; }
.yh-sub { color: #6b7c8d; font-size: 13px; margin-bottom: 10px; }

/* 表单 */
.yh-field { margin-bottom: 14px; }
.yh-field label { display: block; font-size: 14px; color: #445; margin-bottom: 6px; }
.yh-input, .yh-textarea {
  width: 100%; border: 1px solid #d9e6f2; border-radius: 10px;
  padding: 12px; background: #f8fbff; color: #2b3a4a;
}
.yh-input:focus, .yh-textarea:focus { border-color: #4a9bdd; background: #fff; }
.yh-textarea { min-height: 80px; resize: none; }

/* 品类选择 */
.yh-cats { display: flex; gap: 10px; }
.yh-cat {
  flex: 1; text-align: center; padding: 14px 0; border-radius: 10px;
  border: 1px solid #d9e6f2; background: #f8fbff; color: #6b7c8d; cursor: pointer;
}
.yh-cat.on { border-color: #4a9bdd; background: #e7f2fc; color: #1f6fb2; font-weight: 600; }
.yh-cat input { display: none; }

/* 按钮 */
.yh-btn {
  display: block; width: 100%; border: none; border-radius: 24px;
  background: linear-gradient(135deg, #4a9bdd, #2f7fc0); color: #fff;
  padding: 13px; font-size: 16px; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 14px rgba(74,155,221,.3);
}
.yh-btn:active { opacity: .9; }
.yh-btn-ghost { background: #fff; color: #4a9bdd; border: 1px solid #4a9bdd; box-shadow: none; }
.yh-btn-sm { display: inline-block; width: auto; padding: 8px 18px; font-size: 14px; border-radius: 20px; }

/* 协议勾选 */
.yh-agree { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6b7c8d; margin: 12px 0; }
.yh-agree input { width: 16px; height: 16px; }
.yh-agree a { color: #1f6fb2; }
.yh-link { color: #1f6fb2; }

/* Banner */
.yh-banner {
  background: linear-gradient(135deg, #4a9bdd, #2f7fc0); color: #fff;
  border-radius: 14px; padding: 22px 18px; margin-bottom: 16px;
}
.yh-banner h1 { margin: 0 0 6px; font-size: 22px; }
.yh-banner p { margin: 0; opacity: .92; font-size: 14px; }

/* TabBar */
.yh-tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: 56px; background: #fff;
  border-top: 1px solid #e3ebf3; display: flex; z-index: 30;
}
.yh-tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #9aabc0; }
.yh-tab.on { color: #4a9bdd; }
.yh-tab-icon { font-size: 20px; line-height: 1; }
.yh-tab-text { font-size: 11px; margin-top: 3px; }

/* 订单列表 */
.yh-item { background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(74,155,221,.06); display: block; }
.yh-item-row { display: flex; justify-content: space-between; align-items: center; }
.yh-item-cat { font-weight: 600; font-size: 16px; color: #2b3a4a; }
.yh-item-status { font-size: 12px; padding: 3px 10px; border-radius: 12px; }
.yh-item-meta { color: #6b7c8d; font-size: 13px; margin-top: 6px; }
.yh-item-price { color: #f0883a; font-weight: 600; }

.st-0 { background: #fff3e0; color: #ef8a17; }
.st-1 { background: #e3f0ff; color: #2f7fc0; }
.st-2 { background: #e6f7ee; color: #2baf66; }
.st-3 { background: #f0f0f0; color: #888; }
.st-4 { background: #fff0e6; color: #e8702a; }
.st-5 { background: #e6f7ee; color: #2baf66; }
.st-6 { background: #fbe9e9; color: #d6453c; }

/* 空状态 */
.yh-empty { text-align: center; color: #9aabc0; padding: 50px 0; }
.yh-empty .yh-empty-icon { font-size: 46px; }

/* FAQ */
.yh-faq-item { background: #fff; border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.yh-faq-q { padding: 14px 16px; font-weight: 600; display: flex; justify-content: space-between; cursor: pointer; }
.yh-faq-a { padding: 0 16px 14px; color: #6b7c8d; font-size: 14px; white-space: pre-wrap; display: none; }
.yh-faq-item.open .yh-faq-a { display: block; }

/* Toast */
.yh-toast {
  position: fixed; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.9);
  background: rgba(0,0,0,.82); color: #fff; padding: 12px 20px; border-radius: 10px;
  font-size: 14px; z-index: 999; opacity: 0; transition: all .25s; max-width: 80%; text-align: center;
}
.yh-toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
