* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #F4F7FC; color: #0A1A3F; font-family: 'Open Sans', system-ui, sans-serif; }
body { display: flex; flex-direction: column; align-items: center; padding: 7vh 16px 40px; }
.box { width: 100%; max-width: 460px; background: #fff; border: 1px solid #E1E8F4; border-radius: 14px; padding: 28px 30px 24px; box-shadow: 0 10px 30px rgba(14, 63, 134, 0.07); }
.logo { height: 26px; width: auto; }
.lantern-art { display: flex; justify-content: center; margin: 10px 0 0; }
.lantern-art svg { animation: sway 5s ease-in-out infinite; transform-origin: 50% 0; filter: drop-shadow(0 6px 14px rgba(240, 138, 36, 0.35)); }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .lantern-art svg { animation: none; } }
h1 { font-family: Montserrat, sans-serif; font-size: 24px; margin: 6px 0 2px; text-align: center; }
h2 { font-family: Montserrat, sans-serif; font-size: 17px; margin: 18px 0 8px; }
.sub { margin: 0 0 16px; color: #55657F; font-size: 14px; text-align: center; }
form { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
label { font-size: 13px; font-weight: 600; color: #24395F; margin-top: 8px; }
.hint { font-weight: 400; color: #55657F; }
input { font: 16px 'Open Sans', sans-serif; padding: 11px 12px; min-height: 44px; border-radius: 8px; border: 1px solid #C9D4EA; background: #fff; color: #0A1A3F; }
input:focus { outline: 2px solid #217DF3; outline-offset: 1px; border-color: #217DF3; }
button { margin-top: 16px; min-height: 46px; border: 0; border-radius: 8px; background: #0E3F86; color: #fff; font: 700 15px 'Open Sans', sans-serif; cursor: pointer; }
button:hover { background: #0B336D; }
button:focus-visible { outline: 2px solid #217DF3; outline-offset: 2px; }
.error { background: #FFF0EE; color: #A12A18; border: 1px solid #F0B3AA; border-radius: 8px; padding: 10px 12px; font-size: 14px; margin: 0 0 6px; }
.msg { font-size: 15px; line-height: 1.5; }
.foot { margin: 18px 0 0; font-size: 12.5px; color: #55657F; line-height: 1.5; }
a { color: #1B63C9; }
.steps { padding-left: 20px; margin: 0 0 6px; font-size: 14px; line-height: 1.55; }
.steps li { margin-bottom: 10px; }
.secret { margin: 8px 0 4px; padding: 10px 12px; background: #F4F7FC; border: 1px dashed #C9D4EA; border-radius: 8px; }
.secret code { font: 600 15px ui-monospace, Menlo, monospace; letter-spacing: 0.5px; user-select: all; word-break: break-all; }
details { font-size: 12.5px; color: #55657F; }
details summary { cursor: pointer; margin-top: 4px; }
code { font-family: ui-monospace, Menlo, monospace; }
.qr { margin: 12px 0 6px; display: flex; justify-content: center; }
.qr svg { border-radius: 10px; max-width: 100%; height: auto; border: 1px solid #E1E8F4; }
.copyright { text-align: center; font-size: 12px; color: #55657F; margin: 18px 0 24px; }
