* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, sans-serif; padding: 1rem; max-width: 800px; margin: 0 auto; color: #333; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.2rem; margin: 1rem 0 0.5rem; }
h3 { font-size: 1rem; margin: 0.8rem 0 0.4rem; }
.header { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid #ddd; margin-bottom: 1rem; }
.user-id { font-family: monospace; font-size: 0.8rem; color: #666; }
.error-bar { background: #fee; color: #c00; padding: 0.5rem; border-radius: 4px; margin-bottom: 1rem; }
.error { color: #c00; margin-top: 0.5rem; }
.aid { font-family: monospace; font-size: 0.9rem; word-break: break-all; }
button { padding: 0.4rem 0.8rem; border: 1px solid #ccc; border-radius: 4px; background: #fff; cursor: pointer; margin: 0.2rem; }
button:hover { background: #f0f0f0; }
.btn-primary { background: #2563eb; color: #fff; border-color: #2563eb; }
.btn-primary:hover { background: #1d4ed8; }
input { padding: 0.4rem; border: 1px solid #ccc; border-radius: 4px; margin: 0.2rem; }
.form { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin: 0.5rem 0; }
.stats { display: flex; gap: 1rem; margin: 0.5rem 0; }
.stat { text-align: center; }
.stat-value { display: block; font-size: 1.5rem; font-weight: bold; }
.stat-label { font-size: 0.8rem; color: #666; }
.purchase-link { cursor: pointer; color: #2563eb; text-decoration: underline; }
table { width: 100%; border-collapse: collapse; margin: 0.5rem 0; }
th, td { text-align: left; padding: 0.3rem 0.5rem; border-bottom: 1px solid #eee; }
th { font-weight: 600; border-bottom: 2px solid #ddd; }
.group-id { font-family: monospace; font-size: 0.85rem; color: #666; }
.group-setup { text-align: center; margin-top: 2rem; }
.identity-screen { text-align: center; margin-top: 3rem; }
.nav-buttons { margin: 0.5rem 0; }
