:root {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #34312e;
  background: #fffcf8;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, h2:focus-visible { outline: 3px solid #9b3e31; outline-offset: 3px; }
[hidden] { display: none !important; }

.page {
  max-width: 460px;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
  text-align: center;
}
.brand { display: flex; justify-content: center; align-items: center; gap: 10px; }
.brand-icon { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; }
.brand h1 { margin: 0; font-size: 1.375rem; line-height: 1.3; font-weight: 700; }
.intro { margin: 12px 0 0; color: #635a52; font-size: 1rem; line-height: 1.55; }
.actions { max-width: 350px; margin: 16px auto 0; }

.launch-slot { --launch-height: 58px; position: relative; height: var(--launch-height); }
.primary, .native-launch {
  width: 100%;
  height: var(--launch-height);
  border: 0;
  border-radius: 16px;
  background: linear-gradient(100deg, #b82c28, #c93d2e);
  color: #fff;
  box-shadow: 0 5px 12px #b82c281a;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
}
.primary { display: flex; justify-content: center; align-items: center; gap: 12px; }
.primary:active { transform: translateY(1px); }
.native-launch { display: block; position: absolute; inset: 0; visibility: hidden; pointer-events: none; }
html[data-entry-state="launch-ready"] .native-launch,
html[data-entry-state="launch-event"] .native-launch { visibility: visible; pointer-events: auto; }
.launch-status { margin: 12px 0 0; padding: 10px 12px; color: #774438; background: #fff0e9; border-radius: 10px; font-size: .875rem; line-height: 1.5; text-align: left; }

.miniprogram-code { margin: 16px 0 0; }
.miniprogram-code img { display: block; width: 176px; max-width: 100%; height: auto; margin: 0 auto; }
.miniprogram-code figcaption { margin-top: 8px; color: #625950; font-size: .875rem; line-height: 1.5; }
.search-alternative { margin-top: 6px; }
.text-button {
  min-height: 44px;
  max-width: 100%;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: #843d30;
  font-size: .9375rem;
  line-height: 1.5;
}
.text-button span { display: inline-block; margin-left: 2px; }
.text-button[aria-expanded="true"] span { transform: rotate(180deg); }
.search-guide { margin-top: 10px; padding: 14px 16px; text-align: left; background: #fff; border: 1px solid #eee5dc; border-radius: 14px; }
.search-guide h2 { margin: 0 0 8px; font-size: 1rem; line-height: 1.4; }
.search-guide ol { margin: 0; padding-inline-start: 1.4em; color: #645950; font-size: .875rem; line-height: 1.6; }
.search-guide li + li { margin-top: 6px; }
.no-script { margin: 14px 0 0; color: #645950; font-size: .875rem; line-height: 1.5; }
footer { margin-top: 16px; color: #6d6258; font-size: .8125rem; line-height: 1.5; }
footer a { margin-inline-start: .4em; color: inherit; white-space: nowrap; }
