/* ============================================================
   手机版
   ============================================================ */

body { padding-bottom: calc(var(--tab-h) + var(--safe-b) + 12px); }

/* ---------- 启动遮罩 ---------- */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-0);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.splash.out { opacity: 0; visibility: hidden; }
.splash-inner { text-align: center; }
.splash-mark {
  font-family: var(--font-num);
  font-size: 64px; font-weight: 700; line-height: 1;
  color: var(--brand);
  letter-spacing: -.03em;
}
.splash-title { margin-top: 10px; font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--ink-2); }
.splash-line { width: 120px; height: 2px; background: var(--bg-2); border-radius: 2px; margin: 18px auto 0; overflow: hidden; }
.splash-line i { display: block; width: 40%; height: 100%; background: var(--brand); border-radius: 2px; animation: slide 1.1s infinite var(--ease); }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(320%); } }
.splash-sub { margin-top: 12px; font-size: 12px; color: var(--ink-3); letter-spacing: .1em; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px calc(10px);
  background: rgba(242, 246, 250, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 30px;
}
.brand-logo { height: 30px; width: auto; display: block; animation: logoBreathe 4.6s ease-in-out infinite; }
.brand-logo-wrap::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 22px;
  margin-left: -3px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,160,150,.42) 0%, rgba(30,120,190,.20) 45%, rgba(16,160,150,0) 75%);
  animation: logoGlow 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes logoGlow {
  0%, 100% { opacity: .04; transform: translateY(-50%) scale(.82); }
  50% { opacity: .55; transform: translateY(-50%) scale(1.06); }
}
.brand-logo-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,1) 50%,
    rgba(255,255,255,0) 70%);
  -webkit-mask: url("../img/logo.png") left center / contain no-repeat;
  mask: url("../img/logo.png") left center / contain no-repeat;
  background-size: 260% 100%;
  background-position: 0% 0;
  animation: logoShine 4.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes logoShine {
  0%, 55% { background-position: 0% 0; }
  85%, 100% { background-position: 100% 0; }
}
@keyframes logoBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.brand-word {
  font-size: 15px; font-weight: 800; letter-spacing: .04em;
  color: var(--ink);
}
.brand-sep { width: 1px; height: 12px; background: var(--line-2); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(140deg, var(--brand-2), var(--brand));
  color: #fff; font-family: var(--font-num); font-size: 15px; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px -6px rgba(11, 99, 206, .9);
}
.brand-text { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); white-space: nowrap; }
.topbar-r { display: flex; align-items: center; gap: 8px; }
.pill-ghost { background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); padding: 5px 11px; }

.icon-btn {
  position: relative;
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--bg-1); border: 1px solid var(--line);
  color: var(--ink-2); cursor: pointer;
  transition: color .25s, border-color .25s;
}
.icon-btn.on { color: var(--brand); border-color: rgba(11, 99, 206, .35); }
.icon-btn-dot {
  position: absolute; right: 6px; top: 6px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--coral); opacity: 0;
  transition: opacity .25s;
}
.icon-btn.on .icon-btn-dot { opacity: 1; }

/* ---------- 视图 ---------- */
.view { animation: viewIn .42s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 首屏 3D ---------- */
.hero {
  position: relative;
  height: clamp(440px, 66vh, 580px);
  margin: 4px 12px 0;
  border-radius: 24px;
  overflow: hidden;
  background: #E9EFF5;
  box-shadow: 0 20px 44px -26px rgba(11, 27, 43, .5);
  isolation: isolate;
}
#hallCanvas { position: absolute; left: 0; right: 0; top: -12%; width: 100%; height: 124%; display: block; touch-action: pan-y; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 36%, rgba(255,255,255,0) 44%, rgba(11,27,43,.20) 100%);
}
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, var(--bg-0) 2%, rgba(242, 246, 250, .86) 20%, rgba(242, 246, 250, 0) 52%),
    linear-gradient(to bottom, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 26%);
}
.hero-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 22px 18px;
  z-index: 2;
}
.hero-body::after {
  content: "11";
  position: absolute;
  right: 8px; bottom: -18px;
  font-family: var(--font-num);
  font-size: 132px; font-weight: 700; line-height: 1;
  color: var(--brand);
  opacity: .07;
  letter-spacing: -.05em;
  pointer-events: none;
}
.hero-date {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  backdrop-filter: blur(8px);
}
.hero-date em { font-style: normal; color: var(--ink-3); }
.hero-date .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }

.hero-kicker {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .22em;
  color: var(--brand);
  margin-top: 10px;
}
.hero-title {
  margin: 6px 0 0;
  font-size: clamp(18px, 5.5vw, 24px);
  font-weight: 800;
  letter-spacing: .004em;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
}
.hero-theme { margin-top: 8px; font-size: 13px; color: var(--ink-2); letter-spacing: .02em; }

.hero-hint {
  position: absolute; right: 16px; top: 16px;
  z-index: 2;
  font-size: 10.5px; letter-spacing: .12em;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .7);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  backdrop-filter: blur(6px);
  animation: hintPulse 3.4s infinite;
}
@keyframes hintPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.hero-audio {
  position: absolute; right: 16px; bottom: 150px; z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 13px 7px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(11, 27, 43, .1);
  color: var(--ink); font-size: 11px; font-weight: 600;
  font-family: inherit; cursor: pointer;
  box-shadow: 0 6px 16px -10px rgba(11, 27, 43, .6);
  backdrop-filter: blur(8px);
  transition: transform .2s var(--ease);
}
.hero-audio:active { transform: scale(.95); }
.hero-audio.playing { color: var(--brand); border-color: rgba(11, 99, 206, .3); }
.hero-audio.playing svg { animation: blink 1.4s infinite; }

/* ---------- 倒计时 ---------- */
.countdown {
  margin-top: -14px;
  position: relative; z-index: 3;
  padding: 16px 18px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F7FAFD 100%);
}
.cd-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cd-label { font-size: 11.5px; font-weight: 700; color: var(--brand); letter-spacing: .06em; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cd-cell { text-align: center; }
.cd-cell b {
  display: block;
  font-family: var(--font-num);
  font-size: 27px; font-weight: 700; line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cd-cell i { font-style: normal; font-size: 10.5px; color: var(--ink-3); letter-spacing: .1em; }

/* ---------- 快捷入口 ---------- */
.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 14px;
}
.quick-item {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px 6px 11px;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.quick-item:active { transform: scale(.96); }
.quick-item b { display: block; font-size: 12.5px; font-weight: 700; margin-top: 8px; }
.quick-item small { display: block; font-size: 10px; color: var(--ink-3); margin-top: 2px; }
.qi-ico {
  width: 38px; height: 38px; border-radius: 13px;
  display: grid; place-items: center; margin: 0 auto;
}
.qi-1 { background: #E7F0FC; color: #0B63CE; }
.qi-2 { background: #E2F5F3; color: #06867F; }
.qi-3 { background: #FFF1EA; color: #E2502C; }
.qi-4 { background: #FDF4E3; color: #B5761B; }

/* 快捷入口与下方小标题之间的呼吸 */
.quick + .section-head { margin-top: 34px; }

/* 倒计时结束态 */
.cd-state { text-align: center; padding: 10px 0 6px; }
.cd-state b { display: block; font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: .04em; }
.cd-state span { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }

/* ---------- 会场卡 ---------- */
.venues { display: flex; flex-direction: column; gap: 11px; }
.venue-card {
  position: relative;
  padding: 17px 18px;
  border-radius: 20px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  overflow: hidden;
}
.venue-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--vc, var(--brand));
}
.venue-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.venue-name { font-size: 16.5px; font-weight: 800; letter-spacing: .01em; }
.venue-track { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.venue-now {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex; gap: 10px; align-items: flex-start;
}
.vn-time {
  font-family: var(--font-num);
  font-size: 12px; font-weight: 600;
  color: var(--vc, var(--brand));
  background: var(--vc-soft, #E7F0FC);
  border-radius: 7px;
  padding: 3px 7px;
  white-space: nowrap;
  margin-top: 1px;
}
.vn-body { min-width: 0; }
.vn-title {
  font-size: 13.5px; font-weight: 700; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vn-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }

/* ---------- 讲者 ---------- */
.speakers {
  display: flex; gap: 11px; overflow-x: auto;
  padding: 2px 0 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.speakers::-webkit-scrollbar { display: none; }
.speaker {
  flex: 0 0 148px;
  scroll-snap-align: start;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  transition: transform .25s var(--ease);
}
.speaker:active { transform: scale(.97); }
.sp-avatar {
  min-width: 44px; height: 44px; padding: 0 9px; width: auto;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: .01em;
  white-space: nowrap;
  margin-bottom: 10px;
}
.sp-name { font-size: 14px; font-weight: 800; }
.sp-org { font-size: 10.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.4; height: 28px; overflow: hidden; }
.sp-topic {
  font-size: 11.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 34px;
}

/* ---------- 简介 ---------- */
.about { padding: 20px; border-radius: 20px; }
.about p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }
.about p b { color: var(--ink); }
.about-meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.about-meta div { text-align: center; }
.about-meta b { display: block; font-family: var(--font-num); font-size: 17px; font-weight: 700; color: var(--brand); letter-spacing: -.01em; white-space: nowrap; }
.about-meta span { font-size: 10px; color: var(--ink-3); letter-spacing: .04em; }
.about-links { display: flex; gap: 9px; margin-top: 16px; }
.about-links .btn { padding: 11px 12px; font-size: 13px; }

.foot { padding: 34px 0 20px; text-align: center; font-size: 11.5px; color: var(--ink-3); line-height: 1.9; }

/* ---------- 页头 ---------- */
.page-head { padding: 16px 0 20px; }
.page-head h1 { margin: 7px 0 6px; font-size: 26px; font-weight: 800; letter-spacing: .01em; }
.page-head p { margin: 0; font-size: 12.5px; line-height: 1.7; }

/* ---------- 会场切换 ---------- */
.venue-tabs {
  display: flex; gap: 8px; padding: 4px;
  background: var(--bg-2);
  border-radius: 14px;
  margin-bottom: 14px;
}
.vtab {
  flex: 1; text-align: center;
  padding: 10px 6px;
  border-radius: 11px;
  font-size: 13px; font-weight: 700;
  color: var(--ink-2);
  transition: all .28s var(--ease);
  cursor: pointer;
}
.vtab.active {
  background: var(--bg-1);
  color: var(--ink);
  box-shadow: var(--shadow-s);
}
.vtab span { display: block; font-size: 10px; font-weight: 500; color: var(--ink-3); margin-top: 2px; }
.vtab.active span { color: var(--vc, var(--brand)); }

.venue-info {
  padding: 15px 17px;
  border-radius: 16px;
  margin-bottom: 18px;
  font-size: 12.5px; line-height: 1.7; color: var(--ink-2);
}
.venue-info b { color: var(--ink); font-weight: 700; }
.venue-info .vi-row { display: flex; gap: 8px; }
.venue-info .vi-row + .vi-row { margin-top: 6px; }
.venue-info .vi-k { color: var(--ink-3); flex: 0 0 56px; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 62px; }
.timeline::before {
  content: ""; position: absolute; left: 52px; top: 6px; bottom: 6px;
  width: 1px; background: var(--line-2);
}
.tl-item { position: relative; padding: 0 0 18px; }
.tl-time {
  position: absolute; left: -62px; top: 2px;
  width: 44px; text-align: right;
  font-family: var(--font-num); font-size: 12.5px; font-weight: 600;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.tl-dot {
  position: absolute; left: -12px; top: 5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid var(--ink-4);
  box-sizing: border-box;
}
.tl-item.live .tl-dot {
  border-color: var(--coral);
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 106, 72, .16);
  animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 106, 72, .16); }
  50% { box-shadow: 0 0 0 8px rgba(255, 106, 72, .06); }
}
.tl-item.live .tl-time { color: var(--coral); font-weight: 700; }
.tl-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 15px;
}
.tl-item.live .tl-card {
  border-color: rgba(255, 106, 72, .34);
  background: linear-gradient(180deg, #FFF8F5, #FFFFFF);
  box-shadow: 0 8px 22px -16px rgba(255, 106, 72, .9);
}
.tl-type { font-size: 10px; letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase; font-family: var(--font-num); }
.tl-item.live .tl-type { color: var(--coral); }
.tl-title { font-size: 14px; font-weight: 700; margin-top: 5px; line-height: 1.5; }
.tl-speaker { font-size: 12px; color: var(--ink-2); margin-top: 5px; }
.tl-org { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.tl-break .tl-card { background: transparent; border-style: dashed; }

/* ---------- 智能体 ---------- */
.agents { display: flex; flex-direction: column; gap: 12px; }
.agent-card {
  position: relative;
  display: flex; gap: 14px; align-items: center;
  padding: 17px;
  border-radius: 20px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.agent-card:active { transform: scale(.985); }
.agent-card::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, var(--ac-soft, #E7F0FC), transparent 70%);
  opacity: .85;
}
.ag-avatar {
  flex: 0 0 auto; min-width: 54px; height: 54px; padding: 0 10px; width: auto;
  border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .01em;
  white-space: nowrap;
  position: relative; z-index: 1;
  box-shadow: 0 10px 20px -12px rgba(11, 27, 43, .6);
}
.ag-main { position: relative; z-index: 1; min-width: 0; flex: 1; }
.ag-name { font-size: 15.5px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.ag-role { font-size: 11px; color: var(--ink-3); margin-top: 3px; line-height: 1.45; }
.ag-go {
  flex: 0 0 auto; position: relative; z-index: 1;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ac-soft, #E7F0FC); color: var(--ac, var(--brand));
  display: grid; place-items: center; font-size: 16px; font-weight: 700;
}
.agent-note {
  display: flex; gap: 8px; align-items: flex-start;
  margin-top: 22px; padding: 14px 16px;
  background: var(--bg-2);
  border-radius: 14px;
  font-size: 11.5px; line-height: 1.7; color: var(--ink-2);
}
.agent-note svg { flex: 0 0 auto; margin-top: 2px; opacity: .6; }

/* ---------- 提问 ---------- */
.ask-card { padding: 16px; border-radius: 20px; }
.ask-targets { display: flex; gap: 7px; margin-bottom: 12px; flex-wrap: wrap; }
.ask-pill {
  padding: 7px 13px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600;
  background: var(--bg-2); color: var(--ink-2);
  border: 1px solid transparent;
  cursor: pointer; transition: all .2s;
}
.ask-pill.active {
  background: var(--brand-soft); color: var(--brand);
  border-color: rgba(11, 99, 206, .28);
}
.ask-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.ask-foot .btn { padding: 11px 22px; font-size: 14px; }

.wall { display: flex; flex-direction: column; gap: 10px; }
.wall {
  position: relative;
  max-height: 372px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 90%, transparent 100%);
}
.q-track { display: flex; flex-direction: column; gap: 10px; }
.q-track.roll { animation: qRoll var(--dur, 24s) linear infinite; }
.wall:hover .q-track.roll,
.wall:active .q-track.roll { animation-play-state: paused; }
@keyframes qRoll {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-50% - 5px)); }
}
@media (prefers-reduced-motion: reduce) {
  .q-track.roll { animation: none; }
}

.q-item {
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 16px;
  padding: 13px 15px;
  box-shadow: 0 10px 26px -22px rgba(11, 27, 43, .5);
}
.q-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.q-to { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--ink-3); }
.q-time { font-family: var(--font-num); font-size: 10.5px; color: var(--ink-4); }
.q-text { font-size: 13.5px; line-height: 1.72; color: var(--ink); word-break: break-word; }
.wall-empty { text-align: center; padding: 40px 20px; color: var(--ink-3); font-size: 13px; }

/* ---------- 我的 / 签到 ---------- */
.pass {
  position: relative;
  border-radius: 22px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(140deg, #0B63CE 0%, #0A8FD9 52%, #0AA39B 100%);
  overflow: hidden;
  box-shadow: 0 22px 44px -24px rgba(11, 99, 206, .9);
}
.pass::before {
  content: ""; position: absolute; right: -50px; top: -70px;
  width: 210px; height: 210px; border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.pass::after {
  content: ""; position: absolute; left: -30px; bottom: -80px;
  width: 170px; height: 170px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.pass-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.pass-eyebrow { font-family: var(--font-num); font-size: 10px; letter-spacing: .24em; opacity: .72; }
.pass-name { font-size: 24px; font-weight: 800; margin-top: 8px; letter-spacing: .02em; }
.pass-org { font-size: 12px; opacity: .82; margin-top: 5px; }
.pass-no {
  text-align: right;
  font-family: var(--font-num);
}
.pass-no b { display: block; font-size: 30px; font-weight: 700; line-height: 1; }
.pass-no span { font-size: 9.5px; letter-spacing: .18em; opacity: .7; }
.pass-foot {
  position: relative; z-index: 1;
  margin-top: 20px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  display: flex; justify-content: space-between;
  font-size: 11px; opacity: .85;
}

.checkin-form { padding: 20px; border-radius: 22px; }
.checkin-form h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.checkin-form p { margin: 0 0 4px; font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.chip-sel {
  padding: 9px 14px; border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 600;
  background: var(--bg-2); color: var(--ink-2);
  border: 1px solid transparent; cursor: pointer;
  transition: all .2s;
}
.chip-sel.active { background: var(--brand); color: #fff; }

.tile {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 17px; border-radius: 18px;
  gap: 12px;
}
.tile-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tile-l b { font-size: 14px; font-weight: 700; display: block; }
.tile-ico {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; flex: 0 0 auto;
}
.tile-ico-2 { background: #E2F5F3; color: #06867F; }
.chev { color: var(--ink-4); font-size: 20px; }

/* ---------- 底部标签 ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  height: calc(var(--tab-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid var(--line);
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--ink-3); cursor: pointer;
  transition: color .22s;
  -webkit-tap-highlight-color: transparent;
}
.tab svg { width: 21px; height: 21px; transition: transform .28s var(--ease); }
.tab span { font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.tab.active { color: var(--brand); }
.tab.active svg { transform: translateY(-1px) scale(1.06); }

/* ---------- 对话 ---------- */
.chat {
  position: fixed; inset: 0; z-index: 8500;
  background: var(--bg-0);
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform .4s var(--ease);
}
.chat.open { transform: none; }
.chat-head {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}
.chat-back {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  background: transparent; border: 0; color: var(--ink-2); cursor: pointer;
}
.chat-id { flex: 1; min-width: 0; }
.chat-id b { display: block; font-size: 14.5px; font-weight: 800; }
.chat-id span {
  display: block; font-size: 10.5px; color: var(--ink-3); margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chat-body {
  flex: 1; overflow-y: auto;
  padding: 18px 14px 10px;
  display: flex; flex-direction: column; gap: 12px;
  -webkit-overflow-scrolling: touch;
}
.msg { display: flex; gap: 9px; max-width: 100%; animation: msgIn .35s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg .m-av {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center;
  font-size: 9px; font-weight: 700; color: #fff; letter-spacing: -.04em;
}
.msg .m-bubble {
  max-width: calc(100% - 44px);
  padding: 12px 14px;
  border-radius: 16px 16px 16px 5px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  font-size: 14px; line-height: 1.78;
  white-space: pre-wrap; word-break: break-word;
}
.msg.me { flex-direction: row-reverse; }
.msg.me .m-bubble {
  border-radius: 16px 16px 5px 16px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff; border-color: transparent;
}
.msg.me .m-av { display: none; }
.msg.typing .m-bubble { display: flex; gap: 4px; align-items: center; padding: 15px 16px; }
.msg.typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-4);
  animation: dot 1.2s infinite;
}
.msg.typing i:nth-child(2) { animation-delay: .16s; }
.msg.typing i:nth-child(3) { animation-delay: .32s; }
@keyframes dot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.starters { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.starter {
  text-align: left;
  padding: 11px 14px;
  border-radius: 13px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-2); line-height: 1.6;
  cursor: pointer;
}
.starter:active { background: var(--brand-soft); }

.chat-input {
  flex: 0 0 auto;
  display: flex; gap: 9px; align-items: flex-end;
  padding: 10px 14px calc(12px + var(--safe-b));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.chat-input textarea {
  flex: 1;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 11px 15px;
  font-size: 14.5px; font-family: inherit;
  line-height: 1.5;
  max-height: 110px;
  min-height: 42px;
  resize: none;
  outline: none;
  background: var(--bg-0);
  transition: border-color .2s, background .2s;
}
.chat-input textarea:focus { border-color: var(--brand); background: #fff; }
.chat-send {
  flex: 0 0 auto;
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 18px -10px rgba(11, 99, 206, .9);
  transition: transform .2s, opacity .2s;
}
.chat-send:active { transform: scale(.94); }
.chat-send[disabled] { opacity: .4; }

/* ---------- 提示条 ---------- */
.notice {
  display: flex; gap: 9px; align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: #FFF7EC;
  color: #8A5A12;
  font-size: 11.5px; line-height: 1.7;
  margin-top: 12px;
}

@media (min-width: 560px) {
  .hero { height: 480px; }
  .speaker { flex-basis: 168px; }
}

/* ---------- 智能体分组 ---------- */
.agent-group {
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  color: var(--ink-3);
  margin: 18px 2px 4px;
}
.agent-group:first-child { margin-top: 0; }
.ag-ext {
  display: inline-block;
  margin-left: 6px;
  font-size: 9.5px; font-weight: 600;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 1px 5px;
  vertical-align: 2px;
  letter-spacing: .04em;
}
/* ---------- 首页品牌横幅 ---------- */
.brand-banner {
  margin: 26px 0 4px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #F6F8FC;
  box-shadow: 0 12px 30px -22px rgba(11, 27, 43, .55);
  animation: bannerIn .8s var(--ease) both;
}
.brand-banner img { display: block; width: 100%; height: auto; }
@keyframes bannerIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 签到：单位下拉（自绘，替代原生 datalist） ---------- */
.sel { position: relative; }
.sel .field { padding-right: 42px; }
.sel-arrow {
  position: absolute;
  right: 16px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -6px;
  border-right: 1.8px solid var(--ink-3);
  border-bottom: 1.8px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform .22s, margin-top .22s;
  pointer-events: none;
}
.sel.on .sel-arrow { transform: rotate(-135deg); margin-top: -2px; }

.sel-panel {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 18px 40px -20px rgba(11, 27, 43, .45);
  padding: 6px;
  z-index: 40;
  animation: selIn .16s ease-out;
}
.sel-btn {
  text-align: left;
  cursor: pointer;
  padding-right: 42px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sel-btn.empty { color: var(--ink-4); }
.sel-btn:active { background: var(--bg-2); }

.sel-filter {
  display: flex; gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 7px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.sel-filter::-webkit-scrollbar { display: none; }
.sel-f {
  flex: 0 0 auto;
  border: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.sel-f.on { background: var(--brand); color: #fff; }

.sel-list {
  max-height: 196px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 5px;
}
.sel-item.on { background: var(--brand-soft); }
@keyframes selIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.sel-panel[hidden] { display: none; }

.sel-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.sel-item:hover, .sel-item:active { background: var(--bg-2); }
.sel-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel-type {
  flex: 0 0 auto;
  font-size: 10.5px;
  color: var(--ink-3);
  background: var(--bg-2);
  border-radius: 6px;
  padding: 2px 6px;
}
.sel-empty { padding: 14px 12px; font-size: 13px; color: var(--ink-3); text-align: center; }

.sel-hint {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12.5px;
  line-height: 1.6;
}
.sel-hint[hidden] { display: none; }
.label-tip {
  margin-left: 8px;
  font-weight: 500;
  font-size: 11px;
  color: var(--ink-4);
}

.pass-venue {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: .02em;
}

/* ---------- 我的提问 ---------- */
.my-ask { display: flex; flex-direction: column; gap: 10px; }
.my-ask-empty {
  padding: 22px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  background: var(--bg-1);
  border: 1px dashed var(--line-2);
  border-radius: 16px;
}
.qa-item {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 14px 16px;
}
.qa-top {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; color: var(--ink-3);
  margin-bottom: 8px;
}
.qa-to { font-weight: 700; color: var(--brand); }
.qa-time { font-family: var(--font-num); letter-spacing: .02em; }
.qa-state {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}
.qa-state.wait { background: #FFF4E2; color: #B5761B; }
.qa-body {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}
.qa-edit {
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.qa-edit:active { background: var(--bg-2); }
.qa-area { min-height: 96px; margin-top: 2px; }
.qa-actions { display: flex; gap: 8px; margin-top: 10px; }
.qa-actions .btn { padding: 7px 16px; font-size: 12.5px; border-radius: 999px; }


/* ---------- 签到定位状态 ---------- */
.geo-note {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-3);
}
.geo-note.ok { color: var(--brand); }


/* ---------- 照片头像 ---------- */
.ag-avatar.img {
  padding: 0; min-width: 0; width: 54px; height: 54px;
  overflow: hidden; background: #EAF0F7;
  border: 1px solid rgba(11,27,43,.06);
}
.ag-avatar.img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ag-avatar.sm.img { width: 34px; height: 34px; border-radius: 11px; }


/* ---------- 讲者照片 ---------- */
.sp-avatar.img {
  width: 56px; height: 56px; min-width: 0; padding: 0;
  border-radius: 50%; overflow: hidden; background: #EAF0F7;
  border: 2px solid rgba(11,27,43,.06);
}
.sp-avatar.img img { width: 100%; height: 100%; object-fit: cover; display: block; }


/* ---------- 姓名后的职务小标签 ---------- */
.name-chip {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  color: #0B63CE;
  background: rgba(11, 99, 206, .09);
  border-radius: 6px;
  vertical-align: 2px;
  letter-spacing: .02em;
  white-space: nowrap;
}
