@font-face {
  font-family: 'sfa31icon';
  src: url('/edition-assets/fonts/iconfont.woff2') format('woff2');
  font-display: block;
}

.concept--editions { --text-muted-safe: #8299b3; }
/* 历届活动区块容器 */
.concept--editions { padding-bottom: 64px; }
.film-lead {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 14px;
  font: 400 var(--fs-xs)/1.6 var(--font-mono);
  letter-spacing: .16em; color: var(--text-muted-safe);
}
.film-lead::before, .film-lead::after {
  content: ""; width: 28px; height: 1px; background: var(--border-light); flex: none;
}

/* ═══ 历届活动页专属样式（主站骨架由 global.css 提供） ═══ */
.edition-modal {
  --ink: #eaf1fb;
  --ink-dim: #9aafc9;
  --ink-mute: #7086a0;
  --line: #1c2d45;
  --tile: rgba(10, 14, 21, 0.52);
  --accent-light: #60a5fa;
  --mono: var(--font-mono, "SF Mono", "Fira Code", monospace);

  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 6, 11, 0.78);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  backdrop-filter: blur(8px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s ease;
  overflow: auto;
  overscroll-behavior: contain;
}

.edition-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.edition-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(14, 22, 35, 0.96), rgba(7, 12, 20, 0.97));
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
}

/* 弹出层顶部：活动名 + 届次切换 + 关闭 */
.edition-modal__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 44px;
  min-height: 34px;
}

.edition-modal__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #eef4fc;
  white-space: nowrap;
}

.edition-modal__tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.edition-modal__tabs:empty {
  display: none;
}

.edition-modal__tabs button {
  appearance: none;
  min-height: 26px;
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-mute);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.16s, color 0.16s, background 0.16s;
}

.edition-modal__tabs button:hover {
  border-color: #2f4a6d;
  color: var(--ink);
}

.edition-modal__tabs button[aria-pressed="true"] {
  border-color: var(--accent-light);
  background: rgba(59, 130, 246, 0.18);
  color: #dbe9ff;
}

.edition-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(5, 8, 15, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #dbe7f5;
  cursor: pointer;
}

.edition-modal__close:hover {
  background: rgba(24, 40, 62, 0.8);
  color: #fff;
}

.edition-modal__close:hover {
  border-color: #3c5b7f;
  color: #fff;
}

.edition-modal__close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.edition-modal__stage {
  width: 410px;
  height: 864px;
  flex: none;
}

/* ── 手机画框 ─────────────────────────────────────────── */
.phone {
  position: relative;
  width: 496px;
  height: 866px;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(160deg, #22303f, #0d141d 42%, #1a2734);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 30px 70px -20px rgba(0, 0, 0, 0.85);
  transform-origin: top left;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.phone__screen {
  position: relative;
  width: 475px;
  height: 844px;
  border-radius: 37px;
  overflow: hidden;
  background: #070c14;
  isolation: isolate;
}

/* 不画刘海：它会压住海报顶部的机构署名，参考样例的手机页也没有 */
.phone__notch {
  display: none;
}

/* ── 主页：整幅海报 + 浮层入口 ──────────────────────────── */
.home {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home__plate {
  position: absolute;
  inset: 0;
}

/* 只有横版主视觉才需要底下的说明，竖版海报自己就带标题 */
.home__caption {
  display: none;
}

.home__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

.home__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 7, 12, 0.55) 0%, rgba(4, 7, 12, 0) 13%),
    linear-gradient(0deg, rgba(4, 7, 12, 0.99) 0%, rgba(4, 7, 12, 0.98) 26%, rgba(4, 7, 12, 0.9) 40%, rgba(4, 7, 12, 0.42) 52%, rgba(4, 7, 12, 0) 64%);
  pointer-events: none;
}

/* 竖版海报：整张显示，标题和底部的机构名单一个字都不切，
   也不让宫格压在上面 —— 上方留给按钮，下方整块是深色宫格区 */
/* 竖版海报与横版同一套语言：整张裱在深色底上，四周留白，
   不裁切、不压字，海报底部的机构名单也完整保留；
   下边界停在宫格之上，届次胶囊和日期不会压到海报 */
.home:not(.home--wide) .home__plate {
  inset: 84px 6px 272px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home:not(.home--wide) .home__poster {
  object-fit: contain;
  object-position: 50% 50%;
  filter: drop-shadow(0 22px 52px rgba(0, 0, 0, 0.72));
}

/* 横版主视觉：像裱起来的印刷品一样完整呈现 */
.home--wide {
  background: #060a11;
}

.home--wide .home__plate {
  inset: 54px 0 186px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home--wide .home__caption {
  display: block;
  padding: 22px 26px 0;
  text-align: center;
}

.home__caption-year {
  display: block;
  font: 500 10px/1.6 var(--mono);
  letter-spacing: 0.34em;
  color: rgba(150, 186, 232, 0.8);
}

.home__caption-title {
  display: block;
  margin-top: 7px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #eef4fd;
  text-wrap: balance;
}

.home--wide .home__poster {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.66));
}

.home--wide .home__scrim {
  background:
    linear-gradient(180deg, rgba(4, 7, 12, 0.5) 0%, rgba(4, 7, 12, 0) 12%),
    linear-gradient(0deg, #060a11 0%, #060a11 19%, rgba(6, 10, 17, 0.9) 26%, rgba(6, 10, 17, 0) 40%);
}

.home__top {
  position: absolute;
  top: 42px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  z-index: 4;
}

.home__edition {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(5, 8, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font: 500 10px/1.5 var(--mono);
  letter-spacing: 0.08em;
  color: #cfe2fb;
}

.home__foot {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 24px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font: 500 11px/1.6 var(--mono);
  letter-spacing: 0.05em;
  color: rgba(222, 234, 248, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.home__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.home__meta svg {
  width: 12px;
  height: 12px;
  opacity: 0.78;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

/* 8 宫格：2 行 × 4 列，直角、半透明黑，与样例一致 */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tiles li {
  margin: 0;
}

.tiles a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  aspect-ratio: 1;
  padding: 6px 2px;
  border-radius: 0;
  background: var(--tile);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(3px) saturate(120%);
  backdrop-filter: blur(3px) saturate(120%);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.15;
  text-align: center;
  transition: background 0.16s, transform 0.16s;
}

.tiles a:hover,
.tiles a:active {
  background: rgba(24, 40, 62, 0.78);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.55);
  transform: translateY(-1px);
}

.tiles svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.95;
}

.home__share svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* ── 内容面板 ─────────────────────────────────────────── */
.panel {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  background: #070c14;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.32, 0.72, 0.28, 1);
  visibility: hidden;
}

.panel.is-open {
  transform: translateX(0);
  visibility: visible;
}
/* 列表/内嵌页打开时直接到位，避免过渡卡在屏外 */
.panel.panel--listbg.is-open { transform: translateX(0) !important; }

.panel__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 0 34px;
  scrollbar-width: none;
}

.panel__body::-webkit-scrollbar {
  display: none;
}

.panel__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 46px 16px 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel__inner {
  padding: 0 16px;
  margin-top: -22px;
  position: relative;
  z-index: 2;
}

.panel__title {
  margin: 0 0 3px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  color: #fff;
}

.panel__sub {
  margin: 0 0 16px;
  font: 500 10px/1.6 var(--mono);
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* 玻璃卡片 */
.card {
  padding: 15px 14px;
  margin-bottom: 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(20, 32, 50, 0.9), rgba(11, 18, 29, 0.9));
}

.card:last-child {
  margin-bottom: 0;
}

.card p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.95;
  color: #c3d3e6;
  text-align: justify;
}

.card p:last-child {
  margin-bottom: 0;
}

.card p strong {
  color: #eaf1fb;
  font-weight: 600;
}

.card__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.card__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.dots {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.dots li {
  position: relative;
  padding-left: 17px;
  font-size: 13px;
  line-height: 1.75;
  color: #c3d3e6;
}

.dots li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-light);
}

/* 日程 */
.day-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 9px;
  padding: 7px 12px;
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(88, 60, 160, 0.55), rgba(59, 130, 246, 0.28));
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.day-title:first-child {
  margin-top: 0;
}

.agenda {
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.agenda li {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: baseline;
  gap: 10px;
  padding: 11px 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #cfdcec;
  background: rgba(16, 26, 41, 0.72);
}

.agenda li:nth-child(odd) {
  background: rgba(20, 32, 50, 0.72);
}

.agenda .t {
  font: 600 11px/1.5 var(--mono);
  color: #8fb6ea;
  white-space: nowrap;
}

/* 组织结构 */
.org-group {
  margin-bottom: 13px;
}

.org-group:last-child {
  margin-bottom: 0;
}

.org-group dt {
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 3px;
}

.org-group dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #cfdcec;
}

/* 地址 */
.venue-map {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.venue-map img {
  display: block;
  width: 100%;
  height: auto;
}

.venue-name {
  margin: 0 0 3px !important;
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 0.02em;
  text-align: left !important;
}

.venue-sub {
  margin: 0 0 13px !important;
  font: 400 11px/1.6 var(--mono);
  color: var(--ink-mute) !important;
  letter-spacing: 0.05em;
  text-align: left !important;
}

.btn-row {
  display: flex;
  gap: 10px;
}

.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, 0.4);
  background: rgba(59, 130, 246, 0.14);
  color: #cfe2ff;
  font: 500 13px/1 inherit;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}

.btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* 直播 */
.live-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.live-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.live-item span {
  font-size: 13px;
  color: #cfdcec;
}

.live-item em {
  font: 500 10px/1.4 var(--mono);
  font-style: normal;
  letter-spacing: 0.08em;
  color: #7fdca0;
}

/* 待补 */
.tbd {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  font: 400 11px/1.5 var(--mono);
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

/* 二维码 */
.qr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(16, 26, 41, 0.8);
}

.qr-card .qr {
  width: 82px;
  height: 82px;
  flex: none;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(9, 1fr);
  gap: 2px;
  padding: 6px;
  border-radius: 6px;
  background: #fff;
}

.qr-card .qr i {
  background: #0a111c;
  border-radius: 1px;
}

.qr-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #c3d3e6;
  text-align: left;
}

.qr-card p strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  color: #fff;
}

/* ── 分享浮层 ─────────────────────────────────────────── */
.sheet {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  background: rgba(3, 6, 11, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s;
}

.sheet.is-open {
  opacity: 1;
  visibility: visible;
}

.sheet__inner {
  width: 100%;
  padding: 18px 18px 24px;
  border-radius: 18px 18px 0 0;
  background: #0d151f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(14px);
  transition: transform 0.24s;
}

.sheet.is-open .sheet__inner {
  transform: none;
}

.sheet__title {
  margin: 0 0 13px;
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}

.sheet__row {
  display: flex;
  gap: 10px;
  margin-bottom: 13px;
}

.sheet__opt {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 32, 50, 0.7);
  color: #dbe7f5;
  font: 400 12px/1.3 inherit;
  font-family: inherit;
  cursor: pointer;
}

.sheet__opt svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sheet__cancel {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--ink-dim);
  font: 400 13px/1 inherit;
  font-family: inherit;
  cursor: pointer;
}

/* .film 里的照片：可点开 */
.film figure[data-activity] {
  cursor: pointer;
}

.film figure[data-activity]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid transparent;
  transition: border-color 0.24s;
  pointer-events: none;
}

.film figure[data-activity]:hover::before,
.film figure[data-activity]:focus-visible::before {
  border-color: rgba(96, 165, 250, 0.55);
}

.film figure[data-activity] {
  outline: none;
}

.film figure[data-activity]:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: -3px;
}

.film .film-open {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(5, 8, 15, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #dbe9ff;
  opacity: 0;
  transition: opacity 0.24s;
  pointer-events: none;
}

.film figure[data-activity]:hover .film-open,
.film figure[data-activity]:focus-visible .film-open {
  opacity: 1;
}

.film .film-open svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: reduce) {
  .edition-modal,
  .panel,
  .sheet,
  .sheet__inner,
  .tiles a {
    transition: none;
  }
}

/* 真机尺寸下不再套手机壳：整个弹层就是那一屏 */
@media (max-width: 560px) {
  .edition-modal {
    padding: 0;
    background: #070c14;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .edition-modal__panel {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    gap: 0;
    background: #070c14;
    box-shadow: none;
  }
  .edition-modal__head {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 70;
    min-height: 0;
    padding: 46px 14px 0;
  }
  .edition-modal__title {
    display: none;
  }
  .edition-modal__stage,
  .edition-modal__stage .phone {
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
  }
  .edition-modal__stage .phone {
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .edition-modal__stage .phone__screen {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  .phone__notch {
    display: none;
  }
}

/* ── 届次选择浮层 ────────────────────────────────────── */
.editions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 13px;
}

.editions__opt {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 32, 50, 0.7);
  color: #dbe7f5;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.editions__opt strong {
  flex: none;
  font: 700 13px/1.3 inherit;
  color: #fff;
}

.editions__opt span {
  font: 400 11px/1.4 inherit;
  color: var(--ink-dim);
}

.editions__opt[aria-pressed="true"] {
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(24, 40, 62, 0.85);
}

.editions__empty {
  margin: 0 0 13px;
  font: 400 12px/1.6 inherit;
  color: var(--ink-mute);
}

.home__edition:disabled {
  cursor: default;
  opacity: 0.7;
}

/* 小屏不摆顶部标签，改用版本胶囊选届次 */
@media (max-width: 560px) {
  .edition-modal__tabs {
    display: none;
  }
}

@media (max-width: 560px) {
  /* 分享胶囊在右，关闭按钮挪到它左边，间距 10px */
  /* 手机版：返回按钮放左侧，箭头样式 */
  .edition-modal__close {
    top: 44px;
    left: 14px;
    right: auto;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.48);
    border-color: rgba(255, 255, 255, 0.14);
  }
  .edition-modal__close svg { display: none; }
  .edition-modal__close::before {
    content: "";
    display: block;
    width: 9px; height: 9px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 3px;
  }
}

/* 容器只接收程序化焦点，不画焦点环 */
.edition-modal__panel:focus {
  outline: none;
}


/* 31 会议还原：每个按钮内容页直接显示对应的真实截图 */
.card--shot { padding: 0; overflow: hidden; background: #0a1018; }
.card--shot img { width: 100%; height: auto; display: block; }

/* 31会议 1:1：半透明深灰按钮 + 白色文字，按真实DOM坐标排列 */
.home.home--hotspots .home__plate { inset: 0 !important; }
.home.home--hotspots .home__poster { object-fit: cover !important; object-position: 50% 50% !important; width: 100% !important; height: 100% !important; }
.home--hotspots .home__scrim { display: none; }
.home--hotspots .home__foot { display: none; }
/* ═══════════════════════════════════════════════════════════
   按钮系统：统一线性 logo + 居中弹性网格，任意数量都对齐
   ═══════════════════════════════════════════════════════════ */
.home--hotspots .tiles {
  position: absolute; left: 0; right: 0;
  top: 53%; bottom: 10%;         /* 上下界内收，避开海报文字与底边 */
  margin: 0; padding: 0 12px; list-style: none;
  display: grid;
  grid-template-columns: repeat(var(--tile-cols, 3), 1fr);
  grid-auto-rows: minmax(0, 92px); /* 行高放大 */
  align-content: center; gap: 10px;
  z-index: 6;
}
.home--hotspots .tiles li { margin: 0; }
/* 最后一行不足3个时居中：用 grid 列定位 */
.home--hotspots .tiles a {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 7px; width: 100%; height: 100%; min-height: 78px; padding: 8px 6px;
  text-decoration: none; overflow: hidden;
  background: rgba(8, 14, 26, .58) !important;
  border: 1px solid rgba(120, 170, 235, .26);
  border-radius: 10px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 3px 10px rgba(0,0,0,.28);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.home--hotspots .tiles a::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, #6fa8ff, transparent);
  opacity: .55;
}
.home--hotspots .tiles a:hover,
.home--hotspots .tiles a:focus-visible {
  transform: translateY(-2px);
  border-color: #7fb6ff;
  background: rgba(24, 52, 92, .72) !important;
  outline: none;
}
.home--hotspots .hot-logo {
  display: block; width: 24px; height: 24px; color: #eaf3ff;
  filter: drop-shadow(0 0 6px rgba(111,168,255,.45));
}
.home--hotspots .hot-logo svg { width: 100%; height: 100%; display: block; }
.home--hotspots .hot-ico { font-family: 'sfa31icon' !important; font-style: normal; font-size: 20px; line-height: 1; color: #eaf3ff; }
.home--hotspots .hot-ico-img { width: 24px; height: 24px; object-fit: contain; }
.home--hotspots .hot-label {
  font-size: 10.5px; line-height: 1.25; text-align: center;
  color: #f2f7ff; letter-spacing: .02em; white-space: nowrap;
}
/* 31会议内容页：真实内容图铺满整屏，无黑边 */
.panel.panel--image .panel__inner { display: block; position: static; padding: 0; margin: 0; width: 100%; height: auto; }
.panel.panel--image .panel__title,
.panel.panel--image .panel__sub { display: none; }
.panel.panel--image { transition: none; }
.panel.panel--image.is-open { transform: translateX(0); }
.panel.panel--image .panel__body { padding: 0; margin: 0; background-color: #0a1018; position: relative; flex: 0 0 auto; height: auto; }
.panel.panel--image .fullshot { display: block; width: 100%; height: auto; }
.panel.panel--image [data-pcontent] { position: static; overflow: visible; }
.panel.panel--image .panel__body { padding: 0; margin: 0; height: auto; flex: 0 0 auto; background-color: #0a1018; }

/* 第一届：认可版——7张真实图滚动流，不套按钮 */
.edition-modal--gallery .home__plate,
.edition-modal--gallery .home__poster,
.edition-modal--gallery .home__scrim,
.edition-modal--gallery .home__foot,
.edition-modal--gallery .tiles { display: none; }
.home__gallery { position: absolute; inset: 0; overflow-y: auto; padding-top: 54px; z-index: 2; }
.gallery__item { margin: 0 0 2px; line-height: 0; }
.gallery__item img { width: 100%; height: auto; display: block; }

/* 第三届嘉宾介绍：二级议程列表 */
.agenda-list { display: flex; flex-direction: column; gap: 10px; padding: 0 0 24px; margin-top: 355px; }
.agenda-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; min-height: 44px; padding: 10px 12px; text-align: left;
  background: rgba(255,255,255,.05); border: 1px solid rgba(120,170,235,.22);
  border-radius: 8px; color: #eef4ff; font-size: 12px; line-height: 1.4;
  cursor: pointer;
}
.agenda-item:hover, .agenda-item:focus-visible { background: rgba(59,130,246,.18); border-color: #7fb6ff; outline: none; }
.agenda-item b { flex: none; font-weight: 500; color: #8fbaff; }

/* 嘉宾/赞助商内容页：合作伙伴图作背景，内容图叠在上面 */
.panel--listbg .panel__body { background-color: #070c14; background-position: 50% 50%; background-size: cover !important; background-repeat: no-repeat; }
.panel--listbg .agenda-item { background: rgba(6,10,18,.72); }
/* 上海国际旅游：不显示标题与副标题 */
.panel--travel .panel__title,
.panel--travel .panel__sub { display: none; }
.panel--image .panel__body { background-color: #0a1018; }

/* 只有一张图时铺满手机屏 */
.fullshot--fill { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* 所有页面不需要分享按钮 */
.sheet[data-share] { display: none !important; }

.panel--image .fullshot--fill { height: 100%; object-fit: cover; }


.sponsor-swipe { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sponsor-swipe::-webkit-scrollbar { display: none; }
.sponsor-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; }
.sponsor-slide img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 0; display: block; }
.sponsor-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; z-index: 3; pointer-events: none; }
.sponsor-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); }
.sponsor-dots i.on { background: #fff; }

/* 赞助商多图：自然高度纵向拼接 */
.sponsor-shot { display: block; width: 100%; height: auto; }
/* 第一届 gallery 模式：去掉 demo 的上间距空白 */
.edition-modal--gallery .home__plate { display: none; }
.edition-modal--gallery .home__gallery { padding-top: 0; }

.multi-scroll { width:100%; height:100%; overflow-y:auto; }

/* 末行不足时居中（3列且余2个 → 从第2列开始） */
/* 3 列布局：末行不满时居中 */
/* 1 个：放在中间列 */
.home--hotspots .tiles.tiles--center-1 > li:last-child { grid-column: 2 / span 1; }
/* 2 个：网格改为 6 列，每个按钮跨 2 列，分别从第 2 列、第 4 列开始 → 精确居中 */
.home--hotspots .tiles.tiles--center-2 { grid-template-columns: repeat(6, 1fr); }
/* 首行 3 个按钮跨 2 列；中间整行也跨 2 列 */
.home--hotspots .tiles.tiles--center-2 > li { grid-column: auto / span 2; }
/* 末行 2 个精确居中 */
.home--hotspots .tiles.tiles--center-2 > li:nth-last-child(2) { grid-column: 2 / span 2; }
.home--hotspots .tiles.tiles--center-2 > li:last-child { grid-column: 4 / span 2; }

/* 嘉宾列表页背景：真实 img，与主页海报同机制 */
/* 嘉宾列表页：背景固定铺满 body，列表在上层独立滚动 */
.panel--listbg .guest-bg {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  z-index: 0; pointer-events: none;
}
.panel--listbg .guest-scroll {
  position: relative; z-index: 1;
  height: 100%; overflow-y: auto;
}

/* 二级列表页：内容撑满，消除左右黑边与顶部错位 */
.panel--listbg .panel__inner {
  padding: 0;
  margin-top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.panel--listbg .panel__title,
.panel--listbg .panel__sub { display: none; }
.panel--listbg [data-pcontent] { flex: 1; width: 100%; }

/* 内容图片不响应点击，避免误触（滑动返回由容器接管） */
.panel--image .fullshot,
.panel--listbg .guest-bg,
.sponsor-shot { pointer-events: none; -webkit-user-drag: none; user-select: none; }

/* ═══ 手机版右上角届次下拉菜单 ═══ */
.side-menu { display: none; }

@media (max-width: 560px) {
  .side-menu {
    display: block;
    position: fixed;
    top: 44px;          /* 与返回按钮同高 */
    right: 12px;
    width: 104px;
    z-index: 120;
    pointer-events: none;
  }

  /* 触发按钮：右上角「历届 ▾」 */
  .side-menu__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 104px;
    height: 32px;       /* 与返回按钮同高 */
    padding: 0 10px;
    border: 1px solid rgba(120, 170, 235, .3);
    border-radius: 10px;
    background: rgba(8, 14, 26, .82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #cdd9e8;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    pointer-events: auto;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
  }
  .side-menu__toggle:hover,
  .side-menu__toggle:focus-visible {
    background: rgba(24, 52, 92, .92); color: #fff; border-color: #7fb6ff; outline: none;
  }
  .side-menu__toggle svg {
    width: 14px; height: 14px;
    fill: none; stroke: currentColor; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
    transition: transform .28s ease;
  }
  .side-menu.is-open .side-menu__toggle svg { transform: rotate(180deg); }

  /* 下拉列表：高度 = 3.5 项，露出半截提示可滑动 */
  .side-menu__inner {
    display: none;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
    padding: 6px;
    max-height: 180px;        /* 3.5 × (46+4) ≈ 175，取 180 */
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(120, 170, 235, .26);
    border-radius: 10px;
    background: rgba(8, 14, 26, .86);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
    pointer-events: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(120, 170, 235, .4) transparent;
  }
  .side-menu.is-open .side-menu__inner { display: flex; }
  .side-menu__inner::-webkit-scrollbar { width: 4px; }
  .side-menu__inner::-webkit-scrollbar-thumb { background: rgba(120, 170, 235, .45); border-radius: 2px; }

  /* 下拉项：横向一行布局 */
  .side-menu__item {
    flex: none;
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-height: 46px;
    padding: 0 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #cdd9e8;
    cursor: pointer;
    text-align: left;
    transition: background .18s ease, color .18s ease;
  }
  .side-menu__item:hover,
  .side-menu__item:focus-visible { background: rgba(59, 130, 246, .22); color: #fff; outline: none; }
  .side-menu__item[aria-pressed="true"] {
    background: rgba(59, 130, 246, .82);
    color: #fff;
  }
  .side-menu__yr {
    flex: none;
    font: 600 10px/1 var(--font-mono, monospace);
    letter-spacing: .03em;
    opacity: .75;
  }
  .side-menu__name {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
  }
}



/* ═══ 轮播（历届活动入口） ═══ */
.carousel { position: relative; }
.carousel-stage {
  position: relative; width: 100%; aspect-ratio: 16 / 7;
}
.slide {
  /* 宽度 90%，左右各留 5% 才是真居中（left:0 会偏左 5%） */
  position: absolute; left: 3.5%; top: 5%; width: 90%; height: 90%;
  margin: 0; overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--bg-secondary);
  transform-origin: center center;
  transition: transform .75s cubic-bezier(.22,.68,.24,1), opacity .75s ease, box-shadow .75s ease;
  will-change: transform, opacity;
  cursor: pointer;
}
.slide.is-active { box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.slide img {
  width: 100%; height: 100%; display: block;
  /* 从每届首页海报的最顶部开始显示 */
  object-fit: cover;
  object-position: 50% 0%;
  filter: saturate(.72) contrast(1.05) brightness(.86);
}
.slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,8,15,.88) 0%, rgba(5,8,15,.40) 48%, rgba(5,8,15,.03) 100%),
              linear-gradient(0deg, rgba(5,8,15,.66) 0%, transparent 46%);
}
.slide-caption { position: absolute; left: 38px; bottom: 32px; z-index: 1; max-width: 62%; opacity: 0; transition: opacity .5s ease; }
.slide.is-active .slide-caption { opacity: 1; }
.slide-caption .yr {
  display: block; font: 600 var(--fs-xs)/1.4 var(--font-mono);
  letter-spacing: .18em; color: #b6d0f0; margin-bottom: 10px;
}
.slide-caption h3 {
  font-size: var(--fs-md); font-weight: 700; line-height: 1.5;
  color: #f0f5fc; margin: 0; text-wrap: balance;
}
@media (max-width: 860px) {
  .carousel-stage { aspect-ratio: 4 / 3; }
  .slide-caption { left: 22px; bottom: 22px; max-width: 80%; }
}

/* ── 真机全屏（≤560px）：海报完整显示，不裁切 ──
   手机全屏比例（约 0.46-0.49）比海报（9:16 = 0.5625）窄，
   cover 会裁掉左右文字，所以用 contain 并让容器背景承接留白。 */
@media (max-width: 560px) {
  .home.home--hotspots .home__poster {
    object-fit: contain !important;
    object-position: 50% 0% !important;   /* 顶部对齐，标题不偏 */
    background: #0d1826;
  }
  /* 海报留白处用同色底，视觉连续 */
  .editon-modal, .edition-modal { background: #0d1826 !important; }
  .editon-modal__panel, .edition-modal__panel { background: #0d1826 !important; }
  .phone, .phone__screen { background: #0d1826 !important; }
  /* 底部留白用海报边缘色渐变承接，视觉不突兀 */
  .home--hotspots {
    background: linear-gradient(180deg, #0d1826 0%, #142230 60%, #1a2a38 100%);
  }
}

/* ── 真机内容页：图片下方留白用同色承接，不留突兀黑块 ── */
@media (max-width: 560px) {
  .panel--image .panel__body,
  .panel--image [data-pcontent] {
    background: linear-gradient(180deg, #0d1826 0%, #142230 70%, #1a2a38 100%);
  }
  /* 单图页：图片完整显示，底部空白不刺眼 */
  .panel--image .fullshot { background: transparent; }
}

/* ═══ 全站：禁止整页横向滑动 + 阻止浏览器左右手势回退 ═══ */
html, body {
  overflow-x: hidden;
  max-width: 100%;
  overscroll-behavior-x: none;
}

/* ═══ 手机版：只保留一个返回按钮 ═══
   面板内 .panel__bar 的返回键与 .edition-modal__close 都在左上角，位置重叠。
   隐藏前者，统一用外层返回箭头（已实现分级返回：三级→二级→关闭）。 */
@media (max-width: 560px) {
  .panel__bar { display: none !important; }
}
