:root {
  --blue: #1f57f2;
  --light-blue: #d8ecff;
  --text: #101010;
  --muted: #7a7a7a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #d8ebff;
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  padding: 0;
  background: transparent;
}

.wechat-frame {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #eef5ff;
}

.view {
  display: none;
  min-height: 100vh;
}

.view.is-active {
  display: block;
}

.login-view {
  min-height: 100vh;
  padding: 0 0 calc(34px + env(safe-area-inset-bottom));
  background: #d8ebff;
  position: relative;
}

.login-spacer {
  height: clamp(230px, 48vh, 460px);
}

.wechat-login-btn {
  width: min(69%, 340px);
  height: 50px;
  margin: 0 auto;
  border-radius: 999px;
  display: block;
  color: #fff;
  background: #3476e6;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .5px;
  box-shadow: 0 8px 18px rgba(35, 103, 220, .16);
}

.wechat-login-btn:disabled {
  background: #9bbdf4;
  box-shadow: none;
}

.login-illustration {
  width: min(72%, 360px);
  display: block;
  margin: 26px auto 0;
  opacity: .82;
  pointer-events: none;
}

.login-feedback {
  width: min(82%, 380px);
  margin: 18px auto 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  color: #d93025;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.privacy-check {
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 22px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 1.25;
  cursor: pointer;
  user-select: none;
}

.privacy-check input {
  appearance: none;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 2px solid #8fb3d7;
  background: rgba(255, 255, 255, .68);
  box-shadow: none;
  position: relative;
  flex: none;
}

.privacy-check input:checked {
  border-color: #0c89e8;
  background: #0c89e8;
  box-shadow: 0 2px 6px rgba(0, 89, 200, .28);
}

.privacy-check input:checked::after {
  content: "";
  width: 13px;
  height: 7px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  position: absolute;
  left: 7px;
  top: 8px;
  transform: rotate(-45deg);
}

.privacy-check a {
  color: #0e8ac8;
  text-decoration: none;
}

.home-view,
.result-view,
.detail-view,
.profile-view {
  min-height: 100vh;
  position: relative;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

.home-view {
  background: #6dabdc;
}

.home-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(75, 151, 211, .9) 0%, rgba(96, 168, 221, .88) 36%, rgba(42, 126, 188, .88) 100%),
    url("./assets/building-hero.png") center bottom / cover no-repeat;
  z-index: 0;
}

.home-content,
.result-list,
.detail-card,
.detail-submit,
.inner-title {
  position: relative;
  z-index: 1;
}

.home-content {
  padding: 0 0 calc(66px + env(safe-area-inset-bottom));
  position: relative;
}

.home-service-strip {
  position: absolute;
  left: 0;
  right: 0;
  top: 59.2%;
  padding: 0 4.3% 18px;
  z-index: 3;
  background: transparent;
}

.home-snapshot {
  display: block;
  width: 100%;
}

.home-hotspot {
  position: absolute;
  z-index: 3;
  display: block;
  background: rgba(255, 255, 255, 0);
}

.verify-hotspot {
  left: 4.3%;
  top: 35.6%;
  width: 91.4%;
  height: 18.9%;
  border-radius: 10px;
  background: #fff;
  padding: 4.4% 4.2% 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
}

.support-card,
.phone-card {
  border: 0;
  text-align: left;
  padding: 0;
  overflow: hidden;
}

.support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff url("./assets/home-support.png") center center / 100% 100% no-repeat;
}

.support-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  padding-left: 5.8%;
  width: 58%;
  min-width: 0;
}

.support-copy strong {
  color: #2c7eea;
  font-size: clamp(15px, 4.5vw, 22px);
  line-height: 1.05;
  white-space: nowrap;
}

.support-copy em {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #16c0b6;
  color: #fff;
  font-style: normal;
  font-size: clamp(12px, 3.4vw, 17px);
  line-height: 1;
}

.support-illustration {
  width: 34%;
  height: 100%;
  flex: none;
}

.phone-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  min-height: 106px;
  padding: 0 5.8%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 18px rgba(36, 79, 146, .14);
}

.phone-icon {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 48%, rgba(255, 255, 255, .18) 0 18px, transparent 19px),
    linear-gradient(135deg, #56a9ff 0%, #2f79f6 55%, #2555db 100%);
  position: relative;
}

.phone-icon::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 7px solid #ff7a3d;
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(35deg);
  position: absolute;
  left: 20px;
  top: 21px;
}

.phone-text {
  min-width: 0;
  color: #2c7eea;
  font-size: clamp(15px, 4.6vw, 22px);
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-text strong {
  font-weight: 700;
}

.search-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 3.8%;
  position: relative;
  z-index: 2;
}

.search-title strong {
  font-size: clamp(16px, 4.8vw, 22px);
  line-height: 1;
}

.search-title-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2455ff 0%, #1d46d8 100%);
  position: relative;
  flex: none;
}

.search-title-icon::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-top: 0;
  border-right: 0;
  position: absolute;
  left: 7px;
  top: 5px;
  transform: rotate(-45deg);
}

.support-hotspot {
  left: 4.3%;
  top: 56.4%;
  width: 91.4%;
  height: 13.1%;
}

.phone-hotspot {
  display: none;
}

.search-ui {
  width: 100%;
  height: 26%;
  display: flex;
  align-items: center;
  gap: 2.4%;
  position: relative;
  z-index: 2;
}

.search-overlay {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 10px 0 12px;
  border-radius: 999px;
  background: #f3f3f3;
}

.search-overlay input,
.result-search-bar input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #5d5d5d;
  font-size: clamp(14px, 3.8vw, 18px);
  line-height: 1;
  min-width: 0;
  white-space: nowrap;
  text-overflow: clip;
}

.search-overlay input::placeholder,
.result-search-bar input::placeholder {
  color: #8e8e8e;
}

.search-icon {
  width: 19px;
  height: 19px;
  margin-right: 7px;
  position: relative;
  flex: none;
}

.search-icon::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid #919191;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
}

.search-icon::after {
  content: "";
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: #919191;
  position: absolute;
  right: 1px;
  bottom: 2px;
  transform: rotate(45deg);
  transform-origin: center;
}

.search-clear {
  width: 34px;
  height: 100%;
  flex: none;
  position: relative;
}

.search-clear::before,
.search-clear::after {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: #335290;
  position: absolute;
  left: 8px;
  top: calc(50% - 1.5px);
}

.search-clear::before {
  transform: rotate(45deg);
}

.search-clear::after {
  transform: rotate(-45deg);
}

.search-clear.is-hidden {
  display: none;
}

.search-submit {
  width: 28%;
  height: 100%;
  flex: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #1f58ff 0%, #1c45e9 100%);
  color: #fff;
  font-size: clamp(15px, 4vw, 18px);
  font-weight: 500;
  box-shadow: 0 6px 14px rgba(27, 75, 235, .18);
}

.search-count {
  min-width: 210px;
  height: 30px;
  margin: 0;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  z-index: 2;
  color: #757575;
  text-align: center;
  font-size: clamp(15px, 3.6vw, 18px);
  line-height: 1;
}

.search-count span {
  margin: 0 1px;
  color: #2c55ff;
  font-weight: 600;
}

.search-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tabbar {
  height: 66px;
  width: 100%;
  position: fixed;
  left: 50%;
  bottom: env(safe-area-inset-bottom);
  z-index: 10;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}

.tabbar button {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  color: #999;
}

.tabbar button.active {
  color: #174af2;
}

.tabbar em {
  font-style: normal;
  font-size: 13px;
}

.tab-home,
.tab-user {
  width: 25px;
  height: 25px;
  display: inline-block;
  position: relative;
}

.tab-home::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 38%, 88% 38%, 88% 100%, 12% 100%, 12% 38%, 0 38%);
  position: absolute;
  left: 1px;
  top: 2px;
}

.tab-user::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: absolute;
  left: 6px;
  top: 1px;
}

.tab-user::after {
  content: "";
  width: 20px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 12px 12px 0 0;
  border-bottom: 0;
  position: absolute;
  left: 2px;
  bottom: 1px;
}

.inner-title {
  height: 48px;
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  color: #fff;
}

.inner-title strong {
  grid-column: 2;
  text-align: center;
  font-size: 18px;
}

.inner-back {
  width: 30px;
  height: 30px;
  margin-left: 13px;
  position: relative;
}

.inner-back::before {
  content: "";
  width: 13px;
  height: 13px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  position: absolute;
  left: 10px;
  top: 8px;
  transform: rotate(45deg);
}

.result-list {
  padding: 18px;
}

.result-search {
  padding: 10px 18px 0;
}

.result-search-bar {
  min-height: 48px;
  padding: 6px 6px 6px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
}

.result-search-bar button {
  flex: none;
  min-width: 82px;
  height: 36px;
  border-radius: 999px;
  background: #1b66ff;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.search-feedback {
  min-height: 22px;
  margin: 10px 4px 0;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
}

.result-card,
.detail-card {
  margin-bottom: 18px;
  padding: 22px 18px;
  border-radius: 8px;
  background: #fff;
}

.result-card h2,
.detail-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

.result-card p,
.detail-card p {
  margin: 14px 0;
  font-size: 18px;
  font-weight: 600;
}

.result-card button,
.detail-submit {
  height: 50px;
  border-radius: 6px;
  color: #fff;
  background: #174af2;
  font-size: 20px;
}

.result-card button {
  width: 140px;
  margin-top: 6px;
}

.result-empty {
  padding: 42px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: #5d7592;
  text-align: center;
  font-size: 16px;
}

.risk-card h3 {
  margin: 0 0 18px;
  color: #008ea4;
  text-align: center;
  font-size: 20px;
}

.risk-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #eaf4ff;
  border-radius: 6px;
  overflow: hidden;
}

.risk-cols div {
  padding: 12px 8px;
  border-right: 1px solid #d4e8fb;
}

.risk-cols div:last-child {
  border-right: 0;
}

.risk-cols strong,
.risk-cols span {
  display: block;
  font-size: 13px;
  line-height: 1.55;
}

.detail-submit {
  width: calc(100% - 36px);
  margin: 0 18px 92px;
}

.detail-page {
  position: relative;
  z-index: 1;
  padding: 14px 16px 102px;
}

.detail-contact-card,
.detail-company-card,
.detail-section-card,
.detail-services-card {
  margin-bottom: 16px;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(20, 69, 145, .08);
}

.detail-contact-card {
  min-height: 0;
  aspect-ratio: 1132 / 271;
  padding: 0;
  display: block;
  position: relative;
  background: #fff url("./assets/support-banner-complete.png") center center / 100% 100% no-repeat;
}

.detail-contact-copy {
  height: 100%;
  position: relative;
}

.detail-contact-copy strong {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.detail-contact-copy button {
  width: 118px;
  height: 40px;
  border-radius: 999px;
  background: rgba(22, 192, 182, .02);
  color: transparent;
  font-size: 0;
  position: absolute;
  left: 18px;
  bottom: 16px;
}

.detail-contact-illustration {
  display: none;
}

.detail-company-card {
  padding: 22px 28px 18px;
}

.detail-company-card h2 {
  margin: 0 0 24px;
  font-size: 26px;
  line-height: 1.45;
  font-weight: 700;
}

.detail-company-card p {
  margin: 0 0 22px;
  font-size: 22px;
  line-height: 1.55;
  color: #111;
}

.detail-company-card p:last-child {
  margin-bottom: 0;
}

.detail-banner {
  margin: 18px 26px 16px;
  padding: 20px 18px 22px;
  border-radius: 3px;
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
  position: relative;
  letter-spacing: .5px;
  box-shadow: inset 0 0 0 2px rgba(188, 146, 66, .52), inset 0 0 22px rgba(255, 255, 255, .34);
}

.detail-banner::before,
.detail-banner::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 12px;
  border-top: 2px solid #c4a15a;
  border-bottom: 2px solid #c4a15a;
}

.detail-banner::before {
  left: 8px;
  border-left: 2px solid #c4a15a;
}

.detail-banner::after {
  right: 8px;
  border-right: 2px solid #c4a15a;
}

.detail-banner-green {
  color: #26a9ae;
  background: linear-gradient(180deg, #e7f8c5 0%, #dff2bc 48%, #e8f7ca 100%);
  border: 1px solid #d4bb79;
}

.detail-banner-blue {
  color: #f5ffe2;
  background: linear-gradient(180deg, #0f9ca5 0%, #067f91 100%);
  border: 1px solid #c4a15a;
}

.detail-risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 26px 22px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d0dded;
}

.detail-risk-grid article {
  background: #e6f1ff;
  border-right: 1px solid #d0dded;
}

.detail-risk-grid article:last-child {
  border-right: 0;
}

.detail-risk-grid h3 {
  min-height: 74px;
  margin: 0;
  padding: 14px 10px 12px;
  background: #c9ddf8;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}

.detail-risk-grid p {
  min-height: 190px;
  margin: 0;
  padding: 16px 12px 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #222;
}

.detail-risk-grid-compact p {
  color: #d73333;
  min-height: 122px;
  line-height: 1.5;
}

.detail-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 26px 20px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d0dded;
}

.detail-compare-col {
  padding: 26px 18px 12px;
}

.detail-compare-good {
  background: #dbeafb;
}

.detail-compare-bad {
  background: #edf4fb;
}

.detail-compare-col h3 {
  margin: 0 0 22px;
  text-align: center;
  font-size: 20px;
}

.detail-compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-compare-col li {
  min-height: 76px;
  margin-bottom: 10px;
  padding-top: 42px;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  position: relative;
}

.detail-compare-good li::before,
.detail-compare-bad li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  border-radius: 50%;
}

.detail-compare-good li::before {
  background: linear-gradient(180deg, #2f89ff 0%, #235cf6 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}

.detail-compare-good li::after {
  content: "✓";
  position: absolute;
  left: 50%;
  top: 5px;
  margin-left: -8px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.detail-compare-bad li::before {
  background: #ced4de;
}

.detail-compare-bad li::after {
  content: "☹";
  position: absolute;
  left: 50%;
  top: 4px;
  margin-left: -9px;
  color: #fff;
  font-size: 18px;
}

.detail-process-card {
  padding: 18px 26px 22px;
}

.detail-process-card h2,
.detail-services-card h2 {
  margin: 0 0 20px;
  text-align: center;
  font-size: 22px;
}

.detail-process {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  position: relative;
  padding-top: 18px;
}

.detail-process::before {
  content: "";
  position: absolute;
  left: 44px;
  right: 44px;
  top: 35px;
  height: 2px;
  background: #d7dde7;
}

.detail-process div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.detail-process b {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #255cff 0%, #1d49e5 100%);
  color: #fff;
  font-size: 18px;
}

.detail-process span {
  font-size: 16px;
}

.detail-services-card {
  padding: 18px 0 20px;
}

.detail-service-group {
  margin: 0 18px;
  padding: 0 0 10px;
  border-bottom: 1px solid #e7e7e7;
}

.detail-service-group:last-child {
  border-bottom: 0;
}

.detail-service-group h3 {
  margin: 0;
  padding: 18px 0 10px;
  font-size: 18px;
  line-height: 1.3;
}

.detail-service-item {
  min-height: 50px;
  display: grid;
  grid-template-columns: 1fr 36px;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.detail-service-copy {
  display: block;
  min-width: 0;
}

.detail-service-copy strong {
  display: block;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  word-break: break-all;
}

.detail-service-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.detail-service-radio {
  width: 28px;
  height: 28px;
  border: 2px solid #d3d3d3;
  border-radius: 50%;
  position: relative;
  justify-self: end;
}

.detail-service-item input:checked + .detail-service-radio {
  border-color: #2551ff;
}

.detail-service-item input:checked + .detail-service-radio::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2551ff;
  position: absolute;
  left: 5px;
  top: 5px;
}

.detail-service-note,
.detail-service-empty,
.detail-service-loading {
  margin: 18px 18px 0;
  color: #9f9f9f;
  font-size: 13px;
}

.detail-service-selected {
  margin: 20px 18px 0;
  color: #111;
  font-size: 16px;
  font-weight: 600;
}

.detail-agreement {
  margin: 0 0 18px;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(20, 69, 145, .08);
}

.detail-agreement input {
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #c8d4ff;
  background: #fff;
  position: relative;
  flex: none;
  box-shadow: 0 3px 8px rgba(43, 74, 161, .1);
}

.detail-agreement input:checked {
  background: linear-gradient(180deg, #255cff 0%, #1d49e5 100%);
  border-color: #2551ff;
}

.detail-agreement input:checked::after {
  content: "";
  width: 13px;
  height: 7px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  position: absolute;
  left: 7px;
  top: 8px;
  transform: rotate(-45deg);
}

.detail-agreement span,
.detail-agreement a {
  font-size: 16px;
  line-height: 1.45;
}

.detail-agreement a {
  color: #3558f6;
  text-decoration: none;
}

.profile-view {
  background: #f3f3f3;
}

.profile-hero {
  position: relative;
  min-height: 248px;
  overflow: hidden;
}

.profile-hero-bg,
.profile-hero-overlay {
  position: absolute;
  inset: 0;
}

.profile-hero-bg {
  background:
    linear-gradient(180deg, rgba(8, 42, 82, .2) 0%, rgba(8, 42, 82, .38) 100%),
    url("./assets/building-hero.png") center top / cover no-repeat;
  transform: scale(1.06);
}

.profile-hero-overlay {
  background:
    radial-gradient(circle at 22% 58%, rgba(255, 99, 71, .42) 0, rgba(255, 99, 71, 0) 28%),
    linear-gradient(180deg, rgba(10, 49, 91, .08) 0%, rgba(10, 49, 91, .22) 100%);
}

.profile-hero-content {
  position: relative;
  z-index: 1;
  padding: 20px 18px 30px;
  color: #fff;
}

.profile-title {
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
}

.profile-user {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.profile-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  flex: none;
  border: 3px solid rgba(255, 255, 255, .75);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .28) 0, rgba(255, 255, 255, 0) 28%),
    linear-gradient(135deg, #4da5ff 0%, #255cff 58%, #1537b6 100%);
  box-shadow: 0 10px 18px rgba(0, 0, 0, .14);
  position: relative;
}

.profile-avatar::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  position: absolute;
  left: 28px;
  top: 18px;
}

.profile-avatar::after {
  content: "";
  width: 48px;
  height: 28px;
  border-radius: 28px 28px 16px 16px;
  background: rgba(255, 255, 255, .96);
  position: absolute;
  left: 19px;
  bottom: 18px;
}

.profile-user-copy h1,
.profile-user-copy p {
  margin: 0;
}

.profile-user-copy h1 {
  font-size: 34px;
  line-height: 1.12;
  font-weight: 700;
}

.profile-user-copy p {
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.2;
}

.profile-page {
  padding: 28px 14px 102px;
  background: #f3f3f3;
}

.profile-manage-card,
.profile-order-card {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(20, 69, 145, .08);
}

.profile-manage-card {
  width: 100%;
  min-height: 126px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 92px 1fr auto 20px;
  align-items: center;
  gap: 18px;
  text-align: left;
}

.profile-manage-icon {
  width: 84px;
  height: 84px;
  border-radius: 28px;
  background: linear-gradient(135deg, #1ac9ff 0%, #6d41ee 52%, #15d3bd 100%);
  position: relative;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, .12);
}

.profile-manage-icon::before {
  content: "";
  width: 14px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  position: absolute;
  left: 35px;
  top: 18px;
}

.profile-manage-icon::after {
  content: "";
  width: 34px;
  height: 18px;
  border-radius: 6px;
  border: 6px solid #fff;
  border-top: 0;
  position: absolute;
  left: 19px;
  bottom: 18px;
}

.profile-manage-card strong {
  font-size: 20px;
  color: #111;
}

.profile-manage-card em {
  font-style: normal;
  font-size: 18px;
  color: #ff3131;
}

.profile-arrow {
  width: 16px;
  height: 16px;
  border-top: 2px solid #7f8797;
  border-right: 2px solid #7f8797;
  transform: rotate(45deg);
}

.profile-orders {
  margin-top: 0;
}

.profile-orders h2 {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  line-height: 1.2;
}

.profile-orders-icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid #263966;
  position: relative;
  flex: none;
}

.profile-orders-icon::before,
.profile-orders-icon::after {
  content: "";
  position: absolute;
}

.profile-orders-icon::before {
  width: 10px;
  height: 2px;
  left: 5px;
  top: 5px;
  background: #2756ff;
  box-shadow: 0 5px 0 #2756ff, 0 10px 0 #2756ff;
}

.profile-orders-icon::after {
  width: 6px;
  height: 6px;
  right: -3px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid #263966;
  background: #fff;
}

.profile-order-card {
  padding: 0 22px;
  margin-bottom: 14px;
}

.profile-order-card-empty {
  padding: 24px 22px;
  color: #7d8798;
  text-align: center;
  font-size: 15px;
}

.profile-order-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #ececec;
}

.profile-order-row:last-child {
  border-bottom: 0;
}

.profile-order-row span,
.profile-order-row strong,
.profile-order-row a,
.profile-order-row em {
  font-size: 17px;
  line-height: 1.45;
}

.profile-order-row span {
  color: #111;
  flex: none;
}

.profile-order-row strong,
.profile-order-row a,
.profile-order-row em {
  font-style: normal;
  text-align: right;
  word-break: break-all;
}

.profile-order-row strong {
  color: #1d1d1d;
  font-weight: 500;
}

.profile-order-row a {
  color: #2350ff;
  text-decoration: none;
}

.profile-complaint-trigger {
  min-width: 92px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #eef3ff;
  color: #2350ff;
  font-size: 16px;
}

.profile-order-row em {
  color: #ff2c2c;
}

.profile-order-edit-row {
  cursor: text;
}

.profile-order-input {
  width: min(64%, 280px);
  height: 42px;
  padding: 0 12px;
  border: 1px solid #dce4f0;
  border-radius: 6px;
  outline: none;
  background: #f8fbff;
  color: #1d1d1d;
  text-align: right;
  font-size: 16px;
}

.profile-order-input:focus {
  border-color: #4d79ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(77, 121, 255, .08);
}

.complaint-modal[hidden] {
  display: none;
}

.complaint-modal,
.complaint-modal-mask {
  position: fixed;
  inset: 0;
}

.complaint-modal {
  z-index: 30;
}

.complaint-modal {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.complaint-modal-mask {
  z-index: 0;
  background: rgba(18, 31, 59, .48);
}

.complaint-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(88vh, 720px);
  overflow-y: auto;
  padding: 24px 22px calc(24px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: #fff;
  box-shadow: 0 -10px 30px rgba(24, 53, 104, .18);
}

.complaint-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f4f8;
}

.complaint-close::before,
.complaint-close::after {
  position: absolute;
  top: 16px;
  left: 9px;
  width: 16px;
  height: 2px;
  background: #65738a;
  content: "";
  transform: rotate(45deg);
}

.complaint-close::after { transform: rotate(-45deg); }

.complaint-heading { padding-right: 48px; }
.complaint-step-label { color: #3568ef; font-size: 14px; }
.complaint-heading h2 { margin: 6px 0 4px; color: #17213a; font-size: 24px; }
.complaint-heading p { margin: 0 0 20px; color: #8a95a6; font-size: 13px; }
.complaint-tip { margin: 0 0 12px; color: #313c52; font-size: 16px; }

.complaint-reasons { display: grid; gap: 10px; }
.complaint-reasons label {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #e4eaf3;
  border-radius: 8px;
  color: #26334d;
  font-size: 16px;
}
.complaint-reasons input { width: 20px; height: 20px; margin: 0 12px 0 0; accent-color: #3568ef; }
.complaint-field { display: block; margin-bottom: 16px; color: #26334d; font-size: 16px; }
.complaint-field span { display: block; margin-bottom: 8px; }
.complaint-field textarea,
.complaint-field input {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #dfe6f0;
  border-radius: 8px;
  outline: 0;
  background: #f8faff;
  color: #17213a;
  font: inherit;
}
.complaint-field textarea { min-height: 112px; padding: 12px; resize: vertical; }
.complaint-field input { height: 48px; padding: 0 12px; }
.complaint-field textarea:focus,
.complaint-field input:focus { border-color: #3568ef; background: #fff; }
.complaint-upload { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #26334d; font-size: 16px; }
.complaint-upload-button { display: inline-flex; align-items: center; justify-content: center; min-width: 92px; height: 38px; border-radius: 6px; background: #eef3ff; color: #3568ef; }
.complaint-upload-button input { display: none; }
.complaint-previews { display: flex; gap: 8px; min-height: 74px; margin: 12px 0 4px; }
.complaint-previews img { width: 72px; height: 72px; border-radius: 6px; object-fit: cover; }
.complaint-primary,
.complaint-secondary { height: 50px; border-radius: 8px; font-size: 17px; }
.complaint-primary { width: 100%; margin-top: 20px; border: 0; background: #3568ef; color: #fff; }
.complaint-secondary { flex: 0 0 110px; border: 1px solid #dfe6f0; background: #fff; color: #526078; }
.complaint-actions { display: flex; align-items: center; gap: 12px; }
.complaint-actions .complaint-primary { margin-top: 0; }
.complaint-primary:disabled { opacity: .65; }

.profile-order-actions {
  padding: 14px 0 18px;
}

.profile-order-save {
  width: 100%;
  height: 44px;
  border-radius: 6px;
  background: linear-gradient(180deg, #255cff 0%, #1d49e5 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(37, 81, 255, .16);
}

.profile-order-save:disabled {
  opacity: .65;
  box-shadow: none;
}

.profile-pay-trigger {
  color: #ff2c2c;
  font-size: 17px;
  line-height: 1.45;
}

.profile-orders-empty {
  margin: 14px 0 0;
  color: #7d8798;
  text-align: center;
  font-size: 15px;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
}

.payment-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}

.payment-modal-panel {
  width: min(92vw, 420px);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}

.payment-modal-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.payment-modal-close {
  width: 34px;
  height: 34px;
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .2);
}

.payment-modal-close::before,
.payment-modal-close::after {
  content: "";
  width: 16px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 9px;
  top: 16px;
}

.payment-modal-close::before {
  transform: rotate(45deg);
}

.payment-modal-close::after {
  transform: rotate(-45deg);
}

.detail-form-card {
  margin: 0 0 18px;
  padding: 10px 18px 6px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(20, 69, 145, .08);
}

.detail-field {
  display: block;
  padding: 12px 0 14px;
  border-bottom: 1px solid #eceff5;
}

.detail-field:last-child {
  border-bottom: 0;
}

.detail-field span {
  display: block;
  margin-bottom: 10px;
  color: #111;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.detail-field input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #dfe6f1;
  border-radius: 6px;
  background: #f8fbff;
  color: #111;
  font-size: 16px;
  outline: none;
}

.detail-field input::placeholder {
  color: #a9b3c3;
}

.detail-field input:focus {
  border-color: #4d79ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(77, 121, 255, .08);
}

.detail-payment-card {
  margin: 0 0 18px;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(20, 69, 145, .08);
}

  .detail-payment-card img {
    display: block;
    width: 100%;
    height: auto;
  }

  .profile-hero {
    min-height: 214px;
  }

  .profile-hero-content {
    padding: 18px 14px 26px;
  }

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

  .profile-user {
    margin-top: 18px;
    gap: 14px;
  }

  .profile-avatar {
    width: 78px;
    height: 78px;
  }

  .profile-avatar::before {
    width: 24px;
    height: 24px;
    left: 24px;
    top: 15px;
  }

  .profile-avatar::after {
    width: 40px;
    height: 24px;
    left: 16px;
    bottom: 15px;
  }

  .profile-user-copy h1 {
    font-size: 28px;
  }

  .profile-user-copy p {
    margin-top: 4px;
    font-size: 18px;
  }

  .profile-page {
    padding: 24px 14px 96px;
  }

  .profile-manage-card {
    min-height: 108px;
    padding: 18px 18px;
    grid-template-columns: 74px 1fr auto 14px;
    gap: 14px;
  }

  .profile-manage-icon {
    width: 64px;
    height: 64px;
    border-radius: 22px;
  }

  .profile-manage-icon::before {
    width: 12px;
    height: 25px;
    left: 26px;
    top: 14px;
  }

  .profile-manage-icon::after {
    width: 26px;
    height: 14px;
    left: 14px;
    bottom: 14px;
    border-width: 5px;
  }

  .profile-manage-card strong {
    font-size: 16px;
  }

  .profile-manage-card em {
    font-size: 14px;
  }

  .profile-orders {
    margin-top: 0;
  }

  .profile-orders h2 {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .profile-order-card {
    padding: 0 18px;
  }

  .profile-order-row {
    min-height: 62px;
    gap: 12px;
  }

  .profile-order-row span,
  .profile-order-row strong,
  .profile-order-row a,
  .profile-order-row em {
    font-size: 14px;
  }

  .profile-order-input {
    width: 66%;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
  }

  .profile-order-save {
    height: 42px;
    font-size: 15px;
  }

  .profile-pay-trigger {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .privacy-check {
    font-size: 16px;
  }

  .verify-hotspot {
    height: 18.9%;
    padding-top: 4%;
  }

  .search-title {
    margin-bottom: 3.4%;
  }

  .search-title strong {
    font-size: 15px;
  }

  .search-title-icon {
    width: 24px;
    height: 24px;
  }

  .search-title-icon::before {
    width: 11px;
    height: 11px;
    left: 6px;
    top: 4px;
  }

  .search-ui {
    height: 24%;
  }

  .search-overlay {
    padding: 0 12px 0 14px;
  }

  .search-overlay input {
    font-size: 13px;
  }

  .search-submit {
    width: 30%;
    min-width: 72px;
    font-size: 14px;
  }

  .search-clear {
    width: 30px;
  }

  .search-count {
    min-width: 172px;
    height: 24px;
    bottom: 7%;
    font-size: 13px;
  }

  .detail-page {
    padding: 12px 14px 92px;
  }

  .detail-contact-card {
    min-height: 0;
  }

  .detail-contact-copy button {
    width: 98px;
    height: 34px;
    left: 14px;
    bottom: 14px;
  }

  .detail-company-card {
    padding: 18px 18px 14px;
  }

  .detail-company-card h2 {
    margin-bottom: 18px;
    font-size: 18px;
  }

  .detail-company-card p {
    margin-bottom: 16px;
    font-size: 15px;
  }

  .detail-banner {
    margin: 14px 16px 12px;
    padding: 16px 12px 18px;
    font-size: 16px;
  }

  .detail-risk-grid {
    margin: 0 16px 16px;
  }

  .detail-risk-grid h3 {
    min-height: 56px;
    padding: 12px 8px;
    font-size: 12px;
  }

  .detail-risk-grid p {
    min-height: 130px;
    padding: 12px 8px 14px;
    font-size: 11px;
  }

  .detail-compare {
    margin: 0 16px 16px;
  }

  .detail-compare-col {
    padding: 18px 10px 8px;
  }

  .detail-compare-col h3 {
    margin-bottom: 14px;
    font-size: 16px;
  }

  .detail-compare-col li {
    min-height: 70px;
    margin-bottom: 10px;
    padding-top: 38px;
    font-size: 13px;
  }

  .detail-process-card,
  .detail-services-card {
    padding-top: 16px;
    padding-bottom: 18px;
  }

  .detail-process-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .detail-services-card {
    padding-left: 0;
    padding-right: 0;
  }

  .detail-process-card h2,
  .detail-services-card h2 {
    margin-bottom: 16px;
    font-size: 18px;
  }

  .detail-process {
    padding-top: 14px;
  }

  .detail-process b {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  .detail-process span {
    font-size: 13px;
  }

  .detail-service-group h3 {
    font-size: 16px;
  }

  .detail-service-item {
    min-height: 44px;
    grid-template-columns: 1fr 28px;
    padding: 7px 0;
  }

  .detail-service-copy strong {
    font-size: 14px;
  }

  .detail-service-selected {
    margin: 18px 18px 0;
    font-size: 14px;
  }

  .detail-form-card {
    padding: 8px 14px 4px;
  }

  .detail-field {
    padding: 10px 0 12px;
  }

  .detail-field span {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .detail-field input {
    height: 40px;
    font-size: 14px;
  }

  .detail-service-radio {
    width: 20px;
    height: 20px;
  }

  .detail-service-item input:checked + .detail-service-radio::after {
    width: 10px;
    height: 10px;
    left: 3px;
    top: 3px;
  }

  .detail-agreement {
    padding: 14px 12px;
    gap: 10px;
  }

  .detail-agreement input {
    width: 28px;
    height: 28px;
  }

  .detail-agreement input:checked::after {
    left: 6px;
    top: 7px;
  }

  .detail-agreement span,
  .detail-agreement a {
    font-size: 14px;
  }

  .support-copy {
    width: 60%;
    gap: 6px;
    padding-left: 5%;
  }

  .support-copy strong {
    font-size: 13px;
  }

  .support-copy em {
    padding: 6px 14px;
    font-size: 11px;
  }

  .phone-card {
    gap: 10px;
    padding: 0 5%;
  }

  .phone-icon {
    width: 58px;
    height: 58px;
  }

  .phone-icon::before {
    width: 22px;
    height: 22px;
    left: 16px;
    top: 17px;
    border-width: 5px;
  }

  .phone-text {
    font-size: 13px;
  }
}

@media (max-width: 430px) {
  .verify-hotspot {
    height: 18.9%;
    padding-top: 4.1%;
  }

  .search-title {
    gap: 9px;
    margin-bottom: 4.5%;
  }

  .search-title strong {
    font-size: 20px;
  }

  .search-title-icon {
    width: 32px;
    height: 32px;
  }

  .search-title-icon::before {
    width: 15px;
    height: 15px;
    left: 8px;
    top: 6px;
  }

  .search-ui {
    height: 32%;
    gap: 2.8%;
  }

  .search-overlay input {
    font-size: 18px;
  }

  .search-overlay {
    padding-right: 10px;
    padding-left: 12px;
  }

  .search-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }

  .search-icon::before {
    width: 18px;
    height: 18px;
    border-width: 2.5px;
  }

  .search-icon::after {
    width: 10px;
    height: 2.5px;
  }

  .search-submit {
    width: 27%;
    min-width: 72px;
    font-size: 18px;
    font-weight: 600;
  }

  .search-count {
    min-width: 220px;
    bottom: 6.5%;
    font-size: 18px;
  }

  .detail-contact-card {
    min-height: 0;
  }

  .detail-contact-copy button {
    width: 92px;
    height: 32px;
    left: 12px;
    bottom: 12px;
  }
}
