:root { color-scheme: light; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: #111; background: white; }
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
[hidden], dialog:not([open]) { display: none; }
button { font: inherit; color: inherit; background: white; cursor: pointer; }
button:focus-visible { outline: 3px solid #286df5; outline-offset: 3px; }
.messenger-guide { max-width: 680px; margin-inline: auto; }
.hero-banner { display: block; width: 100%; height: auto; }
.hero-banner[hidden] { display: none; }
.banner-fallback { padding: 42px 20px 0; text-align: center; font-size: 22px; }
.content-box { padding: 24px 24px max(24px, env(safe-area-inset-bottom)); text-align: center; }
.content-box p { margin-bottom: 24px; color: #333; font-size: 15px; letter-spacing: .5px; }
.action-btn { width: min(280px, 100%); padding: 13px 24px; border: 1.5px solid #111; border-radius: 28px; font-weight: 500; }
.action-btn:active, .modal-close:active { background: #111; color: white; }
dialog { position: fixed; inset: 0; margin: auto; width: min(280px, calc(100% - 40px)); padding: 0; height: fit-content; border: 1.5px solid #111; border-radius: 12px; background: white; color: #111; text-align: center; }
dialog::backdrop { background: rgb(0 0 0 / 70%); }
.modal-body { padding: 22px 20px 18px; }
.modal-body h2 { margin-bottom: 8px; font-size: 17px; }
.modal-body p { color: #333; font-size: 14px; }
.modal-close { width: 100%; min-height: 46px; border: 0; border-top: 1px solid #ddd; font-size: 15px; }
.ios-only-notice { display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 28px; background: linear-gradient(145deg, #edf6ff, #dbeeff 52%, #f5faff); color: #20242d; text-align: center; }
.ios-only-notice div { max-width: 340px; padding: 32px 25px; border: 1px solid white; border-radius: 28px; background: rgb(255 255 255 / 85%); box-shadow: 0 12px 34px rgb(44 83 132 / 13%); }
.ios-only-notice p { margin-bottom: 13px; color: #286df5; font-size: 12px; font-weight: 800; }
.ios-only-notice h1 { font-size: 24px; line-height: 1.35; letter-spacing: -.045em; }
.ios-only-notice span { display: block; margin-top: 12px; color: #596679; font-size: 14px; }
.checking-ipad .ios-only-notice { visibility: hidden; }
