* { box-sizing: border-box; }
body { --ink:#54234a; --paper:#fff0ce; --accent:#ff9265; --stripe:#ef734c; margin:0; color:#30233c; background:#faf7f2; font: 1rem/1.5 system-ui,sans-serif; }
body[data-theme="Friends & Groups"] { --ink:#392756; --paper:#f1e7ff; --accent:#c298ff; --stripe:#a878db; }
body[data-theme="Date Night"] { --ink:#682446; --paper:#ffecf0; --accent:#ff9bb6; --stripe:#e67a95; }
body[data-theme="Team Icebreakers"] { --ink:#164d49; --paper:#e4f6ed; --accent:#7bd4af; --stripe:#51af96; }
body[data-theme="Event Minglers"] { --ink:#203c69; --paper:#e9f4ff; --accent:#95c7ff; --stripe:#70a9e1; }
main { max-width:640px; margin:auto; padding:16px clamp(18px,5vw,36px) 24px; }
nav a { color:#563671; }
h1 { font:700 clamp(2.1rem,7vw,3.2rem)/1.05 Georgia,serif; letter-spacing:-.035em; margin:18px 0 8px; }
.intro { margin:0 0 20px; }
label { display:block; font-weight:700; margin-bottom:5px; }
select,button { font:inherit; border-radius:12px; padding:11px 16px; min-height:46px; }
select { width:100%; background:#fff; color:#312039; border:1px solid #99859c; }
.deck { margin:24px 5px 27px; position:relative; isolation:isolate; }
.deck::before,.deck::after { content:''; position:absolute; inset:2px; border:2px solid var(--ink); border-radius:22px; z-index:-1; }
.deck::before { transform:translate(3px,8px) rotate(1.25deg); background:var(--accent); }
.deck::after { transform:translate(-2px,4px) rotate(-.9deg); background:#fffaf0; }
.card { position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:space-between; min-height:265px; gap:18px; padding:clamp(20px,5vw,32px); border:2px solid var(--ink); border-radius:22px; background:var(--paper); color:var(--ink); touch-action:pan-y; }
.card::before { content:''; position:absolute; right:-35px; bottom:-64px; width:165px; height:120px; border-radius:50%; background:repeating-radial-gradient(ellipse at center,var(--stripe) 0 3px,transparent 4px 11px); transform:rotate(-30deg); }
.byline { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:.875rem; font-weight:750; }
#name { color:white; background:var(--ink); border-radius:100px; padding:5px 12px; }
#count { font-variant-numeric:tabular-nums; }
#prompt { position:relative; margin:0; font:700 clamp(1.6rem,5.7vw,2.5rem)/1.12 Georgia,serif; letter-spacing:-.025em; overflow-wrap:break-word; }
.signature { display:flex; align-items:center; justify-content:space-between; position:relative; }
.signature img { width:38px; height:38px; object-fit:contain; background:#fffaf4; border:1px solid var(--ink); border-radius:50%; padding:5px; }
.dots { height:6px; width:38px; background:radial-gradient(circle,var(--ink) 2px,transparent 3px) left center/12px 6px repeat-x; }
#burst { pointer-events:none; position:absolute; bottom:38px; right:48px; }
#burst i { position:absolute; width:5px; height:8px; border-radius:2px; }
#burst i:nth-child(3n) { width:6px; height:6px; border-radius:50%; }
.controls { display:flex; gap:10px; }
button { cursor:pointer; color:var(--ink); background:white; border:1px solid var(--ink); font-weight:700; }
#next { flex:1; background:var(--ink); color:white; box-shadow:0 3px 0 var(--accent); }
#next:active { transform:translateY(2px); box-shadow:none; }
button:disabled { opacity:.55; cursor:default; }
:focus-visible { outline:3px solid #137cb3; outline-offset:3px; }
.hint { font-size:.875rem; line-height:1.45; color:#5b4b60; }
