:root { color: #551311; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f4f4f4; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
.receive-page { width: 100%; max-width: 425px; min-height: 100dvh; margin: 0 auto; padding-bottom: calc(84px + env(safe-area-inset-bottom)); overflow: hidden; background: #ff511b; }
.activity-image { display: block; width: 100%; height: auto; }
.apply-section { padding: 20px 0 8px; text-align: center; }
.phone-field { position: relative; padding-top: 20px; }
.phone-label { position: absolute; top: 0; left: 10.7%; width: 39%; height: 40px; object-fit: contain; object-position: left center; }
.phone-field input { width: 89.33%; height: 64px; padding: 0 20px; border: 0; border-radius: 40px; outline: none; color: #333; font-size: 16px; }
.phone-field input::placeholder { color: #858585; }
.consent { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: #d4be8d; font-size: 10px; line-height: 1.4; }
.consent input { position: absolute; opacity: 0; }
.checkmark { position: relative; width: 15px; height: 15px; flex: 0 0 15px; border: 1px solid #eee3bb; border-radius: 50%; background: #cdbd83; }
.consent input:checked + .checkmark::after { position: absolute; top: 2px; left: 4px; width: 5px; height: 8px; border: solid white; border-width: 0 1px 1px 0; content: ""; transform: rotate(45deg); }
.consent button { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.receive-button { display: block; width: 100%; margin: 20px 0 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.receive-button img { display: block; width: 100%; height: auto; }
.price-section { margin-top: 20px; }
.price-label { display: flex; align-items: center; justify-content: center; height: 30px; margin: 0 0 -3px; color: #7f2f16; background: transparent; font-size: 14px; font-weight: 700; line-height: 20px; text-align: center; transform: translateY(-16px); }
.benefits-crop { overflow: hidden; }
.benefits-crop .activity-image { margin-bottom: -34px; transform: translateY(-34px); }
.spaced { margin-top: 20px; }
.rules-panel { margin: 20px 0; padding: 80px 8% 122px; background: url('/assets/rules-bg.png') center / 100% 100% no-repeat; }
.rich-content { color: #551311; font-size: 12px; line-height: 20px; }
.rich-content p, .rich-content div { margin: 0 0 12px; }
.rich-content h3, .rich-content h4 { margin: 20px 0 10px; color: #4b0e0c; font-size: 14px; line-height: 1.4; }
.rich-content ul, .rich-content ol { margin: 0 0 12px; padding-left: 20px; }
.rich-content li { margin: 0 0 6px; }
dialog { width: min(88vw, 390px); border: 0; border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(0,0,0,.45); }
dialog > div { position: relative; padding: 14px; color: #333; font-size: 14px; line-height: 1.7; }
dialog h2 { margin: 0 0 12px; font-size: 18px; }
#statement-content { color: #3c352f; font-size: 14px; line-height: 1.85; }
#statement-content p, #statement-content div { margin: 0 0 14px; }
#statement-content h3, #statement-content h4 { margin: 18px 0 10px; color: #211d1a; font-size: 16px; line-height: 1.45; }
#statement-content ul, #statement-content ol { margin: 0 0 14px; padding-left: 22px; }
#statement-content li { margin: 0 0 7px; }
.statement-scroll { max-height: 56dvh; overflow-y: auto; padding-right: 4px; }
.confirm-statement { display: block; width: 100%; margin-top: 14px; padding: 10px; border: 0; border-radius: 5px; color: #fff; background: #ed501e; font-weight: 700; cursor: pointer; }
.close-button { position: absolute; top: 3px; right: 8px; border: 0; color: #777; background: none; font-size: 28px; cursor: pointer; }
.sticky-receive { position: fixed; z-index: 2000; bottom: env(safe-area-inset-bottom); left: 50%; display: block; width: min(100%, 425px); margin: 0; padding: 0; border: 0; opacity: 0; background: transparent; box-shadow: 0 -8px 18px rgba(121, 42, 10, .13); pointer-events: none; cursor: pointer; transform: translate(-50%, 110%); transition: opacity .2s ease, transform .2s ease; }
.sticky-receive.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.sticky-receive img { display: block; width: 100%; height: auto; }
.toast { position: fixed; z-index: 3000; top: max(24px, env(safe-area-inset-top)); left: 50%; max-width: calc(100% - 48px); padding: 12px 18px; border-radius: 6px; color: #fff; background: rgba(33, 25, 20, .9); font-size: 15px; line-height: 1.4; opacity: 0; pointer-events: none; transform: translate(-50%, -16px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 426px) { .receive-page { box-shadow: 0 0 26px rgba(0,0,0,.12); } }
