:root { color-scheme: dark; font-family: system-ui, sans-serif; background: #101322; color: #f6f4ff; --accent: #c4b5fd; --panel: #1c2035; --muted: #bcc1d6; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 580px; margin: auto; padding: 24px 18px max(24px, env(safe-area-inset-bottom)); }
header { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; }
header strong { font-size: 24px; } header p { margin: 3px 0; color: var(--muted); font-size: 13px; }
.logo { color: #ffd578; font-size: 42px; } .badge { margin-left: auto; font-size: 11px; letter-spacing: 1px; color: var(--accent); }
h1 { font-size: clamp(24px, 6vw, 32px); margin: 26px 0 8px; } h2 { font-size: 18px; margin-top: 0; }
p { line-height: 1.5; } .muted { color: var(--muted); font-size: 14px; }
.notice { border: 1px solid #78613a; background: #282333; border-radius: 16px; padding: 16px; color: #ffe0a0; } .notice p { margin: 6px 0 0; font-size: 14px; }
fieldset { border: 0; padding: 0; margin: 28px 0; min-width: 0; } legend { font-weight: 650; margin-bottom: 14px; }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.packages label, .options label { position: relative; cursor: pointer; }
input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; }
label span { display: block; padding: 17px 8px; text-align: center; border: 1px solid #42465e; border-radius: 14px; background: var(--panel); font-weight: 600; }
small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 6px; }
input:checked + span { border-color: var(--accent); background: #332c50; box-shadow: inset 0 0 0 1px var(--accent); }
input:focus-visible + span, input[type=text]:focus-visible { outline: 3px solid #ffd578; outline-offset: 3px; }
#friend-field { margin-top: 18px; } #friend-field > label { display: block; margin-bottom: 8px; font-size: 14px; }
input[type=text] { width: 100%; background: var(--panel); color: inherit; border: 1px solid #737893; border-radius: 12px; padding: 14px; font: inherit; }
input[aria-invalid=true] { border-color: #ffadad; }
.summary { border-radius: 18px; background: var(--panel); padding: 20px; overflow-wrap: anywhere; }
.total { border-top: 1px solid #42465e; padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
button { width: 100%; min-height: 52px; margin-top: 18px; border: 1px solid #585568; border-radius: 14px; font: inherit; font-weight: 650; }
button:disabled { background: #353342; color: #c7c3d4; cursor: not-allowed; }
button:not(:disabled) { background: var(--panel); color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #ffd578; outline-offset: 3px; }
a { color: var(--accent); overflow-wrap: anywhere; }
#custom-field { margin-top: 18px; }
#custom-field label { display: block; margin-bottom: 8px; }
footer { margin-top: 30px; text-align: center; color: var(--muted); font-size: 12px; }
[hidden] { display: none !important; }
@media (max-width: 350px) { main { padding-inline: 12px; } label span { padding-inline: 4px; } .badge { font-size: 10px; } }
