:root { color-scheme: dark; font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #101020; color: #f4f3ff; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 720px; margin: auto; padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); }
header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { font-size: 30px; font-weight: 800; text-decoration: none; }
h1 { font-size: clamp(28px, 7vw, 40px); line-height: 1.15; margin-top: 40px; }
h2 { font-size: 22px; }
a { color: #b9a3ff; }
section { margin: 24px 0; padding: 24px; border: 1px solid #ffffff29; border-radius: 20px; background: #1d1a30; }
button, .button { display: inline-block; font: inherit; border: 1px solid #ffffff29; border-radius: 12px; background: #302b48; color: #f4f3ff; padding: 12px 16px; min-height: 48px; margin: 6px 6px 6px 0; cursor: pointer; text-decoration: none; max-width: 100%; }
button:disabled { opacity: .5; cursor: wait; }
input:not([type="checkbox"]) { display: block; width: 100%; font: inherit; border: 1px solid #ffffff29; border-radius: 12px; background: #121020; color: inherit; padding: 12px; margin: 8px 0 16px; }
input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; }
.check { display: flex; align-items: center; gap: 10px; }
.muted, dt { color: #b3b0ca; }
#notice { padding: 16px; border: 1px solid #bc96e44a; border-radius: 12px; background: #352842; overflow-wrap: anywhere; }
dl { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr); gap: 10px 20px; }
dd { margin: 0; overflow-wrap: anywhere; }
#max-qr { display: block; margin: 20px auto; max-width: 100%; height: auto; }
footer { margin: 36px 0 12px; color: #b3b0ca; font-size: 14px; }
:focus-visible { outline: 2px solid #e1d7ff; outline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 480px) { section { padding: 18px; } dl { grid-template-columns: 1fr; gap: 4px; } dd { margin-bottom: 12px; } }
