:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #fff;
  background: #050f1e;
  font-synthesis: none;
  --gold: #ead68e;
  --muted: #b9c0cb;
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(36px, env(safe-area-inset-top)) 26px max(36px, env(safe-area-inset-bottom));
}
.connect { width: 100%; max-width: 340px; }
.venue-logo {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 44px;
}
h1 {
  margin: 0 0 30px;
  color: var(--gold);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.5px;
}
label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 500; }
input {
  appearance: none;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d6dbe1;
  border-radius: 4px;
  background: #fff;
  color: #101b2b;
  color-scheme: light;
  font: inherit;
  font-size: 16px;
}
.password-label { display: flex; align-items: center; justify-content: space-between; margin-top: 23px; }
.text-button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; padding: 0 0 9px; cursor: pointer; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 24px 0 0; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.8; }
.consent input { appearance: auto; flex: none; min-height: 0; width: 16px; height: 16px; padding: 0; margin: 3px 0 0; accent-color: var(--gold); color-scheme: dark; }
.terms-link { padding: 0; color: var(--gold); font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.submit {
  width: 100%;
  min-height: 52px;
  margin-top: 28px;
  padding: 14px 20px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--gold);
  color: #050f1e;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.submit:hover:not(:disabled) { background: #f2e1a7; border-color: #f2e1a7; }
.submit:disabled, input:disabled { opacity: .5; cursor: not-allowed; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.form-status { margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.form-status:empty { display: none; }
.terms-panel { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; background: #000a; }
.terms-content { width: 100%; max-width: 390px; max-height: 85svh; overflow: auto; padding: 26px; border: 1px solid #ffffff26; border-radius: 8px; background: #0b182b; }
.terms-content h2 { margin: 0 0 18px; color: var(--gold); font-size: 20px; }
.terms-content p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.noscript { position: fixed; bottom: 0; width: 100%; padding: 16px; background: var(--gold); color: #050f1e; font-size: 13px; }

@media (max-height: 620px) {
  .shell { padding-top: 24px; padding-bottom: 24px; }
  .venue-logo { width: 165px; margin-bottom: 28px; }
}
