@font-face { font-family: Rubik; src: url('./assets/rubik.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Noto Sans Devanagari'; src: url('./assets/devanagari.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { color-scheme: dark; font-family: Rubik, 'Noto Sans Devanagari', sans-serif; color: #fff3e9; background: #10060c; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, summary { cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
:is(button, a, input, summary):focus-visible { outline: 2px solid #ffe6a8; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.invite-page { max-width: 480px; min-height: 100vh; min-height: 100dvh; margin-inline: auto; padding-bottom: max(24px, env(safe-area-inset-bottom)); background: #18070e; }
.header { display: flex; align-items: center; justify-content: space-between; padding: calc(16px + env(safe-area-inset-top)) 22px 4px; }
.header > img { width: 128px; height: auto; }
.language { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 0 8px 10px; background: none; border: 0; color: #e2c7ad; font-size: 12px; }
.hero { position: relative; padding-bottom: 18px; }
.hero > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; max-height: 300px; object-fit: contain; user-select: none; }
.content { position: relative; padding-inline: 20px; }
.content::before { content: ''; position: absolute; top: -7px; left: 20px; right: 20px; height: 1px; background: linear-gradient(90deg, transparent, #f06e7d80, transparent); }
.phone-field, .invitation { display: flex; align-items: center; gap: 13px; min-height: 66px; padding: 12px 14px; border: 1px solid #7d3545; border-radius: 9px; background: #180810a6; }
.phone-field { border: 1.5px solid #edc260; box-shadow: 0 0 0 1px #fff0b51c; }
.phone-field:focus-within { border-color: #ffe7aa; box-shadow: 0 0 0 3px #e5be5a21; }
.phone-field svg, .invitation svg { color: #eec264; flex: none; }
.prefix { padding-right: 12px; border-right: 1px solid #8e46504d; font-weight: 600; font-size: 17px; }
.phone-field input { min-width: 0; width: 100%; padding: 5px 0; background: transparent; border: 0; border-radius: 0; color: #fff3e9; font-size: 16px; }
.phone-field input::placeholder { color: #bba3b0; font-size: 12px; opacity: 1; }
.phone-field.has-error { border-color: #ff7f94; }
.intro { margin: 12px 0 22px; font-size: 13px; font-weight: 500; line-height: 1.65; color: #f0dde5; }
.phone-intro { margin: 8px 0 18px; font-size: 13px; font-weight: 500; line-height: 1.5; color: #f0dde5; }
.invitation { min-height: 69px; }
.invitation > div { flex: 1; min-width: 0; }
.invitation span { display: block; margin-bottom: 4px; color: #d9b4a1; font-size: 11px; }
.invitation strong { overflow-wrap: anywhere; color: #f3e5ee; font-size: 16px; font-weight: 500; }
.primary { display: block; width: 100%; min-height: 52px; margin: 28px auto 0; padding: 12px; border: 1px solid #ff3e78; border-bottom: 3px solid #7a002a; border-radius: 11px; background: linear-gradient(180deg, #ff1470, #ff0050 38%, #d00037 66%, #95032c); color: #fff; font-size: 17px; font-weight: 600; line-height: 1.4; box-shadow: inset 0 2px 3px #ff94bd9c, 0 4px 0 #44001b, 0 7px 23px #ec004a20; transition: transform 120ms, filter 120ms; }
.primary:active:not(:disabled) { transform: translateY(2px); filter: brightness(.86); }
.language:active, .text-button:active { opacity: .65; }
.error { margin: 12px 0 0; font-size: 13px; color: #ffa9b3; line-height: 1.6; }
footer { margin-top: 22px; color: #c8a8b7; font-size: 11px; line-height: 1.65; text-align: center; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: #f1cf8d; }
h2 { margin: 0; font-size: 23px; font-weight: 500; line-height: 1.4; color: #ffe0a1; }
.registered-phone { display: grid; gap: 7px; margin: 16px 0; padding: 14px; border: 1px solid #713141; border-radius: 9px; font-size: 12px; color: #d9b4a1; }
.registered-phone strong { font-size: 18px; color: #fff3e9; font-weight: 500; }
.text-button { display: block; min-height: 44px; margin: 8px auto 0; padding: 8px; border: 0; background: transparent; color: #f1cf8d; font-size: 13px; }
.install-help { margin-top: 14px; padding-top: 8px; border-top: 1px solid #51242e; }
.install-help summary { min-height: 44px; padding-block: 12px; color: #f1cf8d; font-size: 14px; }
.install-help ol { margin: 2px 0 12px; padding-left: 22px; font-size: 13px; line-height: 1.7; color: #f0dde5; }
.install-help li + li { margin-top: 10px; }
.notice { padding: 18px; border: 1px solid #713141; border-radius: 9px; line-height: 1.7; }
.is-downloading .hero > img { max-height: 180px; }
@media (min-width: 481px) { .invite-page { box-shadow: 0 0 100px #0009; } }
@media (max-width: 360px) { .content { padding-inline: 15px; } .phone-field { gap: 9px; padding-inline: 11px; } .prefix { padding-right: 9px; } .phone-field input::placeholder { font-size: 11px; } .hero > img { max-height: 235px; } }
@media (prefers-reduced-motion: reduce) { .primary { transition: none; } }
