/* TRSS Events app — standalone styles (no theme CSS is loaded on app pages).
   TRSS navy with a subtle blue gradient; cards filled with a subtle TRSS blue → navy gradient and a
   specular gradient edge; #D64000 only for buttons, icons and the TRSS logo (never for text on dark);
   Clario 400/500; no shadows; radius-only shapes (circles and pills). */

@font-face { font-family: 'Clario'; src: url('fonts/Clario-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Clario'; src: url('fonts/Clario-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Clario'; src: url('fonts/Clario-Medium.woff2') format('woff2'); font-weight: 500 600; font-style: normal; font-display: swap; }

:root {
    --ev-navy: #001132;
    /* 4-corner gradient, alternating the two app colours: #123260 top-left and bottom-right, #001132 top-right and bottom-left */
    --ev-bg:
        radial-gradient(120% 75% at 0% 0%, #123260 0%, rgba(18, 50, 96, 0) 75%),
        radial-gradient(120% 75% at 100% 100%, #123260 0%, rgba(18, 50, 96, 0) 75%),
        #001132;
    --ev-icon: #fcf2da;      /* every icon */
    --ev-surface: linear-gradient(155deg, rgba(8, 116, 227, .24) 0%, rgba(8, 116, 227, .1) 48%, rgba(0, 17, 50, .42) 100%);
    --ev-glass: linear-gradient(155deg, rgba(8, 116, 227, .26) 0%, rgba(30, 60, 140, .16) 50%, rgba(0, 17, 50, .3) 100%);
    --ev-stroke: linear-gradient(140deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .14) 22%, rgba(255, 255, 255, .04) 52%, rgba(143, 200, 255, .26) 100%);
    --ev-stroke-btn: linear-gradient(180deg, rgba(255, 214, 190, .75) 0%, rgba(255, 255, 255, .12) 45%, rgba(255, 255, 255, 0) 100%);
    --ev-surface-flat: rgba(150, 178, 255, .11);
    --ev-surface-2: rgba(170, 195, 255, .16);
    --ev-surface-3: rgba(185, 205, 255, .22);
    --ev-line: rgba(180, 200, 255, .16);
    --ev-line-2: rgba(180, 200, 255, .1);
    --ev-text: #f4f7ff;      /* body text */
    --ev-head: #ffffff;      /* headings */
    --ev-sub: #dbe6ff;       /* subheadings (slightly blue) */
    --ev-soft: #ccd6ee;      /* secondary body */
    --ev-desc: #b2bfdd;      /* descriptions */
    --ev-muted: #a3b0d0;     /* labels, meta */
    --ev-orange: #d64000;    /* buttons, icons, TRSS logo only */
    --ev-orange-text: #fcf2da; /* icon colour (kept name for older rules) */
    --ev-btn: linear-gradient(180deg, #e2490a 0%, #d64000 45%, #b83700 100%);
    --ev-link: #8fc8ff;
    --ev-focus: #8fc8ff;
    --ev-radius: 24px;
    --ev-col: 480px;
    --ev-nav-h: 64px;
    --ev-safe-t: env(safe-area-inset-top, 0px);
    --ev-safe-b: env(safe-area-inset-bottom, 0px);
    --ev-safe-l: env(safe-area-inset-left, 0px);
    --ev-safe-r: env(safe-area-inset-right, 0px);
    --ev-font: 'Clario', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: #001132; }
body.ev-body {
    margin: 0; min-height: 100vh; min-height: 100dvh;
    background: #001132;
    color: var(--ev-text); font-family: var(--ev-font); font-size: 1rem; font-weight: 400; line-height: 1.5;
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--ev-link); }
p { margin: 0 0 .6em; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 500; color: var(--ev-text); }
h1, h2, h3 { font-weight: 500; }
:focus-visible { outline: 3px solid var(--ev-focus); outline-offset: 2px; }

.ev-skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: #fff; color: var(--ev-navy); padding: 10px 16px; border-radius: 999px; }
.ev-skip:focus { top: calc(var(--ev-safe-t) + 8px); }
.ev-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Specular gradient edge (instead of a flat border) */
.ev-card, .ev-group, .ev-item:not(.is-break), .ev-speaker, .ev-quick a, .ev-now__card.is-next, .ev-feature,
.ev-tabs, .ev-nav, .ev-chip, .ev-btn, .ev-feature__go, .ev-steps li, .ev-speaker__sessions a, .ev-item__time {
    position: relative; border-color: transparent !important;
}
.ev-card::before, .ev-group::before, .ev-item:not(.is-break)::before, .ev-speaker::before, .ev-quick a::before,
.ev-now__card.is-next::before, .ev-feature::before, .ev-tabs::before, .ev-nav::before,
.ev-chip::before, .ev-btn::before, .ev-feature__go::before, .ev-steps li::before,
.ev-speaker__sessions a::before, .ev-item__time::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: var(--ev-stroke);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
.ev-btn--primary::before { background: var(--ev-stroke-btn); }
.ev-btn--ghost::before { display: none; }

/* ---------- App column ---------- */
.ev-shell {
    position: relative; max-width: var(--ev-col); min-height: 100vh; min-height: 100dvh; margin: 0 auto;
    display: flex; flex-direction: column; background: transparent; overflow-x: clip;
}
/* The gradient is pinned to the screen, so its four corners stay at the screen corners while pages scroll. */
.ev-shell::before {
    content: ""; position: fixed; z-index: -1; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
    width: min(100%, var(--ev-col)); background: var(--ev-bg); pointer-events: none;
}
@media (min-width: 520px) {
    .ev-shell { border-left: 1px solid var(--ev-line-2); border-right: 1px solid var(--ev-line-2); }
}

/* Waypointer ring (from the Blackjack game) */
.ev-ring {
    position: absolute; z-index: 0; pointer-events: none;
    width: 360px; height: 360px; top: -238px; right: -196px;
    border: 1.5px solid rgba(232, 85, 32, .55); border-radius: 50%;
}
.ev-ring::after { content: ""; position: absolute; left: 13.2%; top: 83.9%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ev-orange); }
.ev-ring--small { width: 220px; height: 220px; top: -150px; right: -110px; }

/* ---------- Shared pieces ---------- */

.ev-pill {
    display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%;
    margin: 0 0 16px; padding: 7px 14px; border-radius: 999px;
    border: 1px solid rgba(214, 64, 0, .6); background: rgba(214, 64, 0, .1);
    color: var(--ev-sub); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
}
.ev-pill__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ev-orange); }
.ev-pill--live.is-live .ev-pill__dot { animation: ev-pulse 1.6s ease-in-out infinite; }
@keyframes ev-pulse { 50% { opacity: .3; } }

.ev-chip {
    display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; border-radius: 999px;
    background: var(--ev-surface-2); border: 1px solid var(--ev-line); font-size: .875rem; font-weight: 400; color: var(--ev-text); line-height: 1.25;
}
.ev-room { margin: 6px 0 0; color: var(--ev-sub); font-size: .9375rem; }

.ev-h1 { font-size: 1.8125rem; line-height: 1.12; font-weight: 500; margin: 0; letter-spacing: -.015em; color: var(--ev-head); }
.ev-title { font-size: 1.9375rem; line-height: 1.12; font-weight: 500; margin: 0 0 10px; letter-spacing: -.02em; color: var(--ev-head); }
.ev-subtitle { font-size: 1rem; line-height: 1.45; color: var(--ev-sub); margin: 0 0 18px; }
.ev-h3 { display: flex; align-items: center; gap: 12px; font-size: 1.0625rem; line-height: 1.3; font-weight: 500; margin: 0 0 16px; color: var(--ev-head); }
.ev-lead { font-size: 1rem; color: var(--ev-soft); margin: 0; }
.ev-sub { color: var(--ev-muted); margin: 0; }
.ev-small { font-size: .9375rem; color: var(--ev-muted); }
.ev-note { color: var(--ev-muted); font-size: .9375rem; margin-top: 12px; }
.ev-section-label { font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ev-muted); margin: 30px 0 12px; }
.ev-label { display: block; font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ev-muted); margin: 0 0 6px; }
.ev-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.ev-head .ev-sub { flex-basis: 100%; }
.ev-pending {
    display: inline-block; font-size: .875rem; line-height: 1.3; color: var(--ev-soft);
    background: var(--ev-surface-flat); border: 1px dashed rgba(190, 210, 255, .3); padding: 3px 12px; border-radius: 999px;
}
.ev-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }

/* Buttons */
.ev-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 12px 24px; border-radius: 999px;
    border: 1px solid var(--ev-line); background: var(--ev-surface-2); color: var(--ev-text);
    font-size: 1rem; font-weight: 500; line-height: 1.2; letter-spacing: .01em; text-decoration: none; text-align: center; cursor: pointer; overflow-wrap: anywhere;
    transition: background-color .15s, border-color .15s;
}
.ev-btn:hover { background: var(--ev-surface-3); }
.ev-btn--primary { background: var(--ev-btn); border-color: transparent; color: #fff; }
.ev-btn--primary:hover { background: linear-gradient(180deg, #df4706 0%, #c43b00 100%); }
.ev-btn--secondary { background: var(--ev-surface-2); border-color: rgba(190, 210, 255, .26); }
.ev-btn--ghost { background: transparent; border-color: transparent; color: var(--ev-soft); }
.ev-btn--ghost:hover { background: var(--ev-surface-flat); }
.ev-btn--block { width: 100%; }
.ev-btn[disabled] { opacity: .6; cursor: progress; }

/* Cards, grouped lists, rows */
.ev-card { position: relative; background: var(--ev-surface); border: 1px solid var(--ev-line); border-radius: var(--ev-radius); padding: 20px; margin-top: 14px; }
.ev-card > :last-child { margin-bottom: 0; }
.ev-card--feature { background: var(--ev-surface); }
.ev-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ev-actions--stack { flex-direction: column; align-items: stretch; }

.ev-group { list-style: none; margin: 0; padding: 6px; background: var(--ev-surface); border: 1px solid var(--ev-line); border-radius: var(--ev-radius); }
.ev-group > li + li { border-top: 1px solid var(--ev-line-2); }
.ev-row {
    display: flex; align-items: center; gap: 14px; width: 100%; min-height: 68px; padding: 10px 12px;
    background: transparent; border: 0; border-radius: 18px; color: var(--ev-text); text-decoration: none; text-align: left; cursor: pointer;
}
.ev-row:hover { background: var(--ev-surface-flat); }
.ev-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ev-row__title { font-size: 1rem; font-weight: 500; }
.ev-row__text small { font-size: .875rem; color: var(--ev-muted); }

.ev-list { margin: 0; }
.ev-card.ev-list { padding: 6px 20px; }
.ev-list__row { padding: 14px 0; border-bottom: 1px solid var(--ev-line-2); }
.ev-card .ev-list .ev-list__row:first-child { padding-top: 0; }
.ev-card.ev-list .ev-list__row:first-child { padding-top: 14px; }
.ev-list__row:last-child { border-bottom: 0; }
.ev-list dt { font-size: .875rem; color: var(--ev-muted); margin-bottom: 4px; }
.ev-list dd { margin: 0; color: var(--ev-text); }

/* ---------- Event app header ---------- */
.ev-top {
    position: sticky; top: 0; z-index: 20;
    display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px;
    padding: calc(var(--ev-safe-t) + 10px) max(16px, var(--ev-safe-r)) 10px max(16px, var(--ev-safe-l));
    background: rgba(0, 17, 50, .72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--ev-line-2);
}
.ev-iconbtn {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
    background: var(--ev-surface-2); border: 1px solid var(--ev-line); color: var(--ev-text); cursor: pointer; text-decoration: none;
}
.ev-iconbtn:hover { background: var(--ev-surface-3); }
.ev-top__title { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; gap: 1px; }
/* "TRSS Events": TRSS is the bold #D64000 logo at the cap height of "Events" (Clario Light, white); no divider. */
.ev-top__brand { display: inline-flex; align-items: baseline; gap: .26em; font-size: 1.375rem; line-height: 1; }
.ev-top__logo svg { display: block; height: .72em; width: auto; color: var(--ev-orange); }
.ev-top__events { font-weight: 300; color: #fff; line-height: 1; }
.ev-status { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: .75rem; line-height: 1.2; color: var(--ev-soft); }
.ev-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ev-orange); }

.ev-main {
    position: relative; flex: 1; display: block;
    padding: 24px max(18px, var(--ev-safe-r)) calc(var(--ev-nav-h) + var(--ev-safe-b) + 48px) max(18px, var(--ev-safe-l));
    outline: none;
}
.ev-section { position: relative; }
.ev-section > * { position: relative; z-index: 1; }


/* ---------- Floating bottom navigation ---------- */
.ev-navfade {
    position: fixed; z-index: 29; left: 50%; transform: translateX(-50%); bottom: 0; pointer-events: none;
    width: min(100%, var(--ev-col)); height: calc(var(--ev-nav-h) + var(--ev-safe-b) + 56px);
    background: linear-gradient(180deg, rgba(0, 17, 50, 0) 0%, rgba(0, 17, 50, .78) 55%, rgba(0, 17, 50, .94) 100%);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    -webkit-mask: linear-gradient(180deg, transparent 0%, #000 45%); mask: linear-gradient(180deg, transparent 0%, #000 45%);
}
.ev-nav {
    position: fixed; z-index: 30; left: 50%; transform: translateX(-50%);
    bottom: calc(var(--ev-safe-b) + 14px); width: min(calc(100% - 28px), calc(var(--ev-col) - 28px));
    padding: 6px; border-radius: 999px;
    background: rgba(18, 50, 96, .82); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(190, 210, 255, .2);
}
.ev-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.ev-nav li { flex: 1 1 0; display: flex; justify-content: center; }
.ev-nav li:has(> [aria-current="page"]) { flex-grow: 1.9; }
.ev-nav__a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 52px; height: 52px; border-radius: 999px;
    background: var(--ev-surface-flat); color: var(--ev-soft); text-decoration: none; font-size: .9375rem; font-weight: 500;
    transition: background-color .2s, width .2s;
}
.ev-nav__a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ev-nav__a:hover { background: var(--ev-surface-2); color: var(--ev-text); }
.ev-nav__a[aria-current="page"] { width: 100%; padding: 0 16px; background: var(--ev-btn); color: #fff; }
.ev-nav__a[aria-current="page"] span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
@media (max-width: 359px) { .ev-nav__a { width: 46px; height: 46px; } .ev-nav__a[aria-current="page"] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .ev-nav li:has(> [aria-current="page"]) { flex-grow: 1; } }

/* ---------- Home ---------- */
.ev-hero { padding-top: 4px; }
.ev-quickwrap { position: relative; margin-top: 26px; }
.ev-quickwrap .ev-section-label { margin-top: 0; }
.ev-where { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--ev-soft); }

/* Event description with Read more */
.ev-desc { margin-top: 22px; }
.ev-desc__text { font-size: .9375rem; line-height: 1.6; color: var(--ev-desc); }
.ev-desc__text p { margin: 0 0 .8em; }
.ev-desc__text p:last-child { margin-bottom: 0; }
.js .ev-desc.is-clamped .ev-desc__text {
    max-height: 6.4em; overflow: hidden;
    -webkit-mask: linear-gradient(180deg, #000 calc(100% - 1.8em), transparent 100%); mask: linear-gradient(180deg, #000 calc(100% - 1.8em), transparent 100%);
}
.ev-desc__more {
    display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 0; padding: 0;
    border: 0; background: none; color: #6fa8e0; font-size: .875rem; font-weight: 500; cursor: pointer;
}
.ev-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ev-facts li { display: flex; gap: 10px; align-items: flex-start; color: var(--ev-soft); }
.ev-facts__strong { color: var(--ev-text); font-weight: 500; }

.ev-now { margin-top: 24px; display: grid; gap: 10px; }
.ev-now__card {
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px; text-decoration: none; color: #fff;
    background: linear-gradient(135deg, #d64000 0%, #a93200 100%); border-radius: var(--ev-radius); padding: 18px 18px 18px 20px;
}
.ev-now__card.is-next { background: var(--ev-surface); border: 1px solid var(--ev-line); }
.ev-now__tag { grid-column: 1; font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.ev-now__card.is-next .ev-now__tag { color: var(--ev-sub); }
.ev-now__title { grid-column: 1; font-size: 1rem; font-weight: 500; line-height: 1.3; }
.ev-now__time { grid-column: 1; font-size: .9375rem; color: rgba(255, 255, 255, .9); }
.ev-now__card.is-next .ev-now__time { color: var(--ev-muted); }

.ev-quick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ev-quick a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    min-height: 148px; padding: 18px 10px; gap: 14px; text-align: center; border-radius: 26px; font-size: 1.0625rem;
    background: linear-gradient(155deg, #0f2f56 0%, #001132 100%); border: 1px solid var(--ev-line);
    color: var(--ev-text); text-decoration: none; font-size: .9375rem; font-weight: 500; line-height: 1.2;
}
.ev-quick a:hover { border-color: rgba(200, 215, 255, .32); }



/* ---------- Agenda ---------- */
.ev-tabs {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin-bottom: 18px;
    padding: 5px; border-radius: 999px; background: var(--ev-surface-flat); border: 1px solid var(--ev-line);
}
.no-js .ev-tabs { display: none; }
.ev-tab { min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ev-muted); font-size: .9375rem; font-weight: 500; cursor: pointer; }
.ev-tab[aria-selected="true"] { background: var(--ev-text); color: var(--ev-navy); }
.js .ev-panel__label { position: absolute !important; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* kept for screen readers */
.ev-panel + .ev-panel { margin-top: 8px; }

.ev-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ev-item { background: var(--ev-surface); border: 1px solid var(--ev-line); border-radius: var(--ev-radius); padding: 16px 18px 18px; scroll-margin-top: calc(var(--ev-safe-t) + 84px); }
.ev-item__top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ev-item__time {
    margin: 0; padding: 5px 13px; border-radius: 999px; background: var(--ev-surface-2); border: 1px solid var(--ev-line);
    font-size: .9375rem; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.3;
}
.ev-item__badge { display: none; padding: 5px 11px; border-radius: 999px; background: var(--ev-btn); color: #fff; font-size: .6875rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.ev-item.is-now .ev-item__badge { display: inline-block; }
.ev-item__title { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 1.0625rem; line-height: 1.35; font-weight: 500; overflow-wrap: anywhere; }
.ev-focus__text { margin-top: 8px; font-size: .9375rem; color: var(--ev-soft); }
.ev-focus__text p:last-child, .ev-focus__text ul:last-child { margin-bottom: 0; }
.ev-focus__text ul, .ev-focus__text ol { margin: 0 0 .6em; padding-left: 1.2em; }
.ev-focus__text li { margin-bottom: .3em; }
.ev-focus { margin-top: 6px; }
.ev-focus summary, .ev-storage summary {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer;
    list-style: none; color: var(--ev-link); font-weight: 500; font-size: .9375rem;
}
.ev-focus summary::-webkit-details-marker, .ev-storage summary::-webkit-details-marker, .ev-speaker__row::-webkit-details-marker { display: none; }
.ev-focus[open] .ev-focus__text { margin-top: 0; }
.ev-presenters { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ev-line-2); }
.ev-presenters p:last-child { margin: 0; color: var(--ev-text); font-size: .9375rem; }
.ev-mod { color: var(--ev-muted); }
.ev-avatars { flex: none; display: flex; padding-left: 10px; }
.ev-avatars img { width: 40px; height: 40px; margin-left: -10px; border-radius: 14px; object-fit: cover; object-position: 50% 22%; border: 2px solid #0d2152; background: var(--ev-surface-2); }

.ev-item.is-break { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: transparent; border: 1px dashed rgba(190, 210, 255, .24); }
.ev-item.is-break .ev-item__top { margin: 0; }
.ev-item.is-break .ev-item__time { font-weight: 400; }
.ev-item.is-break .ev-item__title { font-size: 1rem; color: var(--ev-soft); align-items: center; }
.ev-item.is-now { background: linear-gradient(155deg, rgba(214, 64, 0, .22) 0%, rgba(8, 116, 227, .1) 55%, rgba(0, 17, 50, .4) 100%); }
.ev-item.is-now::before { background: linear-gradient(140deg, rgba(255, 170, 130, .8), rgba(214, 64, 0, .45) 40%, rgba(214, 64, 0, .15)); }
.ev-item.is-past .ev-item__time { color: var(--ev-muted); background: transparent; }
.ev-item:target { border-color: var(--ev-focus); }
.ev-nowline { display: flex; align-items: center; gap: 10px; color: var(--ev-sub); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.ev-nowline::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ev-orange); }
.ev-nowline::after { content: ""; flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--ev-orange), rgba(232, 85, 32, 0)); }

/* ---------- Speakers (one per row, expandable) ---------- */
.ev-speakers__hint { margin: -6px 0 16px; font-size: .9375rem; }
.ev-speakers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ev-speaker { background: var(--ev-surface); border: 1px solid var(--ev-line); border-radius: var(--ev-radius); scroll-margin-top: calc(var(--ev-safe-t) + 84px); overflow: hidden; }
.ev-speaker__row { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; cursor: pointer; list-style: none; }
.ev-speaker__row:hover { background: var(--ev-surface-flat); }
.ev-speaker__photo { flex: none; width: 60px; height: 60px; border-radius: 18px; object-fit: cover; object-position: 50% 22%; background: var(--ev-surface-2); }
.ev-speaker__photo--none { display: grid; place-items: center; color: var(--ev-orange-text); background: var(--ev-surface-2); border: 1px solid var(--ev-line); }
.ev-speaker__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ev-speaker__name { font-size: 1rem; line-height: 1.3; margin: 0; font-weight: 500; }
.ev-speaker__title { font-size: .875rem; line-height: 1.4; color: var(--ev-muted); overflow-wrap: anywhere; }
.ev-speaker__toggle { width: 38px; height: 38px; }
.ev-speaker__d[open] .ev-speaker__toggle { background: var(--ev-btn); border-color: transparent; }
.ev-speaker__d[open] .ev-speaker__row { border-bottom: 1px solid var(--ev-line-2); }
.ev-speaker__more { padding: 16px 18px 18px; }
.ev-speaker__large { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; border-radius: 18px; margin-bottom: 16px; background: var(--ev-surface-2); }
.ev-speaker__bio { font-size: .9375rem; color: var(--ev-soft); }
.ev-speaker__bio p { margin: 0 0 .8em; }
.ev-speaker__sessions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ev-speaker__sessions a {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px;
    background: var(--ev-surface-flat); border: 1px solid var(--ev-line-2); color: var(--ev-text); text-decoration: none; font-size: .9375rem; line-height: 1.35;
}
.ev-speaker__sessions a > span:nth-child(2) { flex: 1; }
.ev-speaker__time { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--ev-surface-2); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Map / Info / More ---------- */
.ev-map { margin: 4px 0 12px; }
.ev-map img { display: block; width: 100%; border-radius: var(--ev-radius); border: 1px solid var(--ev-line); background: #fff; }
.ev-map figcaption { font-size: .9375rem; color: var(--ev-muted); margin-top: 6px; }
.ev-placeholder { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 40px 22px; overflow: hidden; border-style: dashed; margin-top: 0; }
.ev-placeholder p { margin: 0; color: var(--ev-soft); }
.ev-placeholder > :not(.ev-ring) { position: relative; z-index: 1; }
.ev-venue__name { font-size: 1.0625rem; font-weight: 500; margin-bottom: 4px; }
.ev-qr { display: block; width: 180px; margin-top: 12px; border-radius: 16px; background: #fff; padding: 8px; }
.ev-contacts { list-style: none; margin: 0; padding: 0; }
.ev-contact__name { font-size: 1.0625rem; font-weight: 500; margin-bottom: 2px; }
.ev-contact__role { color: var(--ev-muted); font-size: .9375rem; }
#ev-help, #ev-privacy { margin-top: 18px; }
.ev-storage { margin-top: 10px; }
.ev-storage__body { font-size: .9375rem; color: var(--ev-soft); }
.ev-storage__body ul { padding-left: 1.1em; margin: 4px 0 10px; }
.ev-storage__body li { margin-bottom: 6px; }
.ev-storage__body a { display: inline-block; padding: 10px 0; }
.ev-about { margin-top: 26px; text-align: center; font-size: .875rem; color: var(--ev-muted); }
.ev-about p { margin: 0 0 2px; }

/* ---------- Landing (splash) ---------- */
.ev-landing {
    position: relative; flex: 1; display: flex; flex-direction: column;
    padding: calc(var(--ev-safe-t) + 24px) max(22px, var(--ev-safe-r)) 28px max(22px, var(--ev-safe-l));
}
.ev-landing > * { position: relative; z-index: 1; }
.ev-landing > .ev-ring { position: absolute; z-index: 0; }
.ev-ring--orbit { width: 420px; height: 420px; top: -290px; right: -200px; animation: ev-orbit 48s linear infinite; }
.ev-ring--orbit::after { display: none; }
.ev-ring__dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ev-orange); }
.ev-ring__dot--12 { left: 50%; top: 0; }
.ev-ring__dot--3 { left: 100%; top: 50%; }
.ev-ring__dot--6 { left: 50%; top: 100%; }
.ev-ring__dot--9 { left: 0; top: 50%; }
@keyframes ev-orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.ev-enter { animation: ev-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.ev-enter--2 { animation-delay: .12s; }
.ev-enter--3 { animation-delay: .24s; }
.ev-enter--4 { animation-delay: .36s; }
@keyframes ev-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ev-splash { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 140px 0 40px; }
.ev-splash--top { justify-content: flex-start; align-items: flex-start; text-align: left; padding: 40px 0 8px; }
.ev-wordmark { display: flex; align-items: center; justify-content: center; gap: .32em; margin: 0 0 18px; font-size: 3.5rem; line-height: 1; font-weight: 400; letter-spacing: -.01em; }
.ev-wordmark__logo svg { display: block; height: .74em; width: auto; color: var(--ev-orange); }
.ev-wordmark__text { color: #fff; font-weight: 300; }
.ev-wordmark--md { font-size: 2.5rem; }
.ev-splash__lead { max-width: 21em; font-size: 1rem; color: var(--ev-desc); margin: 0; }
.ev-ask { text-align: center; padding: 8px 0 4px; }
.ev-ask__q { font-size: 1rem; font-weight: 400; line-height: 1.45; color: var(--ev-text); margin: 0 auto 6px; max-width: 19em; }
.ev-ask__sub { color: var(--ev-muted); font-size: .9375rem; margin: 0 auto 4px; max-width: 22em; }
.ev-ask__link { margin: 0; }
.ev-ask__link a { display: inline-block; padding: 8px 4px; font-size: .9375rem; text-decoration: none; }
.ev-ask__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.ev-ask__btns--end { margin-top: auto; padding-top: 28px; }
.ev-ask__btns--stack { grid-template-columns: 1fr; }
.ev-events { padding-bottom: 8px; }
.ev-feature {
    position: relative; display: block; padding: 22px; border-radius: 28px; text-decoration: none; color: var(--ev-text);
    background: var(--ev-glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.ev-feature__headline { display: block; font-size: 1.5625rem; line-height: 1.15; font-weight: 500; letter-spacing: -.015em; color: var(--ev-head); margin: 0 0 8px; }
.ev-feature__title { display: block; font-size: .9375rem; line-height: 1.45; color: var(--ev-sub); margin: 0 0 16px; }

.ev-feature__meta { display: flex; gap: 10px; color: var(--ev-soft); margin-bottom: 10px; }
.ev-feature__go { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 20px; border-radius: 999px; background: var(--ev-surface-2); border: 1px solid var(--ev-line); font-weight: 500; }
.ev-landing__save { margin: 18px 0 0; text-align: center; }

/* ---------- Toast ---------- */
.ev-toast {
    position: fixed; z-index: 40; left: 50%; transform: translateX(-50%);
    bottom: calc(var(--ev-safe-b) + 14px + var(--ev-nav-h) + 18px);
    display: flex; align-items: center; gap: 12px;
    width: max-content; max-width: min(calc(100% - 32px), calc(var(--ev-col) - 32px));
    background: #f4f7ff; color: var(--ev-navy); border-radius: 20px;
    padding: 10px 10px 10px 18px; font-size: .9375rem; border: 1px solid rgba(0, 17, 50, .1);
}
.ev-body--landing .ev-toast { bottom: calc(var(--ev-safe-b) + 24px); }
.ev-toast__btn { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ev-btn); color: #fff; font-weight: 500; cursor: pointer; }

/* ---------- Full-screen first-visit steps ---------- */
.ev-dialog {
    width: 100%; max-width: var(--ev-col); height: 100%; max-height: none; margin: 0 auto; padding: 0; border: 0;
    color: var(--ev-text); overflow-x: hidden; overflow-y: auto; background: var(--ev-bg);
}
.ev-dialog[open] { display: block; }
.ev-dialog::backdrop { background: rgba(0, 8, 28, .92); }
.ev-dialog > .ev-ring { width: 420px; height: 420px; top: -290px; right: -200px; }
.ev-dialog__close { position: absolute; z-index: 3; top: calc(var(--ev-safe-t) + 14px); left: 14px; }
.ev-step {
    position: relative; z-index: 1; display: flex; flex-direction: column;
    min-height: 100%; padding: calc(var(--ev-safe-t) + 76px) 24px calc(var(--ev-safe-b) + 28px);
}
.ev-step > p, .ev-splash--top > p { color: var(--ev-soft); }
.ev-step--splash .ev-splash { padding-top: 40px; }
.ev-step__event { font-size: 1.0625rem; color: var(--ev-soft); max-width: 20em; margin: 0 auto 18px; }
.ev-step__title { font-size: 1.6875rem; line-height: 1.18; font-weight: 500; margin: 0 0 14px; letter-spacing: -.01em; }
.ev-steps { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 10px; }
.ev-steps li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; background: var(--ev-surface); border: 1px solid var(--ev-line); }
.ev-steps__n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ev-surface-2); border: 1px solid var(--ev-line); color: var(--ev-text); font-weight: 500; }

@media (max-width: 359px) {
    .ev-wordmark { font-size: 2.9rem; }
}


/* ---------- TRSS icons ----------
   Every icon outside the bottom navigation is a white TRSS glyph in a #D64000 circle (.ev-ic).
   The circle size changes by context; the glyph stays 17–18px (smaller in small circles) so the
   fill-based line weight never grows. */
.ev-i { display: block; flex: none; width: 17px; height: 17px; color: #fff; }
.ev-ic {
    --ic: 36px; --g: 20px;
    position: relative; flex: none; display: inline-grid; place-items: center;
    width: var(--ic); height: var(--ic); border-radius: 50%; background: var(--ev-orange); color: #fff; vertical-align: middle;
}
.ev-ic .ev-i { width: var(--g); height: var(--g); color: #fff; }
.ev-ic--sm, .ev-chip .ev-ic, .ev-btn .ev-ic, .ev-row > .ev-ic:last-child, .ev-speaker__sessions .ev-ic,
.ev-focus summary .ev-ic, .ev-storage summary .ev-ic, .ev-item__title .ev-ic, .ev-feature__meta .ev-ic { --ic: 26px; --g: 15px; }
.ev-ic--md, .ev-where > .ev-ic, .ev-h3 .ev-ic, .ev-group .ev-ic:first-child, .ev-offline-cta .ev-ic, .ev-iconbtn .ev-ic { --ic: 40px; --g: 22px; }
.ev-ic--lg, .ev-placeholder .ev-ic { --ic: 58px; --g: 30px; }
.ev-quick .ev-ic { --ic: 52px; --g: 28px; }
.ev-feature__meta .ev-ic, .ev-feature__meta.ev-where > .ev-ic { --ic: 30px; --g: 17px; }
.ev-step .ev-ic--lg { --ic: 64px; --g: 32px; margin-bottom: 20px; }
.ev-ic--go { --ic: 38px; --g: 19px; }
.ev-now__go { --ic: 46px; --g: 22px; }
.ev-btn--primary .ev-ic, .ev-now__card:not(.is-next) .ev-now__go { background: rgba(0, 17, 50, .3); }
.ev-now__go { grid-column: 2; grid-row: 1 / span 3; }
.ev-btn .ev-ic { margin-left: -12px; }
.ev-row > .ev-ic:last-child { opacity: .9; }
.ev-item__title .ev-ic, .ev-feature__meta .ev-ic { margin-top: -1px; }
.ev-focus summary .ev-i, .ev-storage summary .ev-i, .ev-speaker__toggle .ev-i { transform: rotate(90deg); transition: transform .2s; }
.ev-focus[open] summary .ev-i, .ev-storage[open] summary .ev-i, .ev-speaker__d[open] .ev-speaker__toggle .ev-i { transform: rotate(-90deg); }
.ev-speaker__toggle { --ic: 34px; --g: 18px; }
.ev-speaker__photo--none .ev-ic { --ic: 40px; }
/* Header buttons: the orange circle is the button itself */
.ev-iconbtn { background: transparent; border: 0; width: 44px; height: 44px; }
.ev-iconbtn:hover { background: transparent; }
.ev-iconbtn:hover .ev-ic { background: #e04807; }
.ev-iconbtn .ev-ic { --ic: 40px; }
/* Bottom navigation: bare TRSS glyphs (no circles) */
.ev-nav .ev-i { width: 22px; height: 22px; color: var(--ev-icon); }
.ev-nav__a[aria-current="page"] .ev-i { color: #fff; }
/* Location: main address, smaller sub address in the same colour */
.ev-where { display: flex; gap: 12px; align-items: center; margin: 0; }
.ev-where p { margin: 0; display: flex; flex-direction: column; gap: 1px; }
.ev-where__main { color: var(--ev-sub); font-size: 1rem; line-height: 1.35; }
.ev-where__sub { color: var(--ev-sub); font-size: .875rem; line-height: 1.35; }
.ev-feature__meta.ev-where { align-items: flex-start; }
.ev-feature__meta.ev-where > span:last-child { display: flex; flex-direction: column; }
.ev-feature__meta.ev-where .ev-where__main { font-size: .9375rem; }


/* ---------- The two button styles ----------
   1. .ev-btn--primary: orange capsule, white text, no icon.
   2. .ev-btn--go: navy capsule, text on the left, white TRSS icon in an orange circle on the right. */
.ev-btn--go {
    justify-content: space-between; gap: 14px; min-height: 50px; padding: 6px 6px 6px 22px; text-align: left;
    background: rgba(170, 195, 255, .16); color: #fff;
}
.ev-btn--go:hover { background: rgba(185, 205, 255, .24); }
.ev-btn--go > span:not(.ev-ic) { flex: 1; min-width: 0; }
.ev-btn.ev-btn--go .ev-ic { --ic: 38px; --g: 19px; margin: 0; background: var(--ev-orange); }
.ev-ask__btns .ev-btn--go { padding-left: 20px; }

.ev-feature__go { min-height: 50px; }
/* Bottom landing link: plain text with a small icon, no capsule */
.ev-textlink {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 2px; border: 0; background: none; cursor: pointer;
    color: var(--ev-sub); font-size: .9375rem; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(219, 230, 255, .35); text-underline-offset: 4px;
}
.ev-textlink:hover { color: #fff; text-decoration-color: currentColor; }
.ev-textlink .ev-ic { --ic: 26px; --g: 14px; order: -1; }
/* TRSS icons are filled shapes: a 0.5px outline in the same colour thickens every line by 0.5px at any size */
.ev-i path, .ev-i rect, .ev-i circle, .ev-i polygon { stroke: currentColor; stroke-width: .5px; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
