:root {
    color-scheme: dark;
    --background: #11101a;
    --surface: #191724;
    --surface-raised: #201d30;
    --line: #322c46;
    --text: #f7f3ff;
    --muted: #bcb1cf;
    --accent: #ddcaff;
    --accent-ink: #281247;
    --focus: #c5a2ff;
    --good: #94ecc2;
    --error: #ffb8b3;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-synthesis: none;
    font-size: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(ellipse at 50% -180px, #28203e, transparent 620px), var(--background);
    color: var(--text);
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .48; cursor: default; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

.brand {
    display: inline-flex;
    gap: 11px;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 730;
    letter-spacing: -.025em;
}

.brand-mark {
    display: grid;
    place-items: center;
    inline-size: 32px;
    block-size: 32px;
    border-radius: 10px;
    background: #38294f;
    color: #e4cdff;
    font-size: 1.04rem;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 15px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-raised);
    color: var(--text);
    font-size: .9rem;
    font-weight: 650;
    text-align: center;
    transition: background .15s ease, border-color .15s ease;
}

.button:hover:not(:disabled) { background: #2c2540; border-color: #53466e; }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.button.primary:hover:not(:disabled) { background: #ede2ff; border-color: #ede2ff; }
.button.compact { min-height: 40px; padding: 7px 12px; }

.surface {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 17px;
    min-width: 0;
}
.muted { color: var(--muted); font-size: .9rem; line-height: 1.5; }

.prizes { padding: 0; margin: 0; list-style: none; }
.prize {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    overflow-wrap: anywhere;
}
.prize + .prize { border-top: 1px solid var(--line); }
.quantity {
    font-size: .83rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 36px;
    padding: 3px 7px;
    border-radius: 6px;
    background: #322546;
    text-align: center;
    white-space: nowrap;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
