/* Shared chrome for admin, login, watch, thank-you pages.
   Webinar landing pages keep their own inline styles. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --y:  #FFF200;   /* yellow  — primary CTA, registrations */
  --c:  #00CFFF;   /* cyan    — video engagement, completions */
  --hi: #FF6058;   /* coral   — drop-off, loss, warnings */
  --bg: #0d0d0d;
  --bg2: #131313;
  --bg3: #1a1a1a;
  --text: #fff;
  --muted: rgba(255,255,255,.65);
  --soft: rgba(255,255,255,.38);
  --line: rgba(255,255,255,.07);
  --line2: rgba(255,255,255,.12);
  --fh: 'Instrument Sans', sans-serif;
  --fb: 'Passion One', sans-serif;
}

html { min-height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--fh);
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(255,242,0,.95);
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; height: 70px; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.site-branding a { text-decoration: none; display: block; }
.site-branding img { height: 36px; width: auto; display: block; }
.logo-fallback { display: none; font-weight: 700; color: #1a1a1a; font-size: 15px; letter-spacing: .04em; }

.site-navigation ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.site-navigation li { position: relative; }
.site-navigation a {
  text-decoration: none; color: #1a1a1a; font-size: 14px; padding: 8px 14px; display: block;
  border-radius: 8px; transition: background .18s ease;
}
.site-navigation a:hover { background: rgba(0,0,0,.08); }
.sub-menu {
  position: absolute; display: flex; flex-direction: column;
  left: 0; top: calc(100% + 10px); min-width: 230px; padding: 6px;
  background: #1a1a1a; box-shadow: 0 16px 40px rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.07); border-radius: 16px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  pointer-events: none; z-index: 30;
}
.site-navigation li:hover > .sub-menu,
.site-navigation li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.sub-menu li a { color: rgba(255,255,255,.75); padding: 10px 14px; border-radius: 10px; border: none; font-size: 13px; }
.sub-menu li a:hover { background: rgba(255,255,255,.06); color: #fff; }

.header-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #111; color: var(--y); text-decoration: none; cursor: pointer;
  font-family: var(--fh); font-weight: 700; letter-spacing: .01em; font-size: 14px;
  padding: 10px 18px; border-radius: 10px; white-space: nowrap;
  transition: transform .2s ease, background .2s;
}
.header-cta:hover { transform: translateY(-1px); background: #222; }

/* ── MAIN ──────────────────────────────────────────────── */
.app-main { flex: 1; max-width: 1100px; width: 100%; margin: 0 auto; padding: 52px 28px 80px; }

/* ── PAGE TITLE ─────────────────────────────────────────── */
h1.page-title {
  font-family: var(--fb); font-size: clamp(36px, 5.5vw, 56px);
  line-height: .95; letter-spacing: -.01em; margin-bottom: 12px;
}
h1.page-title .accent { color: var(--y); }
.page-sub { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 640px; }

/* ── TOOLBAR ────────────────────────────────────────────── */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; margin-top: 28px; margin-bottom: 8px;
}
.toolbar a, .toolbar select {
  font: inherit; font-size: 13px; font-weight: 500;
  color: var(--muted);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 9px 16px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: border-color .2s, background .2s, color .2s;
  appearance: none; -webkit-appearance: none;
}
.toolbar a:hover {
  border-color: rgba(255,242,0,.45);
  background: rgba(255,242,0,.06);
  color: var(--y);
}
.toolbar a.toolbar-primary {
  background: var(--y); color: #111; font-weight: 700; border-color: var(--y);
}
.toolbar a.toolbar-primary:hover { background: #e5da00; color: #111; border-color: #e5da00; }
.toolbar a.toolbar-dl {
  background: rgba(255,242,0,.07);
  border-color: rgba(255,242,0,.22);
  color: rgba(255,242,0,.85);
}
.toolbar a.toolbar-dl:hover { background: var(--y); color: #111; border-color: var(--y); }
.toolbar select {
  padding-right: 32px;
  background-color: var(--bg2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  color-scheme: dark;
}
.toolbar select option { background: var(--bg2); color: var(--text); }

/* ── ADMIN DASHBOARD CARDS ──────────────────────────────── */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px; margin-top: 40px;
}
.admin-card {
  display: flex; flex-direction: column;
  padding: 28px 26px 48px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px; text-decoration: none; color: inherit;
  background: rgba(255,255,255,.025);
  position: relative; overflow: hidden;
  transition: border-color .25s, background .25s, transform .22s ease, box-shadow .25s;
}
.admin-card-stretch {
  position: absolute; inset: 0; z-index: 0; border-radius: 20px;
}
.admin-card-links { position: relative; z-index: 1; }
.admin-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255,242,0,0), rgba(255,242,0,.5), rgba(255,242,0,0));
  opacity: 0; transition: opacity .3s;
}
.admin-card::after {
  content: '→'; position: absolute; bottom: 22px; right: 24px;
  font-size: 15px; color: rgba(255,255,255,.2);
  transition: color .2s, transform .25s ease;
}
.admin-card:hover {
  border-color: rgba(255,242,0,.42);
  background: linear-gradient(150deg, rgba(255,242,0,.055), rgba(255,255,255,.02));
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(255,242,0,.12);
}
.admin-card:hover::before { opacity: 1; }
.admin-card:hover::after { color: var(--y); transform: translateX(5px); }
.admin-card-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255,242,0,.08); border: 1px solid rgba(255,242,0,.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background .25s, border-color .25s;
}
.admin-card:hover .admin-card-icon { background: rgba(255,242,0,.16); border-color: rgba(255,242,0,.35); }
.admin-card strong {
  display: block; font-family: var(--fb);
  font-size: 24px; letter-spacing: -.01em; line-height: 1;
  margin-bottom: 8px;
}
.admin-card p { font-size: 13px; color: var(--soft); line-height: 1.65; margin: 0; }
.admin-card-links { list-style: none; margin: 16px 0 0; display: grid; gap: 5px; position: relative; z-index: 1; }
.admin-card-links li { font-size: 12px; color: rgba(255,255,255,.35); }
.admin-card-links li a { color: rgba(255,242,0,.75); text-decoration: none; transition: color .15s; position: relative; z-index: 1; }
.admin-card-links li a:hover { color: var(--y); }

/* ── STAT CARDS ─────────────────────────────────────────── */
.stat-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px; margin: 24px 0;
}
.stat-cards .stat {
  padding: 24px 22px; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
  position: relative; overflow: hidden;
}
.stat-cards .stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--y), rgba(255,242,0,.0));
}
.stat-cards .stat strong {
  display: block; font-family: var(--fb);
  font-size: clamp(42px, 5.5vw, 60px); line-height: 1;
  color: var(--y); margin-bottom: 7px; letter-spacing: -.02em;
  text-shadow: 0 0 28px rgba(255,242,0,.5), 0 0 64px rgba(255,242,0,.2);
}
.stat-cards .stat span {
  font-size: 10px; color: var(--soft); letter-spacing: .1em;
  text-transform: uppercase; line-height: 1.5; font-weight: 600;
}

/* ── REPORT SECTIONS ────────────────────────────────────── */
.report-section {
  margin-top: 64px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.07);
  position: relative;
}
.report-section::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 52px; height: 2px; background: var(--y);
}
.report-section > h2 {
  font-family: var(--fb); font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -.01em; margin-bottom: 6px; line-height: 1;
}
.report-section > p { font-size: 13px; color: var(--soft); margin-bottom: 16px; }
.report-section > p a { color: rgba(255,242,0,.7); }
.report-subsection { margin-top: 36px; }
.report-sublabel {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--y); font-weight: 700; margin-bottom: 14px;
}
.report-sublabel::before { content: ''; width: 22px; height: 2px; background: var(--y); flex-shrink: 0; }

/* ── TABLES ──────────────────────────────────────────────── */
.report-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.report-table thead tr { border-bottom: 1px solid rgba(255,255,255,.09); }
.report-table th {
  text-align: left; padding: 10px 14px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--soft); font-weight: 700;
}
.report-table td {
  text-align: left; padding: 13px 14px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--muted);
}
.report-table td strong { color: var(--text); }
.report-table tbody tr:last-child td { border-bottom: none; }
.report-table tbody tr:hover td { background: rgba(255,255,255,.025); }
.bar {
  display: inline-block; height: 4px; background: var(--y); border-radius: 999px;
  vertical-align: middle; margin-right: 8px; min-width: 3px; opacity: .9;
}

/* ── JOURNEY FUNNEL ──────────────────────────────────────── */
.funnel { width: 100%; margin: 28px 0 8px; display: flex; flex-direction: column; gap: 4px; }
.funnel-row {
  display: flex; align-items: center; gap: 18px;
  border-radius: 10px; padding: 13px 20px;
  border-left: 3px solid rgba(255,242,0,.25);
  width: 100%; position: relative; overflow: hidden;
}
.funnel-row::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0;
  width: var(--w, 100%); border-radius: inherit;
  background: rgba(255,242,0,.07); transition: background .2s; z-index: 0;
}
.funnel-row > * { position: relative; z-index: 1; }
.funnel-row:first-child { border-left-color: rgba(255,242,0,.6); }
.funnel-row:first-child::before { background: rgba(255,242,0,.14); }
.funnel-row:hover::before { background: rgba(255,242,0,.12); }
.funnel-row strong {
  font-family: var(--fb); font-size: 40px; color: var(--y); line-height: 1;
  flex-shrink: 0; min-width: 3ch; text-shadow: 0 0 20px rgba(255,242,0,.28);
}
.funnel-row-meta { display: flex; flex-direction: column; gap: 3px; }
.funnel-row-label { font-size: 11px; color: var(--text); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.funnel-row-pct { font-size: 11px; color: var(--c); opacity: .8; }
.funnel-drop { font-size: 11px; color: var(--hi); padding: 3px 0 3px 22px; letter-spacing: .03em; opacity: .8; }
/* Last funnel row (finished) glows cyan */
.funnel-row:last-of-type { border-left-color: rgba(0,207,255,.5); }
.funnel-row:last-of-type::before { background: rgba(0,207,255,.07); }
.funnel-row:last-of-type:hover::before { background: rgba(0,207,255,.11); }
.funnel-row:last-of-type strong { text-shadow: 0 0 20px rgba(0,207,255,.45), 0 0 48px rgba(0,207,255,.15); }

/* ── TABS ────────────────────────────────────────────────── */
.tab-strip { display: flex; gap: 4px; margin-bottom: 16px; }
.tab-btn {
  padding: 7px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03); color: var(--soft);
  font-family: var(--fh); font-size: 12px; font-weight: 600; letter-spacing: .08em;
  cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
.tab-btn:hover { border-color: rgba(255,242,0,.3); color: var(--text); }
.tab-btn.active { background: rgba(255,242,0,.12); border-color: rgba(255,242,0,.4); color: var(--y); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── UTM BAR CHART ───────────────────────────────────────── */
.utm-bars { display: flex; flex-direction: column; gap: 10px; }
.utm-row { display: flex; align-items: center; gap: 14px; }
.utm-label {
  width: 150px; font-size: 13px; color: var(--text); flex-shrink: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right;
}
.utm-track { flex: 1; height: 28px; background: rgba(255,255,255,.04); border-radius: 6px; overflow: hidden; }
.utm-fill {
  height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,242,0,.45), rgba(255,242,0,.1));
  transition: width .4s ease;
}
.utm-num { width: 90px; font-size: 12px; color: var(--soft); flex-shrink: 0; white-space: nowrap; }

/* ── RETENTION CHART ─────────────────────────────────────── */
.retention-chart {
  display: flex; align-items: flex-end; gap: 16px;
  height: 180px; margin: 24px 0 8px;
}
.ret-col { display: flex; flex-direction: column; align-items: center; flex: 1; height: 100%; justify-content: flex-end; }
.ret-pct {
  font-family: var(--fb); font-size: 22px; color: var(--c); line-height: 1; margin-bottom: 8px;
  text-shadow: 0 0 16px rgba(0,207,255,.4);
}
.ret-bar {
  width: 100%; min-height: 4px; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, rgba(0,207,255,.65) 0%, rgba(0,207,255,.12) 100%);
  border-top: 1px solid rgba(0,207,255,.45);
}
.ret-label { font-size: 10px; color: var(--soft); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-top: 10px; }
.ret-n { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── PROGRESS TRACK (per-registrant table) ───────────────── */
.progress-track {
  width: 72px; height: 5px; background: rgba(255,255,255,.08); border-radius: 999px;
  overflow: hidden; display: inline-block; vertical-align: middle; margin-right: 7px;
}
.progress-fill { height: 100%; background: var(--y); border-radius: 999px; }
.progress-num { font-size: 12px; color: var(--soft); vertical-align: middle; }

/* ── PILL BADGES ─────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.pill-live { background: rgba(0,207,255,.12); border: 1px solid rgba(0,207,255,.35); color: var(--c); }

/* ── PAGINATED TABLE ─────────────────────────────────────── */
.sticky-table-wrap { border-radius: 10px; border: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.sticky-table thead th { background: #0d0d0d; box-shadow: 0 1px 0 rgba(255,255,255,.09); }
.pager {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
}
.pager .pg-info { font-size: 12px; color: var(--soft); flex: 1; text-align: center; }
.pager .tab-btn:disabled { opacity: .3; cursor: not-allowed; pointer-events: none; }

/* ── SECONDARY COLOUR ACCENTS ────────────────────────────── */
/* Video engagement section: cyan accent line + stat glow */
.report-section--video::before { background: var(--c); }
.report-section--video .stat strong {
  text-shadow: 0 0 28px rgba(0,207,255,.45), 0 0 64px rgba(0,207,255,.15);
}
/* Live/Zoom section: coral accent line */
.report-section--zoom::before { background: var(--hi); }
/* Progress fill: cyan track */
.progress-fill { background: var(--c); }

/* ── ADMIN CARD COLOUR VARIANTS ─────────────────────────── */
.admin-card--cyan .admin-card-icon { color: var(--c); }
.admin-card--cyan::before { background: linear-gradient(90deg, var(--c), rgba(0,207,255,0)); }
.admin-card--cyan:hover {
  border-color: rgba(0,207,255,.38);
  background: linear-gradient(150deg, rgba(0,207,255,.06) 0%, transparent 70%);
  box-shadow: 0 16px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(0,207,255,.1);
}
.admin-card--cyan:hover .admin-card-icon { background: rgba(0,207,255,.1); border-color: rgba(0,207,255,.3); }
.admin-card--cyan:hover::after { color: var(--c); }

.admin-card--coral .admin-card-icon { color: var(--hi); }
.admin-card--coral::before { background: linear-gradient(90deg, var(--hi), rgba(255,96,88,0)); }
.admin-card--coral:hover {
  border-color: rgba(255,96,88,.38);
  background: linear-gradient(150deg, rgba(255,96,88,.06) 0%, transparent 70%);
  box-shadow: 0 16px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(255,96,88,.1);
}
.admin-card--coral:hover .admin-card-icon { background: rgba(255,96,88,.1); border-color: rgba(255,96,88,.3); }
.admin-card--coral:hover::after { color: var(--hi); }

.admin-card--neutral::before { background: none; }
.admin-card--neutral .admin-card-icon { color: rgba(255,255,255,.45); }
.admin-card--neutral:hover {
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(150deg, rgba(255,255,255,.04) 0%, transparent 70%);
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
.admin-card--neutral:hover .admin-card-icon { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.admin-card--neutral:hover::after { color: var(--text); }

/* ── SETTINGS FIELD FOCUS ACCENTS ────────────────────────── */
.field--video .input:focus { border-color: rgba(0,207,255,.65); box-shadow: 0 0 0 3px rgba(0,207,255,.1); }
.field--zoom  .input:focus { border-color: rgba(255,96,88,.65);  box-shadow: 0 0 0 3px rgba(255,96,88,.1); }
.field--video .field-hint a { color: rgba(0,207,255,.7); }
.field--zoom  .field-hint a { color: rgba(255,96,88,.7); }

/* On-demand radio → cyan */
.radio-option--ondemand input[type="radio"] { accent-color: var(--c); }
.radio-option--ondemand:has(input:checked) { border-color: rgba(0,207,255,.4); background: rgba(0,207,255,.07); }

/* ── CARD COLOUR VARIANTS ────────────────────────────────── */
.card.card--zoom::before  { background: linear-gradient(90deg, rgba(255,96,88,.6),  rgba(255,96,88,0)); }
.card.card--video::before { background: linear-gradient(90deg, rgba(0,207,255,.55), rgba(0,207,255,0)); }

/* ── HOME / EVENTS PAGE ─────────────────────────────────── */
.events-page { max-width: 900px; margin: 0 auto; padding: 48px 24px 100px; }
.events-page-header { margin-bottom: 48px; }
.events-page-header h1 { margin-bottom: 10px; }

.event-featured {
  position: relative; overflow: hidden;
  border-radius: 20px;
  background: rgba(255,255,255,.028);
  border: 1px solid rgba(255,255,255,.1);
  padding: 52px 56px;
  text-decoration: none; color: inherit;
  display: block;
  transition: border-color .25s;
}
.event-featured::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 90% at 85% 50%, rgba(0,207,255,.09) 0%, transparent 65%);
  pointer-events: none;
}
.event-featured::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--c), rgba(0,207,255,0) 60%);
}
.event-featured--live::before { background: radial-gradient(ellipse 70% 90% at 85% 50%, rgba(255,96,88,.09) 0%, transparent 65%); }
.event-featured--live::after  { background: linear-gradient(90deg, var(--hi), rgba(255,96,88,0) 60%); }
.event-featured:hover { border-color: rgba(255,255,255,.2); }
.event-featured--live:hover  { border-color: rgba(255,96,88,.3); }
.event-featured:not(.event-featured--live):hover { border-color: rgba(0,207,255,.3); }

.event-featured-inner { position: relative; z-index: 1; max-width: 60%; }
.event-featured-kicker {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--soft); font-weight: 600; margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.event-featured-kicker::before {
  content: ''; display: inline-block; width: 24px; height: 1px; background: var(--soft);
}
.event-featured-title {
  font-family: 'Passion One', sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04; font-weight: 900;
  margin: 0 0 28px; color: #fff; letter-spacing: .01em;
}
.event-featured-title em { font-style: normal; color: var(--c); }
.event-featured--live .event-featured-title em { color: var(--hi); }
.event-featured-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.event-featured-date { font-size: 13px; color: var(--soft); }
.event-featured-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 12px;
  font-weight: 700; font-size: 14px; letter-spacing: .02em;
  background: rgba(0,207,255,.12); border: 1px solid rgba(0,207,255,.4);
  color: var(--c); transition: background .2s, border-color .2s;
}
.event-featured--live .event-featured-cta {
  background: rgba(255,96,88,.12); border-color: rgba(255,96,88,.4); color: var(--hi);
}
.event-featured:hover .event-featured-cta { background: rgba(0,207,255,.22); border-color: rgba(0,207,255,.65); }
.event-featured--live:hover .event-featured-cta { background: rgba(255,96,88,.22); border-color: rgba(255,96,88,.65); }

.event-featured-deco {
  position: absolute; right: 48px; top: 50%; transform: translateY(-50%);
  font-family: 'Passion One', sans-serif; font-size: 200px; font-weight: 900;
  line-height: 1; pointer-events: none; user-select: none;
  color: rgba(0,207,255,.05);
  letter-spacing: -.02em;
}
.event-featured--live .event-featured-deco { color: rgba(255,96,88,.06); }

.events-more-label {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--soft); margin: 40px 0 16px; font-weight: 600;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.event-card {
  position: relative; overflow: hidden; border-radius: 16px;
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08);
  padding: 26px 28px 22px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .2s, background .2s;
}
.event-card::before {
  content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px;
  border-radius: 0 2px 2px 0;
}
.event-card--ondemand::before { background: var(--c); }
.event-card--live::before { background: var(--hi); }
.event-card:hover { background: rgba(255,255,255,.04); }
.event-card--ondemand:hover { border-color: rgba(0,207,255,.28); }
.event-card--live:hover { border-color: rgba(255,96,88,.28); }
.event-card-mode { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding-left: 4px; }
.event-card--ondemand .event-card-mode { color: var(--c); }
.event-card--live .event-card-mode { color: var(--hi); }
.event-card-title {
  font-family: 'Passion One', sans-serif;
  font-size: 19px; font-weight: 700; line-height: 1.15;
  margin: 0; color: #fff; padding-left: 4px;
}
.event-card-date { font-size: 12px; color: var(--soft); padding-left: 4px; }
.event-card-cta { font-size: 13px; font-weight: 700; margin-top: 8px; padding-left: 4px; }
.event-card--ondemand .event-card-cta { color: var(--c); }
.event-card--live .event-card-cta { color: var(--hi); }

/* ── CODE ────────────────────────────────────────────────── */
code {
  font-family: 'Courier New', 'Consolas', monospace; font-size: .85em;
  background: rgba(255,255,255,.07); border-radius: 5px;
  padding: 2px 6px; color: rgba(255,242,0,.85); letter-spacing: 0;
}

/* ── SETTINGS CARDS ─────────────────────────────────────── */
.card {
  margin-top: 20px; padding: 30px 34px;
  border-radius: 20px; max-width: 700px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.09);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, rgba(255,242,0,.6), rgba(255,242,0,.0));
}
.card h2 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.card h3 { font-size: 15px; font-weight: 700; letter-spacing: .01em; margin-bottom: 14px; color: var(--text); }
.card-slug {
  display: inline-block; font-size: 11px; color: var(--soft);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px; padding: 3px 9px; margin-bottom: 24px; letter-spacing: .04em;
  font-family: 'Courier New', monospace;
}
.card p { font-size: 13px; color: var(--soft); }

/* ── FORM ELEMENTS ──────────────────────────────────────── */
.field { margin: 20px 0; }
.field > label, .field-label {
  display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--soft); font-weight: 700; margin-bottom: 9px;
}
.input {
  width: 100%; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04); color: var(--text);
  border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 14px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: rgba(255,242,0,.65); box-shadow: 0 0 0 3px rgba(255,242,0,.1); }
.input::placeholder { color: rgba(255,255,255,.25); }

.radio-group { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.radio-option {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 16px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03);
  cursor: pointer; font-size: 14px; color: var(--muted); font-weight: 500;
  transition: border-color .2s, background .2s, color .2s; user-select: none;
}
.radio-option input[type="radio"] { accent-color: var(--y); width: 15px; height: 15px; cursor: pointer; }
.radio-option:has(input:checked) {
  border-color: rgba(255,242,0,.4); background: rgba(255,242,0,.07); color: #fff;
}

.field > label.checkbox-field,
.checkbox-field {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 14px 16px; background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.checkbox-field:hover { border-color: rgba(255,242,0,.25); background: rgba(255,242,0,.03); }
.checkbox-field input[type="checkbox"] { accent-color: var(--y); margin-top: 3px; flex-shrink: 0; width: 15px; height: 15px; cursor: pointer; }
.checkbox-field-body { display: flex; flex-direction: column; gap: 4px; }
.checkbox-field-label { font-size: 14px; color: var(--text); font-weight: 500; line-height: 1.4; }
.checkbox-field-hint { font-size: 12px; color: var(--soft); line-height: 1.55; }

.upload-zone {
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 14px; padding: 28px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: rgba(255,255,255,.02); text-align: center;
  transition: border-color .2s, background .2s; cursor: pointer;
}
.upload-zone:hover, .upload-zone:focus-within {
  border-color: rgba(0,207,255,.4); background: rgba(0,207,255,.04);
}
.upload-zone input[type="file"] {
  font: inherit; font-size: 13px; color: var(--muted); cursor: pointer;
  background: none; border: none; outline: none; width: 100%; text-align: center;
}
.upload-zone-hint { font-size: 12px; color: var(--soft); line-height: 1.6; }

.field-hint { font-size: 12px; color: var(--soft); line-height: 1.6; margin-top: 7px; }
.field-hint a { color: rgba(255,242,0,.7); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--y); color: #111; text-decoration: none; border: none; cursor: pointer;
  font-family: var(--fh); font-weight: 700; font-size: 15px;
  padding: 14px 32px; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(255,242,0,.2);
  transition: transform .2s ease, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); background: #e5da00; box-shadow: 0 12px 32px rgba(255,242,0,.3); }

/* ── NOTICES ─────────────────────────────────────────────── */
.notice { margin-top: 18px; padding: 14px 18px; border-radius: 14px; font-size: 14px; line-height: 1.6; max-width: 680px; }
.notice.ok { border: 1px solid rgba(255,242,0,.3); background: rgba(255,242,0,.07); color: rgba(255,255,255,.85); }
.notice.err { border: 1px solid rgba(255,96,88,.4); background: rgba(255,96,88,.08); color: rgba(255,255,255,.85); }

/* ── VIDEO PLAYER ────────────────────────────────────────── */
.player-wrap { margin-top: 32px; max-width: 960px; }
.player-frame {
  position: relative; padding-top: 56.25%; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08); background: #000;
}
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── GENERIC CARD (login, etc.) ──────────────────────────── */
.card-sm {
  margin-top: 32px; padding: 28px; border-radius: 20px; max-width: 480px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
}
.card-sm h2 { font-size: 20px; margin-bottom: 10px; }
.card-sm p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: #080808; border-top: 1px solid rgba(255,255,255,.07); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 40px 28px 20px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand a { display: inline-flex; align-items: center; text-decoration: none; margin-bottom: 10px; }
.footer-brand .v { font-size: 18px; font-weight: 700; color: var(--y); }
.footer-brand .dot { color: var(--y); font-size: 20px; line-height: 1; }
.footer-brand .c { font-size: 13px; letter-spacing: .08em; color: #fff; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.38); line-height: 1.7; margin-top: 6px; }
.footer-cols { display: flex; gap: 44px; flex-wrap: wrap; }
.footer-cols h4 { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 14px; }
.footer-cols ul { list-style: none; display: grid; gap: 10px; }
.footer-cols a { font-size: 13px; color: rgba(255,255,255,.45); text-decoration: none; transition: color .18s; }
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.07);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-bottom p, .footer-bottom a { font-size: 12px; color: rgba(255,255,255,.25); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.5); }

@media (max-width: 900px) {
  .site-navigation { display: none; }
  .header-inner, .app-main, .footer-inner { padding-left: 20px; padding-right: 20px; }
}
