:root {
  color-scheme: dark;
  font: 100%/1.5 "Segoe UI", Inter, system-ui, sans-serif;
  --ink: #f6f1e8;
  --muted: #bec9d7;
  --gold: #f0cc87;
  --line: #394455;
  --panel: linear-gradient(135deg,#192530f5,#101924fa 55%,#0e151ff7);
  background: #060b12;
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-height: 100vh; margin: 0; background: var(--atendix-night-sky); isolation: isolate; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: .58; }
button:focus-visible, input:focus-visible { outline: 3px solid #f7cf79; outline-offset: 4px; }
h1:focus { outline: none; }
.mast { border-bottom: 1px solid #c2a36835; background: #080d14ea; }
.mast-inner { width: min(100% - 40px, 988px); margin: auto; min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wordmark { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.wordmark img { border-radius: 10px; object-fit: contain; }
.wordmark span { font-size: 1.13rem; letter-spacing: .17em; line-height: 1.2; font-weight: 760; }
.wordmark small { display: block; color: var(--gold); font-size: .71rem; font-weight: 550; letter-spacing: .08em; }
.queue-state { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; color: #c7ccd3; border: 1px solid #65707b80; border-radius: 30px; font-size: .79rem; }
.queue-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.queue-state[data-state="open"] { color: #9ce9cd; border-color: #4ec9955c; background: #12342c80; }
.queue-state[data-state="closed"] { color: #ffbbb2; border-color: #dc706258; background: #46211f80; }
main { width: min(100% - 40px, 850px); margin-inline: auto; padding-block: clamp(40px, 7.3vw, 84px) max(40px, env(safe-area-inset-bottom)); }
h1 { font-weight: 600; max-width: 15ch; margin: 0; font-size: clamp(2.55rem, 7vw, 4.7rem); line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; text-shadow: 0 2px 14px #0007; }
h1 em { color: var(--gold); font-family: Georgia, "STIX Two Text", serif; font-weight: 500; }
.entry { display: grid; align-items: start; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(24px,4vw,44px); }
.entry-cover { min-width: 0; min-height: 345px; position: relative; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; border-radius: 22px; background: #091726; border: 1px solid #425567; box-shadow: 0 12px 32px #0005; }
.entry-art { z-index: -2; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 38%; }
.entry-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#060e19 2%,#0a1422e8 35%,#07111d82 65%,#0a142215); }
.entry-heading { padding: clamp(21px,3.2vw,30px); }
.entry-heading h1 { font-size: clamp(2.25rem,4.5vw,3.35rem); }
.entry-heading h1 em { display: block; }
.entry-heading p { max-width: 34ch; line-height: 1.45; margin: 12px 0 0; color: #e1e7ee; }
.entry-details .sheet { margin: 0; }
.member-access { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 7px 13px; margin: 12px auto 0; color: var(--gold); background: transparent; border: 0; border-radius: 8px; }
.member-access svg { width: 17px; height: 17px; }
.member-access:hover span:first-of-type { text-decoration: underline; }
.step { max-width: 640px; }
.step h1 { font-size: clamp(2.45rem, 5.8vw, 4rem); }
.back { background: #101923b3; border: 1px solid #69717e5a; border-radius: 100px; color: #e1cda9; padding: 6px 14px; min-height: 42px; margin: 0 0 24px; }
.back span { margin-right: 5px; }
.intro { color: #d7dfe8; line-height: 1.5; margin: 13px 0 20px; }
.sheet, .receipt { border-radius: 21px; border: 1px solid #6370848c; background: var(--panel); padding: clamp(20px, 4vw, 32px); margin-top: 25px; box-shadow: 0 12px 32px #0005; }
.sheet label:not(.option) { display: block; margin: 0 0 6px; font-weight: 625; }
input:not([type="radio"]) { color: var(--ink); width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid #526174; background: #080f18; border-radius: 9px; margin-bottom: 20px; }
input::placeholder { color: #9aa8ba; opacity: 1; }
.primary { display: flex; gap: 10px; justify-content: space-between; align-items: center; width: 100%; min-height: 48px; padding: 12px 16px; text-align: left; border: 1px solid #ffdd97; border-radius: 11px; font-weight: 700; color: #20190b; background: linear-gradient(110deg,#f8dfa7,#d6aa5f); }
.primary:hover:not(:disabled) { filter: brightness(1.07); }
#team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 2vw, 16px); margin: 20px 0; }
.option {
  display: grid;
  padding: 0;
  text-align: start;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 17px;
  background: linear-gradient(150deg, #223547, #0b1828 65%, #132e49) padding-box,
              linear-gradient(135deg, #f6dc9c, #826137 45%, #c89f61 80%, #8fc8ec) border-box;
  box-shadow: 0 6px 15px #0006;
  cursor: pointer;
  touch-action: manipulation;
}
.option:not(:disabled):active { outline: 2px solid var(--gold); outline-offset: 1px; }
.option-caption { min-width: 0; padding: 10px 4px 12px 12px; line-height: 1.25; }
.option strong, .option small { display: block; overflow-wrap: anywhere; }
.option strong { color: #ffe3aa; font-size: clamp(1.05rem, 2.5vw, 1.35rem); }
.option small { margin-top: 3px; color: #d5e0ec; font-size: .83rem; }
.avatar {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: radial-gradient(ellipse at 36% 22%, #324253, #111c2a 80%);
  color: var(--gold);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 650;
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.option-any { grid-column: 1 / -1; grid-template: auto / 38px minmax(0, 1fr); min-height: 60px; padding-left: 12px; }
.option-any .avatar { grid-column: auto; aspect-ratio: 1; border-radius: 10px; font-size: 1.15rem; }
.option-any .option-caption { padding-block: 9px; }
@media (hover: hover) {
  .option:hover:not(:disabled) { box-shadow: 0 6px 18px #0008, 0 0 0 1px #eed399; }
}
@media (forced-colors: active) {
  .option { border-color: ButtonText; }
  .option:focus-visible { outline-color: Highlight; }
}
.receipt { position: relative; overflow: hidden; background: radial-gradient(ellipse at 100% 0%, #163655, transparent 60%), var(--panel); border-color: #a48c5f; }
.receipt-head, .receipt-head span:first-child { display: flex; align-items: center; gap: 9px; }
.receipt-head { justify-content: space-between; flex-wrap: wrap; font-size: .92rem; color: var(--gold); }
.receipt-head svg, .club-note svg { width: 20px; height: 20px; }
#ticket-state { color: #d1e8f8; }
#code { display: block; font: 650 clamp(2.7rem, 9vw, 4.9rem)/1.05 Consolas, monospace; color: #ffe1a6; letter-spacing: .05em; margin-top: 24px; }
#ticket-hint { color: #d8e2ed; margin: 10px 0 20px; }
#issue-progress { color: var(--muted); }
dl { display: grid; gap: 10px; border-top: 1px dashed #627083; padding-top: 15px; margin: 0; }
dl div { display: flex; align-items: baseline; gap: 12px; justify-content: space-between; }
dt { color: var(--muted); } dd { margin: 0; text-align: right; font-weight: 630; overflow-wrap: anywhere; }
#restart { margin-top: 16px; }
.club-note svg { color: var(--gold); } .club-note p { margin: 6px 0 20px; }
.notice { border-left: 3px solid var(--gold); padding: 10px 14px; background: #18202b; border-radius: 0 8px 8px 0; max-width: 640px; color: #f6e7c8; }
.error { border-color: #ed9387; color: #ffcec6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 680px) {
  .mast-inner { min-height: 66px; }
  main { padding-top: 24px; }
  .entry { grid-template-columns: 1fr; gap: 18px; }
  .entry-cover { min-height: 180px; }
  .entry-art { object-position: right 42%; }
  .entry-cover::after { background: linear-gradient(82deg,#07111af7 4%,#091524ed 38%,#0a16269e 68%,#0a162629); }
  .entry-heading p { max-width: 30ch; }
}
@media (max-width: 360px) {
  main, .mast-inner { width: calc(100% - 28px); }
  .wordmark { gap: 6px; } .wordmark img { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .sky-meteor { animation: none !important; }
}

