/* Event operations: quiet surfaces, clear steps and a persistent next action. */
:root { --bg: #0b0e12; --surface: #14181e; --surface-strong: #1b2027; --muted: #a3adba; --line: #2a323c; --accent: #69d4e5; }
[hidden] { display: none !important; }
.admin-main { max-width: 1600px; width: 100%; margin-inline: auto; padding: 38px clamp(24px, 3.5vw, 56px) 64px; }
.sidebar { background: #101318; }
.page-title { font-family: var(--font-body); font-size: clamp(30px, 3.5vw, 44px); letter-spacing: -.035em; line-height: 1.12; text-transform: none; }
.page-header { margin-bottom: 30px; }
.page-copy { margin-top: 10px; }
.section-heading h2, .form-section h2 { font-family: var(--font-body); text-transform: none; letter-spacing: -.02em; }
.eyebrow { display: block; margin-bottom: 10px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.button { border-radius: 8px; min-height: 46px; }
.button:hover:not(:disabled) { filter: brightness(1.09); }
.nav-button { border-radius: 8px; }
.nav-button.active { background: #1b292f; border-color: #30464e; }
.sidebar-logo { margin-bottom: 46px; }
.sidebar-user { line-height: 1.4; }
.input, .select, .textarea { border-radius: 8px; }
.status-badge { border-radius: 5px; }
.wizard-steps { margin: 0 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.wizard-steps ol { display: flex; list-style: none; padding: 0; margin: 0; gap: 12px; }
.wizard-steps li { flex: 1; }
.wizard-steps button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 4px 0; border: 0; background: none; color: var(--muted); text-align: left; font-size: 14px; cursor: pointer; }
.wizard-steps button:disabled { cursor: default; }
.step-number { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid var(--line); border-radius: 50%; font-variant-numeric: tabular-nums; }
.current button { color: var(--text); font-weight: 700; }
.current .step-number { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.complete .step-number { color: var(--accent); background: #1b292f; border-color: #30464e; }
.wizard-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: start; }
.wizard-layout form { min-width: 0; }
.wizard-panel { min-height: 400px; }
.wizard-panel > h2 { margin: 0; font-size: clamp(23px, 2.3vw, 30px); letter-spacing: -.025em; }
.wizard-panel > h2:focus { outline: none; }
.wizard-intro { color: var(--muted); max-width: 62ch; line-height: 1.55; margin: 12px 0 28px; }
.wizard-fields { margin-top: 24px; }
.wizard-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; padding: 16px 18px; background: #142329; border-left: 2px solid #426f79; border-radius: 0 6px 6px 0; }
.wizard-note > .icon { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.wizard-note p { margin: 0; font-size: 14px; line-height: 1.55; color: #becdd2; }
.wizard-actions { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.wizard-actions > span { margin-right: auto; font-size: 12px; color: var(--muted); max-width: 23ch; }
.wizard-actions .button { padding-inline: 16px; }
.wizard-error { background: #311e20; border-left: 2px solid var(--danger); border-radius: 4px; color: #ffb9b3; padding: 14px 18px; line-height: 1.5; }
.wizard-summary { position: sticky; top: 30px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.wizard-summary .eyebrow { font-size: 10px; color: var(--muted); }
.wizard-summary h3 { overflow-wrap: anywhere; margin: 12px 0 24px; font-size: 21px; line-height: 1.25; }
.screen-preview { width: 126px; height: 224px; margin: 0 auto; border: 5px solid #343d48; border-radius: 10px; background: #080c10; box-shadow: 0 12px 26px #05070970; overflow: hidden; }
.screen-preview.landscape { width: 208px; max-width: 100%; height: 117px; margin-block: 53px 54px; }
.screen-preview-content { display: flex; height: 100%; flex-direction: column; justify-content: space-between; padding: 16px 12px; }
.screen-preview-content img { width: 64px; align-self: center; }
.screen-preview-content > span { font-family: var(--font-display); font-size: 27px; line-height: .93; letter-spacing: .02em; }
.screen-preview.landscape .screen-preview-content { padding: 10px; flex-direction: row; align-items: center; gap: 8px; }
.screen-preview.landscape img { width: 36px; }
.screen-preview.landscape .screen-preview-content > span { font-size: 22px; }
.preview-play { display: flex; justify-content: space-between; align-items: center; padding: 7px; border-radius: 3px; color: var(--bg); background: var(--accent); font-size: 7px; font-weight: bold; }
.preview-caption { text-align: center; font-size: 11px; color: var(--muted); margin-top: 16px; }
.wizard-facts { margin: 24px 0 16px; border-top: 1px solid var(--line); }
.wizard-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; font-size: 13px; }
.wizard-facts dt { color: var(--muted); }
.wizard-facts dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.wizard-summary > .field-help { border-top: 1px solid var(--line); padding-top: 16px; line-height: 1.5; }
.wizard-days { display: grid; gap: 16px; }
.wizard-day { display: grid; grid-template-columns: 30px minmax(130px, 1.5fr) repeat(2, minmax(90px, 1fr)) 32px; gap: 12px; align-items: center; padding: 18px 0; border-block-end: 1px solid var(--line); }
.wizard-day:first-child { padding-top: 0; }
.wizard-day .icon-action, .wizard-prize-row .icon-action { width: 32px; height: 36px; margin-top: 22px; }
.day-index { color: var(--muted); font: 500 14px ui-monospace, monospace; }
.wizard-inline-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.wizard-game-day { padding-block: 22px; border-bottom: 1px solid var(--line); }
.wizard-game-day:first-of-type { padding-top: 0; }
.wizard-game-day h3 { margin: 0; font-size: 19px; }
.wizard-game-day h3 span { color: var(--muted); font-weight: normal; }
.game-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.game-option { position: relative; display: flex; gap: 14px; align-items: center; padding: 18px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; transition: border-color .18s, background .18s; }
.game-option:has(input:checked) { border-color: var(--accent); background: #14282d; }
.game-option:has(input:focus-visible), .orientation-option:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.game-option input, .orientation-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.game-art { color: var(--muted); flex-shrink: 0; }
.game-option:has(input:checked) .game-art { color: var(--accent); }
.game-option strong { display: block; margin-bottom: 6px; font-size: 18px; }
.game-option small { display: block; color: var(--muted); line-height: 1.4; font-size: 12px; }
.selection-mark { display: grid; place-items: center; position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; border: 1px solid var(--line); border-radius: 3px; color: transparent; }
.game-option:has(input:checked) .selection-mark { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.wizard-prizes { margin-top: 18px; }
.wizard-prizes summary { cursor: pointer; font-size: 14px; padding-block: 8px; }
.wizard-prizes summary span { margin-left: 8px; color: var(--muted); font-size: 12px; }
.wizard-prize-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px 32px; gap: 12px; margin-block: 12px; }
.orientation-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
.orientation-options legend { margin-bottom: 14px; font-size: 14px; }
.orientation-option { position: relative; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: flex-end; min-height: 164px; padding: 20px 8px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.orientation-option:has(input:checked) { border-color: var(--accent); background: #14282d; }
.orientation-option small { color: var(--muted); text-align: center; font-size: 12px; }
.monitor-shape { display: block; width: 30px; height: 50px; margin-bottom: 8px; border: 2px solid var(--muted); border-radius: 4px; }
.monitor-shape.landscape { width: 62px; height: 36px; }
.monitor-shape.auto { width: 44px; height: 44px; border-style: dashed; }
.orientation-option:has(input:checked) .monitor-shape { border-color: var(--accent); }
.review-identity { display: grid; gap: 8px; margin-bottom: 24px; }
.review-identity strong { font-size: 23px; }
.review-identity span { color: var(--muted); font-size: 14px; }
.review-days article { display: grid; grid-template-columns: 24px 1fr 1.2fr auto; gap: 14px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); font-size: 14px; }
.review-days article > div > span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.review-days article > div:nth-of-type(2) { display: flex; gap: 8px; align-items: center; }
.review-days article > span:last-child { color: var(--muted); font-size: 12px; }
.wizard-success { max-width: 760px; margin: 20px auto; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 28px; background: #173037; color: var(--accent); border-radius: 50%; }
.wizard-success > p { color: var(--muted); line-height: 1.5; }
.access-handoff { padding: 26px; margin-block: 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.access-handoff h2 { margin-top: 0; font-size: 22px; }
.access-handoff .link-label { display: block; margin: 20px 0 8px; }
.access-handoff .textarea { min-height: 90px; font-size: 13px; }
.access-handoff .check-label { margin-top: 24px; }
.event-list { display: grid; gap: 12px; }
.event-list-item { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(70px, .5fr)) auto; align-items: center; gap: 24px; padding: 24px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; }
.event-list-item h2 { margin: 12px 0 5px; font-size: 22px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.event-list-item p { margin: 0; color: var(--muted); font-size: 13px; }
.event-list-stat { display: grid; gap: 6px; }
.event-list-stat strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.event-list-stat span { color: var(--muted); font-size: 13px; }
.event-guide { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 24px 28px; margin-bottom: 28px; border: 1px solid #30464e; border-radius: 10px; background: #142329; }
.event-guide h2 { margin: 0 0 8px; font-size: 23px; }
.event-guide p { max-width: 64ch; margin: 0; line-height: 1.5; color: #becdd2; }
.day-guide { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.day-guide span { padding: 8px 12px; border-radius: 5px; color: var(--muted); background: var(--surface); font-size: 13px; }
.day-guide span.ready { color: var(--accent); background: #142329; }
.day-game-settings summary { cursor: pointer; font-size: 18px; font-weight: 700; }
.day-game-settings .form-grid { margin-top: 22px; }
.day-game-choice { margin-block: 22px; }
@media (max-width: 1200px) {
  .wizard-layout { grid-template-columns: minmax(0, 1fr) 225px; gap: 22px; }
  .wizard-summary { padding: 18px; }
  .game-option { flex-direction: column; align-items: flex-start; }
  .game-art .icon { width: 32px; height: 32px; }
  .wizard-actions > span { display: none; }
  .wizard-actions .button:first-child { margin-right: auto; }
  .wizard-day { gap: 8px; grid-template-columns: 22px minmax(122px, 1.4fr) repeat(2, minmax(84px, 1fr)) 30px; }
  .wizard-day .input { padding-inline: 8px; }
}
@media (max-width: 800px) {
  .wizard-layout { grid-template-columns: minmax(0, 1fr); }
  .wizard-summary { position: static; display: none; }
  .wizard-steps button { flex-direction: column; align-items: flex-start; font-size: 12px; gap: 8px; }
  .event-list-item { grid-template-columns: 1fr auto; gap: 18px; }
  .event-list-stat { display: none; }
  .event-guide { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 500px) {
  .wizard-steps ol { gap: 7px; }
  .wizard-steps button { font-size: 11px; }
  .wizard-day { grid-template-columns: 22px 1fr 1fr 30px; }
  .wizard-day .field:first-of-type { grid-column: 2 / 4; }
  .wizard-day .field:nth-of-type(2) { grid-column: 2; }
  .wizard-day .field:nth-of-type(3) { grid-column: 3; }
  .wizard-day .icon-action { grid-column: 4; grid-row: auto; }
  .wizard-panel { min-height: 0; }
  .wizard-actions { flex-wrap: wrap; }
  .wizard-actions .button { flex: 1; font-size: 14px; padding-inline: 12px; }
  .orientation-options { gap: 8px; }
  .orientation-option small { font-size: 11px; }
  .review-days article { grid-template-columns: 20px 1fr auto; }
  .review-days article > div:nth-of-type(2) { grid-column: 2; }
  .review-days article > span:last-child { grid-column: 3; grid-row: 1 / 3; }
  .event-list-item { padding: 18px; }
  .event-list-item .button { font-size: 13px; padding-inline: 12px; }
  .nav-button { gap: 6px; }
  .nav-button span { display: inline; font-size: 12px; }
}
.day-screen-list { display: grid; gap: 14px; }
.day-screen-card { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, 1.3fr) auto; align-items: center; gap: 24px; padding: 24px; border: 1px solid var(--border, #2b333c); border-radius: 16px; background: var(--surface, #13181e); }
.day-screen-date h3 { margin: 8px 0; font-size: 22px; }
.day-screen-date p, .day-screen-info small { margin: 0; color: var(--text-muted, #a5adb6); }
.day-screen-info p { margin: 12px 0 6px; }
.day-screen-actions, .wizard-day-accesses { display: grid; gap: 10px; }
.wizard-day-accesses { width: min(100%, 560px); margin: 24px auto; }
.daily-access { display: grid; gap: 18px; }
.daily-access .dialog-header, .daily-access p { margin: 0; }
.daily-access .dialog-header h2 { font: 700 25px/1.2 var(--font-body); letter-spacing: -.02em; text-transform: none; margin-top: 8px; }
.daily-access-context { color: var(--text-muted, #a5adb6); font-size: 14px; line-height: 1.6; }
.daily-games { color: var(--accent, #35d6f4); font-size: 14px; }
.access-primary, .access-password-row, .access-footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.access-primary > * { flex: 1; }
.access-password-row input { flex: 1; min-width: 140px; }
.access-options { border-top: 1px solid var(--border, #2b333c); padding-top: 16px; }
.access-options summary { cursor: pointer; font-weight: 600; }
.access-options form { margin-top: 16px; }
.access-footer { justify-content: space-between; }
@media (max-width: 1000px) { .day-screen-card { grid-template-columns: 1fr 1fr; } .day-screen-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } }
@media (max-width: 550px) { .day-screen-card { grid-template-columns: 1fr; gap: 18px; padding: 20px; } .day-screen-actions { grid-template-columns: 1fr; } .access-primary { flex-direction: column; align-items: stretch; } .daily-access.dialog-body { padding: 20px; } }
