:root {
  --ink: #2e1738;
  --muted: #796b80;
  --purple: #6b2c88;
  --purple-deep: #4c155f;
  --magenta: #c92f92;
  --gold: #f2bd54;
  --lilac: #f6edfa;
  --line: rgba(96, 43, 115, 0.13);
  --white: #ffffff;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #eadcf0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #eadcf0; }
body { margin: 0; min-height: 100vh; background: #eadcf0; }
button, a { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ambient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(201,47,146,.24), transparent 32%),
    radial-gradient(circle at 84% 70%, rgba(107,44,136,.28), transparent 30%),
    linear-gradient(145deg, #f9f1fb, #d7c0e0);
}

.app-shell {
  position: relative;
  width: min(100%, 480px);
  min-height: 100dvh;
  margin: 0 auto;
  background: #fbf8fc;
  box-shadow: 0 0 60px rgba(57, 22, 70, .2);
  overflow: hidden;
}

.home-view, .sub-view { min-height: 100dvh; }
.home-view { padding-bottom: max(30px, env(safe-area-inset-bottom)); }

.hero-visual { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #f8ebf8; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.hero-eventline { position: absolute; z-index: 2; inset: auto 0 0; display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: 58px; padding: 10px 18px 9px; color: var(--purple-deep); background: linear-gradient(90deg, rgba(255,250,255,.96), rgba(255,250,255,.78)); border-top: 1px solid rgba(107,44,136,.12); backdrop-filter: blur(10px); }
.hero-place { display: flex; grid-row: 1 / 3; align-items: center; gap: 7px; font-family: "Songti SC", "STSong", serif; font-size: 1rem; font-weight: 800; letter-spacing: .08em; }
.hero-place b { color: var(--magenta); font-family: Georgia, serif; font-size: 1.18rem; letter-spacing: .04em; }
.hero-place i { width: 18px; height: 1px; background: var(--gold); }
.hero-date, .hero-time { text-align: right; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.hero-time { color: var(--muted); font-size: .68rem; }

.menu-section { padding: 14px 16px 12px; }
.section-heading span, .view-header span { color: var(--magenta); font-size: .68rem; letter-spacing: .18em; font-weight: 750; }
.section-heading h2, .view-header h2 { margin: 4px 0 0; font-family: "Songti SC", "STSong", serif; font-size: 1.55rem; line-height: 1.2; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.menu-card { position: relative; display: flex; min-height: 132px; padding: 17px; flex-direction: column; align-items: flex-start; justify-content: space-between; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--ink); text-align: left; text-decoration: none; box-shadow: 0 10px 28px rgba(56,23,69,.07); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.menu-card[hidden] { display: none; }
.menu-card:active { transform: scale(.98); }
.menu-card::after { content: ""; position: absolute; width: 82px; height: 82px; right: -34px; bottom: -40px; border-radius: 50%; background: radial-gradient(circle, rgba(201,47,146,.11), rgba(201,47,146,0)); }
.card-live { grid-column: 1 / -1; min-height: 116px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; color: white; background: linear-gradient(125deg, var(--purple-deep), #a52b8c); border: 0; }
.card-live .menu-copy { flex: 1; }
.card-live small { color: rgba(255,255,255,.72) !important; }
.card-live .icon-wrap { color: white; background: rgba(255,255,255,.14); }
.card-live .card-index { color: rgba(255,255,255,.36); }
.card-more { background: linear-gradient(145deg, #fbf7fc, #f2e6f6); }
.card-more .icon-wrap { color: var(--magenta); background: white; box-shadow: 0 6px 18px rgba(71,25,86,.08); }
.icon-wrap { display: grid; width: 42px; height: 42px; place-items: center; color: var(--purple); background: var(--lilac); border-radius: 13px; }
.icon-wrap svg { width: 22px; height: 22px; }
.menu-copy { display: flex; flex-direction: column; gap: 3px; }
.menu-copy b { font-size: 1.02rem; }
.menu-copy small { color: var(--muted); font-size: .78rem; }
.card-index { position: absolute; top: 17px; right: 15px; color: rgba(107,44,136,.25); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.live-pulse { width: 9px; height: 9px; border-radius: 50%; background: #ffcd67; box-shadow: 0 0 0 0 rgba(255,205,103,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,205,103,0); } 100% { box-shadow: 0 0 0 0 rgba(255,205,103,0); } }

footer { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 17px 16px 4px; color: #938a97; font-size: .65rem; letter-spacing: .03em; }
footer i { width: 3px; height: 3px; border-radius: 50%; background: #c9bdcd; }

.sub-view { background: linear-gradient(180deg, #fbf6fc 0, #fff 210px); }
.view-header { display: flex; align-items: center; gap: 14px; min-height: 96px; padding: max(18px, env(safe-area-inset-top)) 18px 14px; color: var(--ink); border-bottom: 1px solid var(--line); background: rgba(251,246,252,.94); }
.sticky-head { position: sticky; z-index: 20; top: 0; backdrop-filter: blur(16px); }
.back-button { display: grid; width: 42px; height: 42px; place-items: center; flex: none; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--purple); }
.back-button svg { width: 22px; height: 22px; }
.view-body { padding: 18px 16px max(32px, env(safe-area-inset-bottom)); }

.agenda-image { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 14px 35px rgba(67,29,81,.1); }
.agenda-image img { width: 100%; height: auto; }
.agenda-image span { position: sticky; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; margin: 0 0 12px; padding: 9px 14px; border-radius: 99px; background: rgba(61,22,76,.86); color: white; font-size: .8rem; box-shadow: 0 5px 18px rgba(35,8,43,.25); backdrop-filter: blur(8px); }
.agenda-image span svg { width: 16px; height: 16px; }

.expert-tabs { position: sticky; z-index: 19; top: 96px; display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; background: rgba(251,248,252,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(15px); scrollbar-width: none; }
.expert-tabs::-webkit-scrollbar { display: none; }
.expert-tabs button { flex: none; padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; background: white; color: #6f6274; font-size: .82rem; }
.expert-tabs button.is-active { border-color: var(--purple); background: var(--purple); color: white; }
.expert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.expert-card { position: relative; display: flex; min-height: 205px; padding: 24px 10px 13px; flex-direction: column; align-items: center; overflow: hidden; border: 1px solid rgba(107,44,136,.09); border-radius: 18px; background: linear-gradient(180deg, #f8f0fb 0, #fff 72%); text-align: center; box-shadow: 0 8px 24px rgba(63,27,76,.07); transition: transform .2s ease, box-shadow .2s ease; }
.expert-card:active { transform: scale(.98); box-shadow: 0 5px 16px rgba(63,27,76,.08); }
.expert-card::before { content: ""; position: absolute; top: -60px; left: 50%; width: 180px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(199,60,213,.15), rgba(199,60,213,0) 68%); transform: translateX(-50%); }
.expert-card::after { content: none; }
.expert-card img { position: relative; z-index: 1; width: 108px; height: 108px; flex: none; object-fit: contain; object-position: center; border-radius: 50%; background: white; filter: drop-shadow(0 8px 10px rgba(72,26,87,.12)); }
.expert-card .expert-copy { position: relative; z-index: 2; display: block; width: 100%; margin-top: 10px; color: var(--ink); }
.expert-copy b { display: block; font-size: 1rem; line-height: 1.35; }
.expert-copy small { display: -webkit-box; min-height: 2.8em; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: .73rem; line-height: 1.4; white-space: normal; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.expert-role { position: absolute; z-index: 3; top: 10px; left: 10px; padding: 5px 8px; border: 1px solid rgba(107,44,136,.09); border-radius: 99px; background: rgba(255,255,255,.92); color: var(--purple); font-size: .68rem; font-weight: 800; box-shadow: 0 4px 12px rgba(71,25,86,.07); backdrop-filter: blur(8px); }

.moments-body > p { margin: 0 1px 16px; color: var(--muted); font-size: .9rem; }
.photo-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.photo-grid button { padding: 0; overflow: hidden; border: 0; border-radius: 16px; background: #eee; box-shadow: 0 8px 24px rgba(63,27,76,.1); }
.photo-grid button:nth-child(-n+2) { grid-column: 1 / -1; }
.photo-grid button img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.photo-grid button:nth-child(-n+2) img { aspect-ratio: 16 / 9; }
.photo-grid button:active img { transform: scale(1.02); }
.photo-placeholder { display: flex; min-height: 140px; align-items: center; justify-content: center; gap: 10px; border: 1px dashed rgba(107,44,136,.24); border-radius: 16px; color: var(--purple); background: var(--lilac); }
.photo-placeholder svg { width: 28px; height: 28px; }
.photo-placeholder span { font-size: .82rem; line-height: 1.45; }

.info-body { display: grid; gap: 12px; }
.info-lead { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 20px; color: white; background: linear-gradient(130deg, var(--purple-deep), #a42d8d); box-shadow: 0 14px 32px rgba(78,25,95,.2); }
.date-number { font-family: Georgia, serif; font-size: 3.5rem; line-height: .9; color: var(--gold); }
.info-lead b { font-size: 1.14rem; }
.info-lead p { margin: 5px 0 0; color: rgba(255,255,255,.72); font-size: .86rem; }
.info-card { display: flex; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: 0 8px 26px rgba(63,27,76,.06); }
.info-icon { display: grid; width: 40px; height: 40px; place-items: center; flex: none; border-radius: 12px; background: var(--lilac); color: var(--magenta); }
.info-icon svg { width: 20px; height: 20px; }
.info-card small { color: var(--magenta); font-size: .73rem; font-weight: 700; }
.info-card h3 { margin: 4px 0 2px; font-size: 1.02rem; }
.info-card p { margin: 0; color: var(--muted); font-size: .87rem; }
.travel-card { padding: 18px; border-radius: 18px; background: #f3ebf6; }
.travel-title { display: flex; align-items: center; gap: 9px; }
.travel-title svg { width: 21px; height: 21px; color: var(--purple); }
.travel-title h3 { margin: 0; font-size: 1rem; }
.travel-card dl { margin: 14px 0 0; }
.travel-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(107,44,136,.1); }
.travel-card dt { font-size: .87rem; font-weight: 650; }
.travel-card dd { margin: 0; color: var(--muted); font-size: .8rem; text-align: right; }

.download-body { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 44px; }
.document-preview { position: relative; display: block; width: min(260px, 72vw); overflow: hidden; border: 1px solid rgba(75,45,83,.14); border-radius: 6px; background: white; box-shadow: 0 18px 42px rgba(66,28,79,.18); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.document-preview:active { transform: scale(.985); box-shadow: 0 10px 28px rgba(66,28,79,.16); }
.document-preview img { width: 100%; height: auto; }
.document-preview span { position: absolute; inset: auto 10px 10px; display: flex; min-height: 38px; align-items: center; justify-content: center; gap: 7px; border-radius: 4px; color: white; background: rgba(65,20,80,.9); font-size: .78rem; font-weight: 750; box-shadow: 0 6px 18px rgba(45,12,56,.22); backdrop-filter: blur(8px); }
.document-preview span svg { width: 16px; height: 16px; }
.download-body h3 { margin: 31px 0 6px; font-size: 1.2rem; }
.download-body p { width: min(290px, 90%); margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.download-action { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 13px 22px; border: 0; border-radius: 99px; color: white; background: linear-gradient(120deg, var(--purple-deep), var(--magenta)); box-shadow: 0 10px 24px rgba(107,44,136,.22); font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.download-action:active { transform: scale(.97); box-shadow: 0 5px 15px rgba(107,44,136,.18); }
.download-action svg { width: 18px; height: 18px; }

.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 60px 12px 30px; border: 0; background: rgba(20,7,25,.95); color: white; }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(20,7,25,.78); }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 110px); object-fit: contain; border-radius: 8px; }
.lightbox-close { position: fixed; z-index: 2; top: max(14px, env(safe-area-inset-top)); right: 15px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.1); color: white; }
.lightbox-close svg { width: 22px; height: 22px; }

.profile-dialog { width: min(calc(100% - 28px), 430px); max-height: calc(100dvh - 36px); padding: 0 22px 26px; overflow: auto; border: 0; border-radius: 24px; background: linear-gradient(180deg, #f5e8f8 0, #fff 240px); color: var(--ink); box-shadow: 0 28px 80px rgba(32,10,39,.35); }
.profile-dialog::backdrop { background: rgba(28,9,35,.72); backdrop-filter: blur(5px); }
.profile-close { position: sticky; z-index: 2; top: 12px; display: grid; width: 39px; height: 39px; margin: 12px 0 -50px auto; place-items: center; border: 1px solid rgba(107,44,136,.14); border-radius: 50%; background: rgba(255,255,255,.88); color: var(--purple); }
.profile-close svg { width: 20px; height: 20px; }
.profile-portrait { width: 136px; height: 136px; margin: 30px auto 16px; overflow: hidden; border: 5px solid white; border-radius: 50%; box-shadow: 0 12px 30px rgba(81,31,96,.18); }
.profile-portrait img { width: 100%; height: 100%; object-fit: cover; }
.profile-role { display: table; margin: 0 auto 8px; padding: 5px 10px; border-radius: 99px; background: var(--lilac); color: var(--purple); font-size: .7rem; font-weight: 800; }
.profile-dialog h2 { margin: 0; font-family: "Songti SC", serif; font-size: 1.55rem; text-align: center; }
.profile-hospital { margin: 7px 0 0; color: var(--muted); font-size: .85rem; text-align: center; }
.profile-divider { width: 36px; height: 3px; margin: 18px auto; border-radius: 2px; background: var(--gold); }
.profile-bio { margin: 0; color: #5d5261; font-size: .9rem; line-height: 1.8; text-align: justify; }

.event-index-view { min-height: 100dvh; background: linear-gradient(180deg, #fbf6fc 0, #fff 320px); }
.event-index-header { display: flex; align-items: center; gap: 14px; padding: max(20px, env(safe-area-inset-top)) 18px 17px; border-bottom: 1px solid var(--line); }
.event-index-header div { flex: 1; }
.event-index-header span { color: var(--magenta); font-size: .68rem; font-weight: 750; letter-spacing: .18em; }
.event-index-header h1 { margin: 4px 0 0; font-family: "Songti SC", "STSong", serif; font-size: 1.62rem; line-height: 1.2; }
.event-index-body { padding: 22px 16px max(34px, env(safe-area-inset-bottom)); }
.event-index-lead { margin: 0 2px 18px; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.event-list { display: grid; gap: 14px; }
.event-list-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: white; box-shadow: 0 12px 30px rgba(63,27,76,.09); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.event-list-card:active { transform: scale(.985); box-shadow: 0 7px 20px rgba(63,27,76,.1); }
.event-list-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: left center; }
.event-list-copy { position: relative; display: block; padding: 18px 18px 19px; }
.event-list-meta { display: flex; align-items: center; gap: 8px; color: var(--magenta); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.event-list-meta i { width: 14px; height: 1px; background: var(--gold); }
.event-list-copy h2 { margin: 10px 0 6px; font-family: "Songti SC", "STSong", serif; font-size: 1.18rem; line-height: 1.48; }
.event-list-copy p { margin: 0; color: var(--muted); font-size: .8rem; }
.event-list-arrow { position: absolute; right: 18px; bottom: 19px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: white; background: var(--purple); }
.event-list-arrow svg { width: 17px; height: 17px; transform: rotate(180deg); }
.event-coming { margin-top: 14px; padding: 18px; border: 1px dashed rgba(107,44,136,.22); border-radius: 16px; color: var(--muted); background: rgba(246,237,250,.72); text-align: center; font-size: .82rem; }

@media (min-width: 481px) {
  body { padding: 28px 0; }
  .app-shell { min-height: calc(100dvh - 56px); }
  .home-view, .sub-view { min-height: calc(100dvh - 56px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

:root{--ink:#1c2e55;--muted:#6e7890;--purple:#24498e;--purple-deep:#162d6b;--magenta:#715494;--lilac:#edf2fa;--line:rgba(35,68,131,.13)}
html,body{background:#e7edf6}.ambient{background:radial-gradient(circle at 10% 10%,#ddd4ed,transparent 40%),linear-gradient(145deg,#edf2fb,#cbd9ee)}.app-shell{background:#f7f9fd}.hero-visual{aspect-ratio:auto;overflow:visible;background:#183970}.hero-visual>img{width:100%;height:auto;object-fit:contain}.hero-eventline{position:relative;background:#fff;min-height:58px}.card-live,.info-lead{background:linear-gradient(125deg,#142d6e,#3d5092)}.sub-view{background:linear-gradient(180deg,#f1f5fc,#fff 210px)}.view-header{background:rgba(242,246,253,.94)}.travel-card{background:#edf2fa}.travel-card p{font-size:.86rem;line-height:1.8}.empty-state{text-align:center;border:1px dashed var(--line);border-radius:20px;padding:56px 20px;background:linear-gradient(150deg,#edf2fc,#f7f2fa)}.empty-state>svg{width:48px;height:48px;color:var(--purple)}.empty-state h3{margin:20px 0 10px}.empty-state p,.source-note{color:var(--muted);font-size:.86rem;line-height:1.8}.card-replay{grid-column:1/-1;min-height:100px;flex-direction:row;align-items:center;justify-content:flex-start;gap:16px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.faculty-card{border:1px solid var(--line);border-radius:16px;padding:18px 14px;background:#fff}.faculty-card h3{margin:0 0 10px;font-size:1.1rem}.faculty-card p{font-size:.78rem;line-height:1.6;color:var(--muted);margin:0}.faculty-card small{display:block;color:var(--purple);margin-bottom:10px;font-size:.7rem}.expert-tabs button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #b99858;outline-offset:3px}[hidden]{display:none!important}footer{flex-wrap:wrap}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.lightbox{overflow:auto;justify-content:flex-start}.lightbox img{cursor:zoom-in;flex-shrink:0}.lightbox img.zoomed{width:100%;max-height:none;cursor:zoom-out}.lightbox-close{background:#1a2850}.agenda-image span::after{content:" · 再次点击图片可展开";font-size:.68rem}

.replay-list { display: grid; gap: 12px; }
.replay-item { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); text-decoration: none; box-shadow: 0 6px 20px rgba(35,68,131,.05); }
.replay-cover { position: relative; display: block; flex: 0 0 34%; max-width: 136px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; color: white; background: radial-gradient(ellipse at 0 0,rgba(166,116,193,.55),transparent 75%),linear-gradient(135deg,#213768,#19558a); }
.replay-cover::before { content: ""; position: absolute; width: 130px; height: 130px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; right: -70px; top: -65px; box-shadow: 0 0 0 16px rgba(255,255,255,.035),0 0 0 32px rgba(255,255,255,.025); }
.replay-number { position: absolute; top: 12px; left: 13px; color: #f3d9b5; font-size: clamp(1.7rem,7vw,2.3rem); font-weight: 650; line-height: 1; letter-spacing: -.04em; }
.replay-cover-label { position: absolute; bottom: 12px; left: 13px; font-size: .5rem; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.replay-cover-play { position: absolute; bottom: 10px; right: 10px; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.08); }
.replay-cover-play svg { width: 12px; height: 12px; margin-left: 2px; }
.replay-item:nth-child(3n+2) .replay-cover { background: radial-gradient(ellipse at 0 0,rgba(128,135,206,.5),transparent 75%),linear-gradient(135deg,#273369,#5c427c); }
.replay-item:nth-child(3n) .replay-cover { background: radial-gradient(ellipse at 0 0,rgba(136,172,208,.5),transparent 75%),linear-gradient(135deg,#1c446c,#286b83); }
.replay-copy { flex: 1; min-width: 0; }
.replay-copy small { color: var(--purple); font-size: .8rem; font-weight: 700; }
.replay-copy h3 { margin: 6px 0 9px; font-size: .96rem; line-height: 1.6; overflow-wrap: anywhere; }
.replay-copy > span { color: var(--muted); font-size: .74rem; }
.replay-item .icon-wrap { flex-shrink: 0; }
.replay-item:active { background: var(--lilac); }
.replay-item{width:100%;text-align:left;cursor:pointer}
.video-dialog{width:min(calc(100% - 28px),860px);max-height:calc(100dvh - 32px);padding:0;overflow:auto;border:0;border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 24px 80px rgba(16,30,62,.3)}
.video-dialog::backdrop{background:rgba(12,23,48,.72)}
.video-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px}
.video-dialog-header p{margin:0 0 6px;color:var(--purple);font-size:.82rem;font-weight:700}.video-dialog-header h2{margin:0;font-size:1rem;line-height:1.65}
.video-close{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:var(--lilac);color:var(--purple);cursor:pointer}.video-close svg{width:18px;height:18px}
.video-dialog video{display:block;width:100%;max-height:70dvh;aspect-ratio:16/9;background:#0b1426}
.video-error{margin:0;padding:16px 20px;font-size:.85rem;color:var(--muted)}

/* Agenda and faculty views */
.card-replay{grid-column:auto;min-height:132px;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:0}
.agenda-meta{display:grid;grid-template-columns:minmax(0,1fr) clamp(72px,21vw,100px);align-items:center;gap:14px;padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff;margin-bottom:20px}.agenda-meta b{font-size:1.05rem}.agenda-meta p{color:var(--muted);font-size:.87rem;line-height:1.8;margin:10px 0 16px}
.agenda-thumbnail{display:block;width:100%;padding:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--lilac);box-shadow:0 5px 16px rgba(35,68,131,.12);cursor:zoom-in}.agenda-thumbnail img{display:block;width:100%;height:auto}.agenda-meta-copy .agenda-source{text-align:left}.agenda-meta-copy .agenda-source svg{flex-shrink:0}
.agenda-source{display:inline-flex;align-items:center;gap:8px;padding:11px 15px;border:1px solid var(--line);border-radius:12px;background:var(--lilac);color:var(--purple);text-decoration:none;font-size:.83rem;cursor:pointer}.agenda-source svg{width:18px;height:18px}
.agenda-chapter{margin:0 0 18px;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.agenda-chapter>h3{margin:0;padding:15px;color:white;background:linear-gradient(110deg,#233573,#295692);font-size:.97rem;line-height:1.6}.agenda-host{margin:0;padding:13px 15px;font-size:.82rem;color:var(--muted);background:#f0f4fa;line-height:1.6}.agenda-host span{color:var(--purple);font-weight:700;margin-right:12px}.agenda-row{display:grid;grid-template-columns:92px 1fr;gap:10px;padding:17px 14px;border-top:1px solid var(--line)}.agenda-row time{font-size:.74rem;color:var(--purple);font-weight:750;padding-top:3px;white-space:nowrap}.agenda-row small{font-size:.69rem;color:var(--muted)}.agenda-row h4{font-size:.9rem;line-height:1.65;margin:5px 0 8px}.agenda-row p{font-size:.8rem;color:var(--muted);line-height:1.6;margin:0}
.faculty-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;cursor:pointer;padding:12px;min-width:0}.faculty-card>img{width:100%;aspect-ratio:48/58;object-fit:cover;border-radius:10px;margin-bottom:12px;background:var(--lilac)}.faculty-card small{min-height:2.8em;line-height:1.4;margin-bottom:7px}.faculty-card h3{margin:0 0 6px}.faculty-card p{min-height:3.2em;line-height:1.6}.faculty-hint{display:block;font-size:.72rem;color:var(--purple);padding-top:13px;margin-top:auto}
.profile-dialog .profile-portrait{margin:24px auto 18px;width:140px;height:auto;aspect-ratio:48/58;border:0;border-radius:0;box-shadow:none}.profile-dialog .profile-portrait img{width:100%;height:100%;object-fit:cover;transform:scale(1.1)}.faculty-bio{padding-left:18px;font-size:.85rem;line-height:1.85;color:var(--muted);text-align:left}.faculty-bio li{margin:8px 0}.profile-dialog #profile-source{margin-top:12px}.profile-close{cursor:pointer}
.faculty-card{border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:none}
.faculty-portrait{display:block;width:100%;aspect-ratio:48/58;overflow:hidden;border-radius:8px;margin-bottom:12px}
.faculty-portrait img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.1)}
@media(max-width:360px){.agenda-row{grid-template-columns:1fr;gap:8px}}

.welcome-letter{padding:24px 20px;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink)}
.welcome-letter p{margin:0 0 20px;font-size:.94rem;line-height:2;text-indent:2em;overflow-wrap:anywhere}
.welcome-letter p:last-child{margin-bottom:0}.welcome-letter .welcome-salutation{text-indent:0;font-weight:700;color:var(--purple)}
.conference-info-card{padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff}
.conference-info-card h3{margin:0 0 16px;font-size:1.05rem;color:var(--purple)}
.conference-details{margin:0}.conference-details>div{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;padding:13px 0;border-top:1px solid var(--line)}
.conference-details dt{font-size:.82rem;font-weight:700;line-height:1.8}.conference-details dd{margin:0;font-size:.86rem;color:var(--muted);line-height:1.8;overflow-wrap:anywhere}
.contact-details a{display:block;width:fit-content;color:var(--purple);text-decoration:none;font-variant-numeric:tabular-nums}
.conference-qr{text-align:center;border-top:1px solid var(--line);padding-top:16px}.conference-qr p{font-size:.82rem;color:var(--muted);line-height:1.7}.conference-qr img{width:160px;height:160px;margin:12px auto 0}

.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.welcome-entry{display:inline-flex;align-items:center;gap:7px;padding:9px 11px;min-height:40px;border:1px solid rgba(36,73,142,.14);border-radius:99px;background:linear-gradient(120deg,#fff,#edf2fa);color:var(--purple);font-size:.78rem;font-weight:600;white-space:nowrap;cursor:pointer;box-shadow:0 2px 6px rgba(35,68,131,.04)}
.welcome-entry svg{width:15px;height:15px}.welcome-entry .entry-arrow{width:12px;height:12px}
.entry-arrow{transform:rotate(180deg)}
.main-venue-entry{display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-height:132px;padding:17px;border:1px solid rgba(36,73,142,.1);border-radius:18px;background:linear-gradient(145deg,#f1f4fa,#eaf0f8);color:#526788;text-decoration:none;text-align:left}
.main-venue-top{display:flex;align-items:center;justify-content:space-between}.main-venue-top>.entry-arrow{width:16px;height:16px;color:#8999b2}
.main-venue-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.75);color:#637b9f}.main-venue-icon svg{width:18px;height:18px}
.main-venue-copy{display:flex;flex-direction:column;gap:5px}.main-venue-copy b{font-size:.9rem;font-weight:650;line-height:1.4}.main-venue-copy small{font-size:.71rem;color:#7e8ca3;line-height:1.5}
.welcome-entry:active,.main-venue-entry:active{background:#e5edf8}
