/* Public event registration page (my.bighornhc.ca/e/...) */
.brand { color: inherit; text-decoration: none; }
.ev { padding-bottom: 130px; }
.ev-hero { gap: 10px; border-top: 4px solid var(--hero-c, #e0703a); background:
  linear-gradient(160deg, color-mix(in srgb, var(--hero-c, #e0703a) 14%, var(--paper)) 0%, var(--paper) 60%); }
.ev-hero h1 { font-size: 2rem; line-height: 1.1; margin: 0; }
.ev-kind { align-self: flex-start; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--hero-c, #e0703a); }
.ev-facts { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 0; }
.ev-fact { display: flex; align-items: center; gap: 10px; }
.ev-fact svg { flex: none; color: var(--muted); }
.ev-fact a { color: inherit; }
.ev-banner { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 700;
  background: color-mix(in srgb, var(--b-c) 15%, transparent); color: var(--ink); border: 1px solid color-mix(in srgb, var(--b-c) 45%, transparent); }
.ev-banner svg { flex: none; color: var(--b-c); }
.ev-banner.early { --b-c: #3fb27a; }
.ev-banner.closes { --b-c: #e0b33a; }
.ev-banner.closed { --b-c: #e05a5a; }
.ev-banner.member { --b-c: #4a9eff; }
.ev-banner a { color: inherit; }
.ev-about p { margin: 0; }
.ev-about ul { margin: 0; padding-left: 1.2rem; }

/* Pick a ticket / tournaments */
.opt-list { display: flex; flex-direction: column; gap: 10px; }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; text-align: left; width: 100%; font: inherit; color: var(--ink);
  background: var(--surface); border: 2px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; }
.opt:hover:not(:disabled) { border-color: color-mix(in srgb, var(--sec-c, var(--accent)) 60%, var(--line)); }
.opt[aria-checked="true"] { border-color: var(--sec-c, var(--accent)); background: color-mix(in srgb, var(--sec-c, var(--accent)) 12%, var(--surface)); }
.opt:disabled { cursor: default; opacity: 0.55; }
.opt-mark { width: 22px; height: 22px; border: 2px solid var(--muted); display: grid; place-items: center; grid-row: span 2; }
.opt-mark.radio { border-radius: 50%; }
.opt-mark.box { border-radius: 6px; }
.opt[aria-checked="true"] .opt-mark { border-color: var(--sec-c, var(--accent)); background: var(--sec-c, var(--accent)); color: #fff; }
.opt[aria-checked="true"] .opt-mark.radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.opt-name { font-weight: 800; font-size: 1.08rem; }
.opt-sub { grid-column: 2; font-size: 0.9rem; color: var(--muted); }
.opt-price { grid-row: span 2; text-align: right; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; white-space: nowrap; }
.opt-price s { display: block; font-family: var(--font-body, inherit); font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.opt-price small { display: block; font-family: var(--font-body, inherit); font-weight: 700; font-size: 0.78rem; color: var(--muted); }
.left { font-weight: 700; color: #e0703a; }
.left.full { color: var(--danger); }
.locked-note { font-size: 0.92rem; color: var(--muted); }

/* Total at the bottom */
.total-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--paper); border-top: 1px solid var(--line);
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.18); }
.total-inner { max-width: 52rem; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.total-inner .sum { flex: 1; min-width: 0; }
.total-inner .sum b { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.total-inner .sum span { font-size: 0.85rem; color: var(--muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.total-inner .btn { flex: none; min-width: 9rem; }

/* events.bighornhc.ca: the list */
a.opt.ev-link { text-decoration: none; }
.ev-date { grid-row: span 2; width: 52px; height: 56px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--sec-c) 18%, transparent); color: var(--sec-c); line-height: 1; }
.ev-date b { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); }
.ev-date span { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; margin-top: 3px; }
.ev-link .chev { grid-row: span 2; }
