:root {
  --orange: #ff9700;
  --orange2: #ff4500;
  --green: #56c15d;
  --bg: #f5f6f8;
  --text: #222;
  --muted: #7a7a7a;
  --card-shadow: 0 2px 8px 0 rgba(15, 41, 77, 0.2);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "PingFang TC", "Microsoft JhengHei", Arial, sans-serif; background: #fff; color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.page-wrap { min-height: 100vh; background: #fff; }
.topbar {
  background: var(--orange);
  color: #fff;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 10;
  font-size: 18px;
  font-weight: 700;
}
.topbar-back {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  cursor: pointer;
}
.home-hero { background: linear-gradient(-180deg, #fff 80px, #f0f2f5 130px); padding-bottom: 20px; }
.carousel { height: 160px; overflow: hidden; position: relative; }
.carousel img { width: 100%; height: 160px; object-fit: cover; }
.carousel-dots { position: absolute; bottom: 10px; width: 100%; display: flex; justify-content: center; gap: 8px; }
.carousel-dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.7); }
.carousel-dots span.active { background: #3264ff; }
.nav-box { display: flex; justify-content: space-around; align-items: center; padding-top: 30px; }
.btn, .btn-cancel, .btn-submit-open, .btn-submit {
  text-align: center; color: #fff; border: 0; cursor: pointer;
}
.btn {
  width: 35%; height: 32px; line-height: 32px; font-size: 13px; border-radius: 3px;
  background: linear-gradient(90deg, var(--orange2), orange);
}
.btn-cancel { background: #374559; width: 47%; height: 40px; line-height: 40px; border-radius: 3px; }
.btn-submit-open {
  width: 100%; height: 52px; line-height: 52px; font-size: 14px; border-radius: 4px; background: #59bf5e;
}
.btn-submit {
  width: 100%; height: 40px; line-height: 40px; font-size: 13px; border-radius: 3px;
  background: linear-gradient(90deg, var(--orange2), orange); margin-top: 15px;
}
.title-banner-wrap { display: flex; justify-content: center; align-items: center; margin-top: 30px; }
.title-banner {
  width: 240px; height: 70px; background: url('/assets/top-nav.png') center/cover no-repeat; color: #fff; line-height: 75px;
  text-align: center; padding-top: 13px; padding-right: 20px;
}
.pro-box { padding: 12px; margin-top: 30px; display: flex; justify-content: space-between; flex-wrap: wrap; min-height: 300px; }
.pro-item {
  width: calc(50% - 6px); background: #fff; border-radius: 8px; padding: 10px; box-shadow: var(--card-shadow); margin-bottom: 20px;
}
.pro-item img { width: 100%; height: 130px; object-fit: cover; border-radius: 6px; cursor: pointer; }
.pro-title { font-weight: 600; color: #555; margin-top: 10px; text-align: center; }
.page-auth { min-height: 100vh; background: #efefef; }
.auth-content { max-width: 600px; margin: 0 auto; padding-bottom: 30px; }
.auth-logo-wrap { display: flex; justify-content: center; align-content: center; padding: 30px 0 20px; }
.auth-logo { width: 100px; height: 100px; }
.auth-title { font-weight: 600; font-size: 18px; text-align: center; }
.auth-desc { margin-top: 10px; text-align: center; padding: 0 40px; font-size: 13px; line-height: 1.7; }
.notice-strip { margin: 16px 20px 0; background: #fff7d6; border: 1px solid #f0d985; color: #6a5500; padding: 10px 12px; font-size: 12px; border-radius: 8px; line-height: 1.6; }
.auth-card { box-shadow: var(--card-shadow); margin: 30px 20px 0; padding: 15px; border-radius: 5px; background: #fff; }
.section-title { font-weight: 600; margin-top: 10px; }
.van-cell { position: relative; margin-bottom: 10px; }
.van-cell::after { position: absolute; box-sizing: border-box; content: " "; pointer-events: none; right: 0; bottom: 0; left: 10px; border-bottom: 1px solid #ebedf0; transform: scaleY(.5); }
.label { color: #646566; font-size: 13px; }
.req { color: red; }
.input-row { display: flex; justify-content: space-between; align-items: center; }
.input-style {
  height: 35px; line-height: 35px; color: #646566; font-size: 13px; padding-left: 10px; width: 100%; border: 0; outline: none; background: transparent;
}
.ph-style::placeholder { font-size: 11px; color: #d9d9d9; }
.link-btn { font-size: 11px; padding: 5px 0; border-radius: 3px; color: #ff9700; cursor: pointer; }
.send-code { font-size: 11px; background: #eee; padding: 5px 15px; border-radius: 3px; cursor: pointer; white-space: nowrap; margin-left: 8px; color: #444; }
.auth-footer-illustration { width: 100%; height: 100px; margin-top: 50px; object-fit: cover; }
.auth-help-link { padding: 15px 0; color: #ff9700; text-align: right; font-size: 13px; display: block; }
.mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; justify-content: center; align-items: center; z-index: 100;
}
.modal {
  background: #fffbf0; padding: 20px; border-radius: 8px; width: 80%; max-width: 375px; overflow: hidden;
}
.modal-title-center { text-align: center; font-weight: 600; }
.modal-body-center { text-align: center; padding: 30px 10px 20px; font-weight: 600; line-height: 1.6; }
.modal-actions { display: flex; justify-content: space-between; gap: 10px; }
.preview-image { max-height: 70vh; width: 100%; object-fit: contain; }
.tutorial-page { background: #f5f5f5; min-height: 100vh; }
.tutorial-content { max-width: 720px; margin: 0 auto; padding: 16px; }
.tutorial-step { background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--card-shadow); margin-bottom: 16px; }
.tutorial-step img { width: 100%; border-radius: 8px; }
.service-placeholder { min-height: calc(100vh - 58px); display: flex; align-items: center; justify-content: center; color: #666; background: #f5f6f8; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: rgba(0,0,0,.75); color: #fff; padding: 10px 14px; border-radius: 999px; font-size: 12px; z-index: 120;
}
@media (min-width: 768px) {
  .page-wrap, .page-auth, .tutorial-page { max-width: 600px; margin: 0 auto; box-shadow: 0 0 0 1px #ddd; }
}
