/* Frosted-glass theme: translucent blurred cards over a deep indigo field lit by soft AISLE purple/blue glows.
   One dark look on purpose: glass only reads well against a rich dark backdrop. */
:root {
  --bg: #06182f;
  --glass: rgba(255, 255, 255, .07);
  --glass-2: rgba(255, 255, 255, .11);
  --glass-hi: rgba(255, 255, 255, .16);
  --edge: rgba(255, 255, 255, .14);
  --edge-soft: rgba(255, 255, 255, .08);
  --fg: #f3f4ff; --muted: #b6bce0; --faint: #8a91bd;
  --accent: #b9a4ff; --accent-2: #7fb2ff; --accent-ink: #d9ceff;
  --good: #7fe0b0; --warn: #f2c96b; --crit: #ff8f8f;
  --grad: linear-gradient(100deg, #8f6dff 0%, #4a8fff 50%, #d873ac 100%);
  --grad-text: linear-gradient(90deg, #c7b2ff, #8fc4ff 55%, #f2a9cf);
  --radius: 16px;
  --blur: blur(22px) saturate(150%);
  --font-display: "Montserrat", "Avenir Next", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --tabbar: 62px; --dock: calc(var(--tabbar) + env(safe-area-inset-bottom) + 22px); color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--bg); }
body {
  background: transparent; color: var(--fg); font: 15px/1.5 var(--font-body); -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--dock) + 8px); min-height: 100dvh;
}
/* the lit backdrop the glass blurs */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  /* textured teal -> navy -> blue -> rose backdrop; the CSS layers underneath match it if the image hasn't loaded */
  background:
    url("bg.webp") 70% 100% / cover no-repeat,
    radial-gradient(60% 45% at 100% 100%, rgba(200, 110, 160, .75), transparent 70%),
    radial-gradient(70% 50% at 45% 100%, rgba(40, 100, 170, .8), transparent 70%),
    radial-gradient(50% 40% at 0% 30%, rgba(10, 70, 70, .7), transparent 70%),
    radial-gradient(30% 20% at 0% 0%, rgba(80, 30, 90, .7), transparent 70%),
    linear-gradient(180deg, #061a2e 0%, #05173a 50%, #123d73 100%);
}
/* a soft extra light so the glass has colour to pick up mid-screen */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vmax 30vmax at 85% 92%, rgba(225, 120, 175, .28), transparent 70%),
    radial-gradient(45vmax 30vmax at 30% 70%, rgba(50, 130, 210, .22), transparent 70%),
    radial-gradient(35vmax 25vmax at 5% 20%, rgba(30, 140, 130, .18), transparent 70%);
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0; text-wrap: balance; letter-spacing: -.035em; }
a { color: var(--accent-ink); }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* glass surface shared by cards, bars, inputs */
.card, .top, .tabbar, .seg, .toggle, .install, .hero, input, textarea, .btn, .bubble {
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}

/* header */
.top {
  position: sticky; top: 0; z-index: 10; background: rgba(5, 20, 40, .5);
  border-bottom: 1px solid var(--edge-soft); padding: calc(env(safe-area-inset-top) + 20px) 18px 14px;
  display: flex; align-items: center; gap: 10px;
}
.top::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 2px; background: var(--grad); opacity: .85; }
.top img { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 1px var(--edge); }
.top .t { font-family: var(--font-display); font-size: 1rem; font-weight: 500; letter-spacing: -.025em; }
.top .s { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-left: auto; text-align: right; }
.back { appearance: none; border: 0; background: none; color: var(--accent-ink); font-weight: 600; padding: 6px 4px; cursor: pointer; }

main { max-width: 720px; margin: 0 auto; padding: 18px 16px; }

/* tab bar */
.tabbar {
  position: fixed; z-index: 10; left: 14px; right: 14px; bottom: calc(env(safe-area-inset-bottom) + 10px);
  max-width: 520px; margin: 0 auto; padding: 0 6px;
  background: rgba(10, 28, 56, .5); border: 1px solid rgba(255,255,255,.16); border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 14px 40px rgba(2, 8, 24, .55);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.tabbar a {
  height: var(--tabbar); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--faint); text-decoration: none; font-size: .7rem; font-weight: 600; position: relative; letter-spacing: .02em;
}
.tabbar a[aria-current="page"] { color: var(--fg); }
.tabbar a[aria-current="page"]::before {
  content: ""; position: absolute; inset: 7px 6px; border-radius: 18px; z-index: -1;
  background: linear-gradient(135deg, rgba(143,109,255,.32), rgba(74,143,255,.22) 60%, rgba(216,115,172,.26));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.tabbar svg { width: 23px; height: 23px; }
.badge {
  position: absolute; top: 8px; left: calc(50% + 6px); min-width: 17px; height: 17px; border-radius: 9px; padding: 0 5px;
  background: #ff6b81; color: #fff; font-size: .65rem; line-height: 17px; text-align: center;
}

/* hero: the big quiet headline */
.hero {
  position: relative; overflow: hidden; border-radius: 20px; padding: 26px 20px 22px; margin-bottom: 18px; text-align: center;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(120, 100, 255, .32), transparent 60%),
    radial-gradient(120% 90% at 100% 100%, rgba(220, 115, 172, .30), transparent 60%),
    linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 20px 50px rgba(5, 6, 20, .45);
}
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
.hero::after {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(74, 143, 255, .3), transparent); z-index: -1;
}
.hero .k { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: #d6c8ff; }
.hero h2 { font-size: 1.6rem; font-weight: 600; margin-top: 8px; letter-spacing: -.04em; }
.hero h2 a { color: inherit; }
.hero .m { font-size: .92rem; color: var(--muted); margin-top: 8px; }
.hero a { color: var(--fg); }
.hero .btn { margin-top: 4px; }
.hero .row { justify-content: center; }

/* segmented day switcher */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--glass); border: 1px solid var(--edge-soft); border-radius: 14px; padding: 4px; margin-bottom: 14px; }
.seg button { appearance: none; border: 0; background: none; border-radius: 10px; padding: 8px 4px; font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: linear-gradient(135deg, rgba(143,109,255,.55), rgba(74,143,255,.45) 60%, rgba(216,115,172,.45)); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 18px rgba(106, 108, 255, .35); }
.seg small { display: block; font-weight: 500; font-size: .68rem; font-family: var(--font-mono); letter-spacing: .04em; opacity: .85; }

/* cards */
.list { display: grid; gap: 10px; }
.card {
  display: block; position: relative; color: inherit; text-decoration: none; min-width: 0; padding: 15px;
  border-radius: var(--radius); border: 1px solid var(--edge);
  background: linear-gradient(165deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.06) 55%, rgba(255,255,255,.04) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 10px 30px rgba(5, 6, 20, .28);
}
a.card { transition: background .15s, border-color .15s, transform .15s; }
a.card:hover { border-color: rgba(255,255,255,.24); }
a.card:active { transform: scale(.99); background: var(--glass-2); }
.sess { display: grid; grid-template-columns: 62px 1fr; gap: 12px; }
.sess .time { white-space: pre-line; font-family: var(--font-mono); font-size: .68rem; font-weight: 500; color: var(--muted); line-height: 1.4; letter-spacing: .01em; }
.sess .time b { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--fg); letter-spacing: .01em; line-height: 1.05; }
.sess .time small { display: block; font-size: .58rem; letter-spacing: .12em; color: var(--muted); margin-top: 2px; }
.sess .time span { display: block; margin-top: 6px; font-size: .6rem; letter-spacing: .04em; color: var(--faint); }
.sess .kick { font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; margin-bottom: 2px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sess .role { display: flex; align-items: baseline; gap: 8px; margin-top: 7px; font-size: .8rem; color: #d3d7f2; line-height: 1.35; }
.sess .role .pill { flex: 0 0 auto; }
.sess .role.stack { flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 10px; }
.sess .ttl { font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1.32; letter-spacing: -.032em; }
.sess .ppl { font-size: .8rem; color: var(--muted); margin-top: 5px; }
.sess.break { background: rgba(255,255,255,.025); border-style: dashed; border-color: var(--edge-soft); box-shadow: none; }
.sess.break .ttl { font-weight: 500; color: var(--muted); }
.sess.live { border-color: rgba(185, 164, 255, .6); box-shadow: 0 0 0 1px rgba(185,164,255,.35), 0 0 34px rgba(138, 92, 240, .35); }
/* small mono label in a glass chip, e.g. room */
.tag {
  display: inline-block; margin-top: 9px; font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: #8fe6f0; padding: 4px 9px; border-radius: 7px;
  background: rgba(64, 200, 225, .12); border: 1px solid rgba(64, 200, 225, .28);
}
.pill { display: inline-block; font-family: var(--font-mono); font-size: .62rem; font-weight: 500; padding: 3px 8px; border-radius: 20px; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.p-live { background: var(--grad); color: #fff; box-shadow: 0 0 14px rgba(138, 92, 240, .6); }
.p-mute { background: rgba(255,255,255,.08); color: var(--muted); border: 1px solid var(--edge-soft); }
.p-good { background: rgba(127, 224, 176, .16); color: var(--good); border: 1px solid rgba(127,224,176,.3); }
.p-info { background: rgba(110, 170, 255, .16); color: #a9cbff; border: 1px solid rgba(110,170,255,.32); }
.p-spk { background: rgba(155, 107, 255, .22); color: #d9ccff; border: 1px solid rgba(170, 130, 255, .45); }
.p-mod { background: rgba(255, 176, 92, .18); color: #ffcf9a; border: 1px solid rgba(255, 176, 92, .42); }
.p-aud { background: rgba(255, 110, 170, .16); color: #ffb3d1; border: 1px solid rgba(255, 110, 170, .38); }
.p-warn { background: rgba(242, 201, 107, .16); color: var(--warn); border: 1px solid rgba(242,201,107,.32); }
.star { appearance: none; border: 0; background: none; color: var(--faint); font-size: 1.2rem; padding: 0 2px; cursor: pointer; line-height: 1; }
.star[aria-pressed="true"] { color: #f6c453; }

/* detail */
.detail h2 { font-size: 1.45rem; font-weight: 600; margin: 6px 0 10px; letter-spacing: -.04em; }
.meta { color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 6px; }
.meta span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 7px; background: rgba(155,107,255,.14); border: 1px solid rgba(170,130,255,.3); color: #ddd2ff; }
.prose { white-space: pre-line; line-height: 1.65; margin: 16px 0; color: #d9dcf0; }
.section-h { font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; color: #cfd3f5; font-weight: 500; margin: 24px 2px 10px; display: flex; align-items: center; gap: 8px; }
.section-h::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--grad); }
.person { display: flex; gap: 12px; align-items: center; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  border: 2px solid transparent; color: #fff; font-weight: 600; font-size: .82rem; letter-spacing: .02em;
  background: linear-gradient(150deg, #1d3a66, #142a4d) padding-box, var(--grad) border-box;
  box-shadow: 0 4px 14px rgba(74, 143, 255, .25);
}
.person .n { font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: -.028em; }
.person .c { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.person .r { margin-left: auto; }
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* forms & buttons */
.btn {
  appearance: none; border: 1px solid var(--edge); background: rgba(255,255,255,.08); color: var(--fg); border-radius: 12px;
  padding: 10px 15px; font-weight: 600; font-size: .88rem; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.btn:hover { background: rgba(255,255,255,.12); }
.btn.primary { background: var(--grad); border-color: rgba(255,255,255,.25); color: #fff; box-shadow: 0 8px 24px rgba(91, 99, 232, .4), inset 0 1px 0 rgba(255,255,255,.25); }
.btn.danger { color: var(--crit); }
.btn.sm { padding: 7px 12px; font-size: .8rem; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
label { display: block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
input, textarea {
  width: 100%; border: 1px solid var(--edge); background: rgba(255,255,255,.06); color: var(--fg); border-radius: 12px;
  padding: 12px 13px; font: inherit; font-size: 16px;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus-visible, textarea:focus-visible, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { resize: vertical; min-height: 80px; }
.search { margin-bottom: 12px; }
.toggle { display: flex; align-items: center; gap: 12px; padding: 13px 14px; background: var(--glass); border: 1px solid var(--edge-soft); border-radius: 14px; margin-top: 14px; }
.toggle input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: #8a5cf0; }
.toggle div { font-size: .88rem; }
.note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.err { color: var(--crit); font-size: .85rem; margin-top: 8px; }
.empty { text-align: center; color: var(--muted); padding: 34px 12px; font-size: .9rem; }

/* info */
.kv { display: grid; gap: 2px; }
.kv div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--edge-soft); font-size: .9rem; }
.kv div:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
details.faq { border-bottom: 1px solid var(--edge-soft); padding: 11px 0; }
details.faq:last-child { border-bottom: 0; }
details.faq summary { font-weight: 600; cursor: pointer; }
details.faq p { margin: 6px 0 0; color: var(--muted); }
.sponsors { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sponsors .card { display: grid; place-items: center; min-height: 92px; text-align: center; font-weight: 600; font-size: .85rem; padding: 14px; }
/* logos are made for white, so they sit on a frosted-white plate */
.sponsors .card.logo { background: rgba(255,255,255,.92); border-color: rgba(255,255,255,.6); }
.sponsors .card.logo img { max-height: 54px; max-width: 100%; object-fit: contain; }

/* chat */
.chat { display: flex; flex-direction: column; min-height: calc(100dvh - 140px - var(--tabbar)); }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-bottom: 10px; }
.bubble { max-width: 80%; padding: 9px 13px; border-radius: 18px; background: rgba(255,255,255,.09); border: 1px solid var(--edge-soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.me { align-self: flex-end; background: var(--grad); border-color: rgba(255,255,255,.2); color: #fff; }
.bubble time { display: block; font-size: .64rem; opacity: .7; margin-top: 2px; font-family: var(--font-mono); }
.composer {
  position: sticky; bottom: var(--dock); padding: 8px 0;
  display: flex; gap: 8px; align-items: flex-end;
  background: linear-gradient(180deg, transparent, rgba(5,20,40,.85) 35%);
}
.composer textarea { min-height: 44px; max-height: 140px; }
.unread { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; box-shadow: 0 0 10px var(--accent); }

.install {
  display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--edge-soft); border-radius: 14px;
  padding: 9px 10px 9px 13px; margin-bottom: 14px; font-size: .8rem; color: var(--muted);
}
.install .btn { flex: 0 0 auto; background: rgba(255,255,255,.08); border-color: var(--edge); color: var(--fg); box-shadow: none; font-weight: 500; }
.install .btn:hover { background: rgba(255,255,255,.14); }
.install .x { margin-left: auto; appearance: none; border: 0; background: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--dock) + 10px);
  background: rgba(238,240,251,.95); color: #0c0f22; padding: 9px 14px; border-radius: 12px; font-size: .85rem; z-index: 50; max-width: calc(100% - 32px);
}

/* browsers without backdrop-filter: make glass a bit more opaque so text stays legible */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card, .seg, .toggle, .install { background: #13294a; }
  .top, .tabbar { background: #071a33; }
}
@media (prefers-reduced-transparency: reduce) {
  .card, .seg, .toggle, .install { background: #13294a; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* MATTERS wordmark in the header (white logo) */
.top img.wordmark { width: auto; height: 22px; border-radius: 0; box-shadow: none; }
.top .t.sep { font-size: 1rem; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--edge); }

/* session Q&A */
.qa-cta { display: grid; gap: 12px; justify-items: start; font-size: .9rem; color: #d3d7f2;
  background: linear-gradient(135deg, rgba(155,107,255,.20), rgba(63,160,255,.12)); }
.qa-form textarea { min-height: 72px; }
.qa-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.qa-anon { display: flex; align-items: center; gap: 7px; margin: 0; font-family: var(--font-body); font-size: .8rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.qa-anon input { width: 18px; height: 18px; accent-color: #9b6bff; }
.qa-count { margin-left: auto; font-family: var(--font-mono); font-size: .66rem; color: var(--faint); }
#qa-list { margin-top: 10px; }
.qa-q { display: flex; gap: 12px; align-items: flex-start; padding: 13px; }
.qa-q.done { opacity: .65; }
.qa-vote {
  appearance: none; flex: 0 0 auto; width: 46px; display: grid; justify-items: center; gap: 1px; padding: 7px 0; cursor: pointer;
  border-radius: 12px; border: 1px solid rgba(170,130,255,.35); background: rgba(155,107,255,.12); color: #d9ccff;
  font-family: var(--font-mono); font-size: .8rem; font-weight: 500;
}
.qa-vote[aria-pressed="true"] { background: var(--grad); border-color: rgba(255,255,255,.3); color: #fff; box-shadow: 0 6px 16px rgba(106,108,255,.4); }
.qa-vote:disabled { cursor: default; opacity: .6; }
.qa-main { min-width: 0; flex: 1; }
.qa-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.qa-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 7px; font-size: .78rem; color: var(--muted); }
.linkbtn { appearance: none; border: 0; background: none; padding: 0; color: var(--crit); font-size: .78rem; cursor: pointer; text-decoration: underline; }

/* ---------- timeline agenda ---------- */
.timeline { position: relative; padding-left: 22px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(143,109,255,.7), rgba(74,143,255,.5) 55%, rgba(216,115,172,.6));
}
.timeline .section-h { margin-left: -22px; }
.tl-item { position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: -21px; top: 20px; width: 10px; height: 10px; border-radius: 50%; z-index: 1;
  background: #0d2444; border: 2px solid rgba(180, 160, 255, .85);
}
.tl-past::before { border-color: rgba(255,255,255,.28); background: #0b1d36; }
.tl-past .card { opacity: .58; }
.tl-live::before { width: 12px; height: 12px; left: -22px; top: 19px; border-color: #fff; background: var(--grad); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(160, 130, 255, .7); } 70% { box-shadow: 0 0 0 10px rgba(160, 130, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(160, 130, 255, 0); } }

/* ---------- happening-now banner ---------- */
.dot-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff7aa8; margin-right: 8px; vertical-align: 1px; animation: pulse-pink 1.8s ease-out infinite; }
@keyframes pulse-pink { 0% { box-shadow: 0 0 0 0 rgba(255,122,168,.7); } 70% { box-shadow: 0 0 0 8px rgba(255,122,168,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,168,0); } }
.hero-meta { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 12px; }
.hero-meta .tag { margin-top: 0; }
.hero-left { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.progress { height: 4px; max-width: 260px; margin: 12px auto 0; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 4px; background: var(--grad); box-shadow: 0 0 10px rgba(160,130,255,.6); }
.hero-actions { margin-top: 16px; }
.hero-next { margin-top: 18px !important; padding-top: 14px; border-top: 1px solid var(--edge-soft); font-size: .85rem; line-height: 1.5; }
.hero-next a { color: var(--fg); }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero, .seg { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
.seg { animation-delay: .05s; }
.list:not(.quiet) > * { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
.list:not(.quiet) > *:nth-child(1) { animation-delay: .08s; } .list:not(.quiet) > *:nth-child(2) { animation-delay: .12s; }
.list:not(.quiet) > *:nth-child(3) { animation-delay: .16s; } .list:not(.quiet) > *:nth-child(4) { animation-delay: .2s; }
.list:not(.quiet) > *:nth-child(5) { animation-delay: .24s; } .list:not(.quiet) > *:nth-child(6) { animation-delay: .28s; }
.list:not(.quiet) > *:nth-child(n+7) { animation-delay: .32s; }
.list.quiet .tl-item, .list.quiet .card { animation: none; }
a.card, .btn, .seg button, .qa-vote { transition: transform .12s ease, background .15s, border-color .15s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
a.card:active { transform: scale(.985); }
.btn:active, .seg button:active, .qa-vote:active { transform: scale(.96); }
.tabbar a { -webkit-tap-highlight-color: transparent; transition: color .15s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Holiday Reception theme (body.theme-holiday) ---------- */
body.theme-holiday {
  --grad: linear-gradient(100deg, #c22228 0%, #d8613a 50%, #f2b33d 100%);
  --grad-text: linear-gradient(90deg, #f6c766, #f2b33d);
  --accent: #f2b33d; --accent-ink: #f6d48a; --muted: #c4c9b2; --faint: #9aa186;
  --edge: rgba(246, 230, 190, .16); --edge-soft: rgba(246, 230, 190, .09);
}
body.theme-holiday::before {
  background:
    radial-gradient(40% 25% at 85% 6%, rgba(194, 34, 40, .26), transparent 70%),
    radial-gradient(60% 35% at 25% 22%, rgba(80, 95, 55, .32), transparent 70%),
    linear-gradient(180deg, #2f3528 0%, #2c3125 55%, #2c3125 100%);
}
body.theme-holiday::after {
  background: radial-gradient(35vmax 25vmax at 50% 30%, rgba(242, 179, 61, .08), transparent 70%);
}
body.theme-holiday .top, body.theme-holiday .tabbar { background: rgba(32, 38, 26, .62); }
body.theme-holiday .top::after { background: linear-gradient(90deg, #657647, #c22228 50%, #f2b33d); }
body.theme-holiday .tabbar a[aria-current="page"]::before {
  background: linear-gradient(135deg, rgba(194,34,40,.42), rgba(101,118,71,.45));
}
body.theme-holiday .card {
  background: linear-gradient(165deg, rgba(255,250,235,.10) 0%, rgba(255,250,235,.05) 60%, rgba(255,250,235,.035) 100%);
}
body.theme-holiday .btn.primary { background: linear-gradient(100deg, #b81e24, #d6372b); border-color: rgba(255,220,180,.3); box-shadow: 0 8px 24px rgba(194,34,40,.38), inset 0 1px 0 rgba(255,255,255,.22); }
body.theme-holiday .tag { color: #f6cf7a; background: rgba(242,179,61,.12); border-color: rgba(242,179,61,.32); }
body.theme-holiday .section-h { color: #e9dfc0; }
body.theme-holiday .section-h::before { background: linear-gradient(90deg, #c22228, #f2b33d); }
body.theme-holiday .kv span:last-child { color: #f4efe0; }

.hol-hero { text-align: center; padding: 10px 6px 4px; animation: rise .55s cubic-bezier(.2,.7,.2,1) both; }
.hol-k { font-family: "Montserrat", var(--font-body); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: #f2b33d; }
.hol-k b { font-weight: 700; }
.hol-logo { display: block; width: min(86%, 380px); margin: 26px auto 0; filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }
.hol-script {
  font-family: "Great Vibes", cursive; font-weight: 400; font-size: 3rem; line-height: 1; letter-spacing: 0; margin-top: 4px;
  background: linear-gradient(180deg, #f8cf6e, #e9a63a); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 8px rgba(242,179,61,.25));
}
.hol-when { margin-top: 14px; font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: -.025em; color: #f4efe0; }
.hol-status { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hol-status .tag { margin-top: 0; }
.hol-count { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hol-pill { background: rgba(194,34,40,.22); color: #ffb3a8; border: 1px solid rgba(255,120,110,.4); }
.hol-actions { justify-content: center; margin-top: 18px; }
.hol-presented { margin: 26px auto 4px; display: grid; gap: 6px; }
.hol-presented span { font-family: "Montserrat", var(--font-body); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #f2b33d; }
.hol-presented b { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -.03em; }
.hol-card { margin-top: 14px; }
.hol-foliage {
  position: fixed; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom) + 46px); z-index: -1; pointer-events: none;
  height: 240px;
  background: url("holiday/poster.png") center bottom / 768px auto repeat-x;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
}
body.theme-holiday main { padding-bottom: 200px; }

/* the evening event's card on the agenda links here */
.hol-link { border-color: rgba(242,179,61,.35); background: linear-gradient(165deg, rgba(194,34,40,.16), rgba(101,118,71,.14)); }
.hol-more { display: inline-block; margin-top: 9px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #f6cf7a; }

/* ---------- agenda card header: one time line + room with a pin ---------- */
.sess.v2 { display: block; }
.sess-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sess-top .when { font-family: var(--font-display); font-weight: 500; font-size: .86rem; letter-spacing: -.02em; color: #e9ecff; white-space: nowrap; }
.where { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--muted); white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.where svg { flex: 0 0 auto; opacity: .85; color: #8fe6f0; }
.sess.v2.break .sess-top { margin-bottom: 4px; }
.hero-meta .where { font-size: .82rem; color: #d3d7f2; }
.tl-item::before { top: 18px; }
.tl-live::before { top: 17px; }
body.theme-holiday .where svg { color: #f6cf7a; }

.home-link { display: inline-flex; align-items: center; line-height: 0; border-radius: 8px; }

/* ---------- home tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 2px 0 6px; }
.tile { display: grid; gap: 3px; padding: 14px; min-height: 104px; align-content: start; }
.tile-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 6px;
  background: linear-gradient(135deg, rgba(143,109,255,.35), rgba(74,143,255,.25)); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.tile-ic svg { width: 19px; height: 19px; }
.tile-t { font-family: var(--font-display); font-weight: 600; font-size: .92rem; letter-spacing: -.02em; }
.tile-s { font-size: .74rem; color: var(--muted); }
.tile-hol { background: linear-gradient(160deg, rgba(194,34,40,.32), rgba(101,118,71,.34)); border-color: rgba(242,179,61,.35); }
.tile-hol .tile-ic { background: linear-gradient(135deg, #b81e24, #657647); border-color: rgba(242,179,61,.45); }
.tile-hol .tile-s { color: #f2cf86; }
.tabbar a { white-space: nowrap; }

/* ---------- Connect attendee directory ---------- */
.chips { display: flex; gap: 8px; margin: -2px 0 12px; flex-wrap: wrap; }
.chip { appearance: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 20px; cursor: pointer;
  font-size: .8rem; font-weight: 500; color: var(--muted); background: rgba(255,255,255,.06); border: 1px solid var(--edge-soft); }
.chip b { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; color: var(--faint); }
.chip[aria-pressed="true"] { color: #fff; background: linear-gradient(135deg, rgba(143,109,255,.4), rgba(74,143,255,.3)); border-color: rgba(255,255,255,.22); }
.chip[aria-pressed="true"] b { color: #dfe3ff; }
.joined-dot { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #3ccf8e; color: #062a1a; }
.avatar { position: relative; }
.joined-badge { position: absolute; right: -3px; bottom: -3px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center;
  background: #3ccf8e; color: #062a1a; border: 2px solid #10284a; box-shadow: 0 0 10px rgba(60,207,142,.55); }
.person.off { background: rgba(255,255,255,.035); box-shadow: none; border-color: var(--edge-soft); }
.person.off .avatar { background: rgba(255,255,255,.08) padding-box, rgba(255,255,255,.12) border-box; box-shadow: none; color: var(--muted); }
.person.off .n { color: #cfd3ea; font-weight: 500; }
.off-note { font-size: .66rem; color: var(--faint); white-space: nowrap; font-family: var(--font-mono); letter-spacing: .04em; }
.chev { font-size: 1.3rem; color: var(--faint); line-height: 1; }
