@font-face {
  font-family: Righteous;
  src: url("../fonts/Righteous-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root { --yellow: #ffd000; --phone: 430px; }
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}
body {
  font-family: "PingFang SC", "HarmonyOS Sans", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: #1a1a1a;
}
button { cursor: pointer; border: 0; background: none; font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.phone {
  width: min(100%, var(--phone));
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  position: relative;
}
.phone.homeback-shell {
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #f6f7fb;
}
.homeback-page {
  min-height: 100%;
  padding: 28px 16px 28px;
  color: #17171c;
  background:
    radial-gradient(120% 48% at 50% -8%, rgba(255, 208, 0, 0.28), transparent 58%),
    #f6f7fb;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.homeback-page, .homeback-page * {
  -webkit-user-select: none;
  user-select: none;
}
.homeback-page img {
  -webkit-user-drag: none;
  pointer-events: none;
}
.hb-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 10px;
}
.hb-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(255, 208, 0, 0.28);
}
.hb-titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  line-height: 1;
}
.hb-titles strong {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 32px;
  font-weight: 900;
  color: #111;
}
.hb-titles strong b {
  display: flex;
  align-items: flex-end;
  height: 32px;
  font-family: Righteous, "Segoe UI", sans-serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.8;
  color: #ffd000;
}
.hb-titles strong span {
  display: flex;
  align-items: flex-end;
  height: 32px;
  font-size: 32px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #ffd000;
}
.hb-titles em {
  font-style: normal;
  font-size: 23px;
  font-weight: 800;
  color: #ff6a00;
  letter-spacing: 0.04em;
}
.hb-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #c48a00;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.hb-tags span {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4a000);
}
.hb-tags span:last-child {
  background: linear-gradient(90deg, #d4a000, transparent);
}
.hb-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 4px;
  margin: 0 0 12px;
  padding: 14px 16px 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe566, #ffd000 42%, #f0b400);
  color: #111;
  box-shadow: 0 10px 22px rgba(255, 208, 0, 0.35);
}
.hb-cta b {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.hb-cta i {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.82;
}
.hb-cta i svg { width: 16px; height: 16px; }
.hb-line {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  margin: 0 0 10px;
  padding: 12px 10px;
  text-align: left;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(24, 24, 40, 0.06);
  border: 1px solid #eeeef4;
}
.hb-line.copied, .hb-cta.copied, .hb-mail.copied { outline: 2px solid #ffd000; }
.hb-ico {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.hb-ico svg { width: 42px; height: 42px; }
.hb-line-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hb-line-txt strong {
  font-size: 16px;
  font-weight: 800;
  color: #17171c;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hb-line-txt strong i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  font-style: normal;
}
.hb-line-txt small { color: #8b8b96; font-size: 12px; }
.hb-copy {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #c49600;
  padding: 4px 6px 4px 2px;
}
.hb-copy svg { width: 28px; height: 28px; display: block; }
.hb-copy em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.hb-mailtip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
  padding: 9px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff3b0, #ffe27a 50%, #fff3b0);
  border: 1px solid #f0d45a;
  color: #6b4e00;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 208, 0, 0.16);
}
.hb-mailtip svg { width: 16px; height: 16px; flex-shrink: 0; }
.hb-mailtip span { color: #111; font-size: 13px; }
.hb-mailtip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d4a000;
}
.hb-mailtip em { font-style: normal; color: #8a6200; }
.hb-mail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin: 0 0 14px;
  padding: 10px 10px 10px 14px;
  border-radius: 12px;
  background: #fff8d6;
  color: #111;
  font-size: 13px;
  font-weight: 700;
}
.hb-mail b { color: #c48a00; font-size: 13px; }
.hb-mail .hb-copy { color: #c48a00; }
.hb-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.hb-feats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 6px 12px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eeeef4;
  box-shadow: 0 6px 16px rgba(24, 24, 40, 0.05);
}
.hb-feats svg { width: 26px; height: 26px; }
.hb-feats strong { font-size: 13px; font-weight: 800; color: #17171c; }
.hb-feats small { color: #8b8b96; font-size: 10px; }
.hb-foot {
  text-align: center;
  color: #9a9aa4;
  font-size: 12px;
  line-height: 1.7;
}
.hb-foot p { margin: 0; }
.hb-foot p:first-child {
  color: #b8860b;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.hb-foot small { display: block; margin-top: 6px; font-size: 11px; }
.copy-toast {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: max-content;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(0,0,0,0.82);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
}
.copy-toast.is-long {
  white-space: normal;
  width: min(300px, 82%);
  max-width: 82%;
  line-height: 1.65;
  font-weight: 600;
  text-align: left;
  background: rgba(0, 0, 0, 0.92);
  padding: 16px 18px;
}
.copy-toast.show { opacity: 1; visibility: visible; }
@media (min-width: 480px) {
  .phone { box-shadow: 0 0 0 1px #2a2a2a, 0 20px 60px rgba(0,0,0,0.45); }
}
