:root { font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; background: #fff7ed; color: #292524; }
* { box-sizing: border-box; } body { margin: 0; min-height: 100vh; padding: 30px 16px; background: radial-gradient(circle at 90% 0%, #fed7aa 0, transparent 28rem), #fff7ed; }
button, input { font: inherit; } button { cursor: pointer; }
.app { width: min(100%, 620px); margin: 0 auto; } header { padding: 8px 5px 20px; } h1 { margin: 4px 0; font-size: clamp(2.2rem, 10vw, 3.4rem); letter-spacing: -.08em; } header p:not(.eyebrow) { color: #78716c; margin: 0; }
.eyebrow { margin: 0; color: #ea580c; font-weight: 800; font-size: .86rem; } .card { padding: 18px; margin-bottom: 14px; border: 1px solid #fed7aa; border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: 0 12px 28px rgba(154,52,18,.09); }
label { display: block; margin: 0 0 7px; color: #57534e; font-size: .9rem; font-weight: 700; } label:not(:first-child) { margin-top: 15px; } input { width: 100%; border: 1px solid #e7e5e4; border-radius: 11px; outline-color: #f97316; padding: 12px; }
.section-head { display: flex; align-items: center; justify-content: space-between; } h2 { margin: 0 0 14px; font-size: 1.1rem; } #person-count { color: #a8a29e; font-size: .9rem; }
#name-form { display: flex; gap: 9px; } #name-form button, .primary, .secondary { border: 0; border-radius: 11px; padding: 11px 14px; font-weight: 800; white-space: nowrap; } #name-form button, .primary { color: #fff; background: #ea580c; } button:disabled { cursor: not-allowed; opacity: .45; }
.people { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }.person { display: flex; align-items: center; gap: 5px; padding: 7px 8px 7px 11px; background: #ffedd5; border-radius: 999px; color: #9a3412; font-weight: 700; }.remove { border: 0; border-radius: 50%; width: 22px; height: 22px; color: #c2410c; background: #fed7aa; font-size: 1rem; line-height: 1; }
.empty { margin: 15px 0 0; color: #a8a29e; text-align: center; }.result-card { text-align: center; padding: 24px 18px; }.result-card strong { display: block; margin: 5px 0 3px; font-size: 3rem; letter-spacing: -.07em; }.result-card p:not(.eyebrow) { margin: 0; color: #78716c; }.actions { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }.secondary { color: #c2410c; background: #ffedd5; }.draw-result { min-height: 1.5em; margin-top: 16px !important; color: #ea580c !important; font-weight: 800; font-size: 1.05rem; }
@media (max-width: 420px) { body { padding: 18px 12px; }.card { padding: 15px; }.actions { flex-direction: column; }.actions button { width: 100%; } }
