:root {
  --accent: #00ff7a;
  --bg: #0b0c0f;
  --card: #111318;
  --text: #e9edf1;
  --muted: rgba(233, 237, 241, 0.7);
  --border: rgba(255, 255, 255, 0.1);
  --danger: #ff5f73;
  --ok: #00c76b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, rgba(0,255,122,.15), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(0,255,122,.08), transparent 35%), var(--bg);
  min-height: 100vh;
}
.page-shell { padding: 20px 14px 48px; }
.app-root { max-width: 760px; margin: 0 auto; }
.card {
  background: rgba(17, 19, 24, 0.95);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.hero-banner {
  width: 100%; height: 180px; object-fit: cover; border-radius: 18px; margin-bottom: 14px;
  border: 1px solid var(--border); background: linear-gradient(130deg, #122118, #0f3a24 45%, #0d1512);
}
.title { font-size: clamp(28px, 5vw, 40px); margin: 6px 0 0; }
.subtitle { color: var(--muted); margin: 6px 0 0; }
.meta-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap:10px; }
.meta { padding: 12px; border-radius: 16px; border:1px solid var(--border); background: rgba(255,255,255,.02); }
.label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.value { margin-top: 4px; font-weight: 600; }
input, textarea {
  width: 100%; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,.03);
  color: var(--text); padding: 12px 14px; font-size: 16px; outline: none;
}
textarea { min-height: 94px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,255,122,.15); }
.row { display:flex; gap:12px; align-items:center; }
.stack { display:flex; flex-direction:column; gap:12px; }
.btn {
  border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 700; cursor: pointer; font-size: 15px;
  transition: .15s ease; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-primary { background: var(--accent); color: #04170d; }
.btn-primary:disabled { opacity: .5; cursor:not-allowed; }
.btn-secondary { background: transparent; border: 1px solid rgba(0, 255, 122, 0.75); color: var(--accent); }
.btn:hover { transform: translateY(-1px); }
.attendance button { flex: 1; }
.attendance .active { box-shadow: inset 0 0 0 2px var(--accent); }
.stepper { display:flex; gap: 10px; align-items: center; justify-content: center; }
.stepper button { width: 38px; height: 38px; padding: 0; font-size: 22px; }
.help { color: var(--muted); font-size: 13px; margin: 0; }
.section-title { margin: 0; font-size: 18px; }
.pill { font-size: 12px; border-radius: 999px; padding: 4px 8px; border:1px solid var(--border); color: var(--muted); }
.error { color: var(--danger); font-weight: 600; }
.ok { color: var(--ok); font-weight: 600; }
.actions-wrap { display:flex; flex-wrap: wrap; gap: 10px; }
.ticket-card { border: 1px solid var(--border); border-radius: 14px; padding: 12px; display:flex; flex-direction:column; gap:8px; }
.count { text-align:right; color: var(--muted); font-size: 12px; margin-top: -8px; }
.qr-wrap { display:flex; justify-content:center; }
canvas.qr { background:#fff; border-radius: 12px; padding: 10px; width: 230px; height: 230px; }
.status-line { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.notice { border-left:3px solid var(--accent); padding-left: 10px; color: var(--muted); }
.hidden { display: none !important; }
@media (max-width: 680px) {
  .row-mobile { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
