:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #081423;
  color: #f3f7f8;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 50% -20%, #063044 0, #081423 55%); }
.shell { width: min(100% - 32px, 560px); margin: 0 auto; padding: 28px 0 48px; }
.shell.centered { min-height: 100vh; display: grid; align-content: center; }
.brand { display: flex; align-items: center; gap: 10px; margin: 0 2px 18px; color: #cbff4d; font-weight: 750; letter-spacing: .02em; }
.mark { width: 11px; height: 11px; border-radius: 3px; background: #cbff4d; box-shadow: 0 0 18px rgba(203,255,77,.35); }
.card { background: rgba(6,48,68,.82); border: 1px solid rgba(132,221,99,.18); border-radius: 18px; padding: 24px; box-shadow: 0 22px 70px rgba(0,0,0,.32); }
.card { border-top: 3px solid var(--lime, #cbff4d); }
#event-logo { max-height: 120px; object-fit: contain; }
h1 { margin: 8px 0 8px; font-size: clamp(1.75rem, 8vw, 2.2rem); line-height: 1.1; }
.helper { color: #b9c8ce; line-height: 1.5; margin: 0 0 24px; }
.status-line { min-height: 24px; display: flex; align-items: center; gap: 8px; color: #dce8eb; font-size: .875rem; font-weight: 650; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #e4a33a; }
.status-dot.live { background: #84dd63; }
.status-dot.terminal { background: #8fa3ab; }
form { display: grid; gap: 9px; }
form[hidden] { display: none; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
input[type="checkbox"] { width: auto; }
h3 { overflow-wrap: anywhere; }
label { font-size: .9rem; font-weight: 700; }
.message-label { display: flex; justify-content: space-between; align-items: baseline; margin-top: 7px; }
output { color: #aabcc3; font-size: .82rem; font-variant-numeric: tabular-nums; }
input, textarea { width: 100%; border: 1px solid #47616b; border-radius: 10px; padding: 12px 13px; background: #071d2b; color: #f7fafb; font: inherit; outline: none; }
textarea { resize: vertical; min-height: 132px; line-height: 1.45; }
input:focus, textarea:focus { border-color: #cbff4d; box-shadow: 0 0 0 3px rgba(203,255,77,.16); }
button { margin-top: 12px; min-height: 48px; border: 0; border-radius: 10px; padding: 0 18px; background: #cbff4d; color: #081423; font: inherit; font-weight: 800; cursor: pointer; }
button:hover:not(:disabled) { background: #d8ff75; }
button:focus-visible { outline: 3px solid #f3f7f8; outline-offset: 3px; }
button:disabled { background: #486057; color: #a8b5b0; cursor: not-allowed; }
.result { min-height: 24px; margin: 17px 0 0; color: #d9e8ec; }
.terminal { margin-top: 24px; border-left: 3px solid #e4a33a; padding: 3px 0 3px 14px; color: #e6eef0; line-height: 1.5; }
.terminal-card { border-left: 3px solid #e4a33a; }
.eyebrow { color: #cbff4d; font-size: .74rem; font-weight: 800; letter-spacing: .13em; }

@media (max-width: 390px) {
  .shell { width: min(100% - 20px, 560px); padding-top: 18px; }
  .brand { margin-left: 4px; margin-bottom: 13px; }
  .card { padding: 19px 16px; border-radius: 14px; }
  h1 { font-size: 1.7rem; }
  .helper { margin-bottom: 19px; }
}

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