:root {
  --brand-red: #a31f1f;
  --brand-red-dark: #8f1b1b;
  --bg-light: #f4efe4;
  --page-bg-image: url("../../小图/微信图片_20260414214619_122_535.jpg");
  --text-main: #2f2520;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #e8e2d5;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
}

.page {
  max-width: 375px;
  min-height: 100vh;
  margin: 0 auto;
  background:
    linear-gradient(rgba(244, 239, 228, 0.72), rgba(244, 239, 228, 0.72)),
    var(--page-bg-image) center top / cover no-repeat;
  position: relative;
  overflow-x: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--brand-red);
  color: #fff;
}

.topbar-main {
  height: calc(66px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-btn {
  color: #fff;
  text-decoration: none;
  font-size: 34px;
  line-height: 1;
  width: 28px;
}

.topbar h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.topbar-spacer {
  width: 28px;
  height: 1px;
}

.content {
  padding: 58px 12px 24px;
}

.success-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px 22px 34px;
  box-shadow: 0 1px 0 rgba(176, 152, 122, 0.14);
}

.icon-wrap {
  width: 86px;
  height: 86px;
  margin: 0 auto 20px;
  border: 6px solid #bf1f24;
  border-radius: 50%;
  color: #bf1f24;
  font-size: 56px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.success-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  text-align: center;
  color: #332922;
}

.back-home-btn {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  background: var(--brand-red);
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.back-home-btn:active {
  background: var(--brand-red-dark);
}
