/* ══ 彻底关掉 style.css 的全页渐变伪元素，用 html 层设纯色背景 ══ */
html {
  background: #F4F7F9;   /* 跟活动区颜色统一，消灭缝隙 */
}

body {
  background: transparent;
}

body::before {
  display: none !important;
}

/* ── 语言切换按钮（此页面专属浮层位置） ── */
.event-lang-btn {
  position: fixed;
  top: 12px;
  right: 70px;
  z-index: 10002;
  min-width: 54px;
  height: 42px;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  color: #111;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* ── HERO（含 category nav，同在深色背景下） ── */
.d-hero {
  margin-top: 80px;
  padding: 60px 0 0;
  position: relative;
  z-index: 0;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 65%, #1a2744 100%);
}

/* ── Hero 内容容器 ── */
.d-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

/* 小标题 */
.d-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* 主标题 */
.d-hero-title {
  font-size: 72px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.05;
}

/* 副标题 */
.d-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ── 分类导航胶囊（在 d-hero 内，共享深色背景） ── */
.event-category-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.category-pill {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.80);
  padding: 10px 18px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.category-pill:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}

.category-pill.active {
  background: #ffffff;
  color: #111;
  border-color: #ffffff;
  font-weight: 600;
}

.history-nav-pill {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.7);
}

.history-nav-pill:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.category-empty {
  display: none;
  flex-basis: 100%;
  margin: 8px 0 0;
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  line-height: 1.7;
}

.category-empty.show {
  display: block;
}

/* ── 活动之间的分隔线 ── */
.event-section + .event-section {
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* ── 通用活动区块 ── */
.event-section {
  padding: 100px 60px;
}

/* 不同主题背景 */
.shanghai {
  background: linear-gradient(135deg, #F4F7F9, #F4F7F9);
}

.art {
  background: linear-gradient(135deg, #F4F7F9, #F4F7F9);
}

.coming {
  background: linear-gradient(135deg, #F4F7F9, #F4F7F9);
}

.placeholder-event {
  background: linear-gradient(135deg, #F4F7F9, #F4F7F9);
}

.placeholder-event:nth-of-type(even) {
  background: linear-gradient(135deg, #F4F7F9, #F4F7F9);
}

.placeholder-event .d-eyebrow {
  margin-bottom: 12px;
}

.placeholder-event .event-left img {
  background: #eef2f7;
  box-shadow: 0 18px 45px rgba(15,23,42,0.08);
}

/* ── 活动内容两栏容器 ── */
.event-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: auto;
  min-width: 0;
}

.reverse {
  flex-direction: row-reverse;
}

/* 左：图片 */
.event-left img {
  width: 450px;
  height: 450px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}

/* Coming 占位框 */
.coming-box {
  width: 300px;
  height: 400px;
  background: linear-gradient(145deg, #5d5d5d, #f0f0f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  letter-spacing: 3px;
  border-radius: 20px;
  color: #888;
}

/* ── 历史活动区块 ── */
.history-section {
  background: linear-gradient(135deg, #eef3f7, #F4F7F9);
  display: none;
}

.history-section.show {
  display: block;
}

.history-shell {
  width: min(100%, 1680px);
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  gap: 36px;
  align-items: center;
}

.history-copy {
  max-width: 860px;
}

.history-copy h2 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.08;
  margin: 0 0 18px;
  color: #111;
}

.history-copy p {
  color: #4b5563;
  line-height: 1.85;
  font-size: 18px;
}

.history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.history-meta span {
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  padding: 8px 12px;
  color: #555;
  font-size: 13px;
}

.history-controls {
  display: none;
}

/* ── 海报区悬浮左右箭头按钮 ── */
.history-visual {
  position: relative;
}

.history-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  color: #333;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.history-arrow:hover {
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  transform: translateY(-50%) scale(1.08);
}

.history-arrow-prev {
  left: 12px;
}

.history-arrow-next {
  right: 12px;
}

/* ── History Visual：三张海报轮播 ── */
.history-visual {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
}

.history-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 130px 100px;
  overflow: hidden;
}

.history-card {
  position: relative;
  flex: 0 0 28%;
  border-radius: 16px;
  overflow: hidden;
  background: #e5e7eb;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  opacity: 0.45;
  transform: scale(0.82);
  transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease, flex .3s ease;
}

.history-card.active {
  flex: 0 0 50%;
  opacity: 1;
  transform: scale(1.6);
  z-index: 2;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  border-radius: 20px;
}

.history-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.history-card span {
  position: absolute;
  right: 12px;
  bottom: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  padding: 6px 10px;
  color: #111;
  font-size: 12px;
}

/* Range slider */
.history-range {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  accent-color: #111;
  cursor: pointer;
  height: 4px;
}

.history-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(17,17,17,.15);
}

.history-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111;
  margin-top: -7px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.history-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111;
  border: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.history-range::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(17,17,17,.15);
}

/* 右：文字内容 */
.event-right {
  max-width: 500px;
  min-width: 0;
  flex: 1;
}

.event-right h2 {
  font-size: 37px;
  margin-bottom: 10px;
}

.date {
  color: #484646;
  margin-bottom: 20px;
}

.desc {
  line-height: 1.8;
  margin-bottom: 25px;
}

/* ── 按钮组 ── */
.links {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.links a,
.apply-btn,
.brochure-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  text-decoration: none;
  color: #333;
  padding: 8px 16px;
  border-radius: 999px;
  background: #eee;
  white-space: nowrap;
}

.apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.apply-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.apply-btn:active {
  transform: scale(0.95) translateY(0);
  background: #333;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.05s linear;
}

.brochure-btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.doc-menu {
  position: relative;
  display: inline-flex;
}

.doc-choice-popover,
.brochure-choice-row {
  display: none;
  gap: 8px;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  padding: 8px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
}

.doc-choice-popover::before,
.brochure-choice-row::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  background: #fff;
  border-left: 1px solid rgba(0,0,0,.08);
  border-top: 1px solid rgba(0,0,0,.08);
}

.doc-choice-popover.show,
.brochure-choice-row.show {
  display: flex;
}

.doc-choice-popover a,
.brochure-choice-row a {
  min-width: 38px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f4f4f4;
}

.preapply-card {
  display: grid;
  gap: 13px;
}

.preapply-links,
.brochure-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preapply-links a,
.preapply-links button,
.brochure-choice a,
.preapply-confirm {
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}

/* ── 报名进度条 ── */
.apply-flow {
  margin-top: 24px;
  padding: 20px 0 0;
  border-top: 0.5px solid #e5e5e5;
}

.apply-flow-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.flow-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  transition: all 0.3s ease;
}

.flow-step.done .flow-dot {
  background: #111;
  border-color: #111;
}

.flow-step.active .flow-dot {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.flow-step span {
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
}

.flow-step.done span,
.flow-step.active span {
  color: #111;
}

.flow-line {
  flex: 1;
  height: 1.5px;
  background: #e5e5e5;
  margin-bottom: 18px;
  position: relative;
}

.flow-line.done {
  background: #111;
}

.apply-flow-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-link {
  font-size: 13px;
  color: #333;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  background: #f7f7f7;
  display: block;
  transition: background 0.2s;
}

.flow-link.active {
  background: #111;
  color: #fff;
}

.flow-link:hover:not(.muted) {
  background: #eee;
}

.flow-link.muted {
  color: #aaa;
  cursor: default;
  background: #fafafa;
}

/* ══════════════════ APPLY WIZARD ══════════════════ */
.leam-apply-panel {
  padding: 80px 60px;
  background: linear-gradient(135deg, #fbf6ef, #fff);
}

.apply-card {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(0,0,0,.08);
  backdrop-filter: blur(18px);
}

.apply-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.apply-eyebrow {
  margin: 0 0 8px;
  color: #999;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.apply-head h2 {
  margin: 0 0 8px;
  font-size: 34px;
}

.apply-head p {
  margin: 0;
  color: #666;
}

.review-entry {
  flex: 0 0 auto;
  color: #111;
  text-decoration: none;
  background: #f1f1f1;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
}

.apply-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0 32px;
  position: relative;
}

.apply-progress-item {
  position: relative;
  display: grid;
  gap: 8px;
  color: #aaa;
}

.apply-progress-item::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 30px;
  right: -12px;
  height: 1px;
  background: #ddd;
}

.apply-progress-item:last-child::before {
  display: none;
}

.apply-progress-item span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 1;
}

.apply-progress-item p {
  margin: 0;
  font-size: 13px;
}

.apply-progress-item.active,
.apply-progress-item.done {
  color: #111;
}

.apply-progress-item.active span,
.apply-progress-item.done span {
  background: #111;
  border-color: #111;
  color: #fff;
}

.apply-form {
  display: grid;
  gap: 20px;
}

.apply-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.apply-field,
.apply-upload {
  display: grid;
  gap: 8px;
}

.apply-field span {
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.apply-field input,
.apply-field select,
.apply-field textarea,
.apply-upload input[type="file"] {
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
  font: inherit;
}

.apply-field textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
}

.apply-field.wide {
  grid-column: 1 / -1;
}

.apply-field small.field-hint {
  font-size: 11px;
  color: #aaa;
  margin-top: -4px;
  line-height: 1.4;
}

.apply-field input[type="tel"]:not(:placeholder-shown):invalid {
  border-color: #e53e3e;
  background: #fff8f8;
}

.apply-field input[type="tel"]:not(:placeholder-shown):valid {
  border-color: #22c55e;
}

.apply-upload {
  min-height: 220px;
  align-content: center;
  padding: 28px;
  border-radius: 18px;
  background: #f7f7f5;
  border: 1px dashed #d6d6d6;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f7f7f5;
  border: 1px solid #ece7df;
}

.download-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.download-card p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

.download-card a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 10px 14px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}

.auto-itinerary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.audience-choice {
  display: grid;
  gap: 18px;
}

.audience-choice > p {
  margin: 0;
  color: #555;
  line-height: 1.7;
}

.audience-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.audience-choice-grid button {
  min-height: 132px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 18px;
  background: #f8fafc;
  color: #111;
  text-align: left;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.audience-choice-grid button:hover {
  transform: translateY(-3px);
  border-color: #111;
  box-shadow: 0 18px 42px rgba(15,23,42,.12);
}

.audience-choice-grid strong,
.audience-choice-grid span {
  display: block;
}

.audience-choice-grid strong {
  font-size: 18px;
  margin-bottom: 10px;
}

.audience-choice-grid span {
  color: #64748b;
  line-height: 1.65;
  font-size: 13px;
}

.apply-upload h3 {
  margin: 0;
  font-size: 24px;
}

.apply-upload p {
  margin: 0 0 10px;
  color: #666;
}

.selected-file {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  color: #111 !important;
  border: 1px solid #e6e6e6;
  font-size: 13px;
}

.apply-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
}

.apply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.apply-primary,
.apply-secondary {
  height: 42px;
  min-width: 120px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  cursor: pointer;
  font: inherit;
}

.apply-primary {
  background: #111;
  color: #fff;
}

.apply-secondary {
  background: #eee;
  color: #333;
}

.apply-secondary:disabled {
  opacity: .45;
  cursor: default;
}

.apply-note {
  min-height: 20px;
  margin: 0;
  color: #555;
  font-size: 14px;
}

.apply-summary {
  padding: 18px;
  border-radius: 14px;
  background: #f7f7f5;
}

.apply-summary h3 {
  margin: 0 0 8px;
}

.apply-summary p {
  margin: 0;
  color: #666;
}

/* ── 报名状态面板 ── */
.registration-status-panel {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 12px 34px rgba(0,0,0,.06);
}

.energy-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: start;
}

.energy-dot {
  border: 0;
  background: transparent;
  display: grid;
  gap: 7px;
  justify-items: center;
  color: #777;
  cursor: pointer;
  font: inherit;
}

.energy-dot span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ddd;
  box-shadow: 0 0 0 5px rgba(0,0,0,.03);
}

.energy-dot.pending span  { background: #d8d8d8; }
.energy-dot.approved span { background: #22c55e; }
.energy-dot.revise span   { background: #f59e0b; }
.energy-dot.rejected span { background: #ef4444; }
.energy-dot.resubmitted span { background: #3b82f6; }

.energy-dot small {
  font-size: 11px;
}

.record-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.record-actions button {
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  cursor: pointer;
  background: #111;
  color: #fff;
}

.record-actions .danger {
  background: #fee2e2;
  color: #991b1b;
}

.apply-btn.status-mode {
  background: #f6f6f6;
  color: #111 !important;
}

/* ── 报名详情弹窗 ── */
.registration-detail-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10050;
  background: rgba(15,23,42,.32);
  backdrop-filter: blur(12px);
  padding: 20px;
}

.registration-detail-card {
  width: min(620px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.2);
}

.registration-detail-card h3 {
  margin: 0 0 18px;
  font-size: 24px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.record-grid div {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 12px;
}

.record-grid span {
  display: block;
  color: #777;
  font-size: 12px;
  margin-bottom: 5px;
}

.record-grid p {
  margin: 0;
  color: #111;
}

.readonly-note {
  margin: 0 0 14px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #f6f7f4;
  color: #555;
  font-size: 13px;
}

.record-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.record-files a,
.record-files button,
.record-files span {
  border-radius: 999px;
  padding: 8px 11px;
  background: #f2f3f1;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  border: 0;
  cursor: pointer;
}

.file-preview {
  display: grid;
  gap: 12px;
}

.file-preview iframe {
  width: 100%;
  height: 62vh;
  border: 0;
  border-radius: 12px;
  background: #f4f4f4;
}

.file-preview img {
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
  border-radius: 12px;
  background: #f4f4f4;
}

/* ── 联系提示浮层 ── */
.registration-contact-hint {
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: min(320px, calc(100vw - 32px));
  z-index: 10060;
  border-radius: 16px;
  background: #111;
  color: #fff;
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
  padding: 14px 40px 14px 16px;
}

.registration-contact-hint p {
  margin: 0;
  line-height: 1.6;
  font-size: 13px;
}

.registration-contact-hint button {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.detail-state {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.detail-state.pending     { background: #eee;    color: #555; }
.detail-state.approved    { background: #dcfce7; color: #166534; }
.detail-state.revise      { background: #fef3c7; color: #92400e; }
.detail-state.rejected    { background: #fee2e2; color: #991b1b; }
.detail-state.resubmitted { background: #dbeafe; color: #1d4ed8; }

.detail-note {
  margin: 0;
  color: #444;
  line-height: 1.7;
}

/* ── 重新提交表单 ── */
.resubmit-form {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.resubmit-issue-box {
  border: 1px solid #fecaca;
  border-left: 5px solid #ef4444;
  border-radius: 14px;
  background: #fff7f7;
  padding: 14px;
}

.resubmit-issue-box strong {
  display: block;
  color: #991b1b;
  margin-bottom: 5px;
}

.resubmit-issue-box p {
  margin: 0;
  color: #7f1d1d;
  line-height: 1.65;
}

.resubmit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.resubmit-field,
.resubmit-file-block {
  display: grid;
  gap: 7px;
}

.resubmit-field.wide {
  grid-column: 1 / -1;
}

.resubmit-field span {
  color: #555;
  font-size: 13px;
}

.resubmit-field input,
.resubmit-field select,
.resubmit-field textarea,
.resubmit-file-block input {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}

.resubmit-field textarea {
  min-height: 92px;
  resize: vertical;
}

.resubmit-field.issue,
.resubmit-file-block.issue {
  border: 1.5px solid #ef4444;
  border-radius: 14px;
  padding: 12px;
  background: #fffafa;
}

.resubmit-file-block a {
  color: #111;
  font-weight: 700;
}

.resubmit-file-block p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.resubmit-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.resubmit-actions button {
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 11px 18px;
  cursor: pointer;
}

.resubmit-actions button:disabled {
  opacity: .55;
  cursor: progress;
}

.resubmit-actions span {
  color: #555;
}

/* ══════════════════ RESPONSIVE ══════════════════ */
@media (max-width: 900px) {
  .event-section {
    padding: 72px 20px;
  }

  .event-container,
  .reverse {
    flex-direction: column;
    gap: 28px;
  }

  .event-left img,
  .coming-box {
    width: min(100%, 420px);
    height: auto;
  }

  .event-left, .history-card {
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .event-right {
    max-width: 100%;
  }

  .event-right h2 {
    font-size: 28px;
  }

  .d-page {
    padding: 0 20px;
  }

  .d-hero {
    padding: 92px 0 0;
  }

  .d-hero-title {
    font-size: 46px;
  }

  .d-hero-sub {
    margin-bottom: 28px;
  }

  .event-category-nav {
    padding: 0 20px 28px;
  }

  .resubmit-grid,
  .record-grid {
    grid-template-columns: 1fr;
  }

  .leam-apply-panel {
    padding: 48px 16px;
  }

  .apply-card {
    padding: 18px;
    border-radius: 18px;
  }

  .apply-head,
  .download-card {
    flex-direction: column;
    align-items: stretch;
  }

  .apply-progress,
  .apply-grid,
  .audience-choice-grid,
  .energy-row,
  .record-grid {
    grid-template-columns: 1fr;
  }

  .apply-progress-item::before {
    display: none;
  }

  .record-actions,
  .apply-actions {
    flex-direction: column;
  }

  .energy-dot {
    justify-items: start;
    grid-template-columns: 18px 1fr;
    align-items: center;
  }

  .energy-dot small {
    font-size: 13px;
  }
}

@media (max-width: 720px) {
  .event-lang-btn {
    top: 14px;
    right: 58px;
    height: 38px;
    min-width: 48px;
  }

  .links {
    gap: 10px;
    align-items: stretch;
  }

  .event-category-nav {
    padding: 0 18px 24px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scroll-padding-left: 18px;
  }

  .category-pill {
    flex: 0 0 auto;
    padding: 9px 13px;
    font-size: 13px;
  }

  .category-empty {
    flex: 0 0 100%;
    white-space: normal;
  }

  .history-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .history-copy {
    max-width: none;
  }

  .history-visual {
    justify-self: stretch;
  }

  .history-grid {
    gap: 10px;
    padding: 16px 0;
  }

  .history-controls {
    position: sticky;
    left: 0;
  }

  .doc-choice-popover {
    left: 0;
    transform: none;
  }

  .doc-choice-popover::before {
    left: 28px;
    transform: rotate(45deg);
  }
}

@media (max-width: 560px) {
  .d-hero {
    padding: 78px 0 0;
  }

  .d-hero-title {
    font-size: 38px;
  }

  .d-hero-sub {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .event-section {
    padding: 56px 16px;
  }

  .event-container,
  .reverse {
    gap: 22px;
  }

  .event-left img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 16px;
  }

  .event-right h2 {
    font-size: 25px;
    line-height: 1.22;
  }

  .desc {
    font-size: 14px;
  }

  .links > *,
  .links button,
  .links a {
    max-width: 100%;
  }

  .brochure-btn,
  .apply-btn,
  .history-controls button,
  .download-card a,
  .apply-actions button,
  .record-actions button {
    min-height: 42px;
  }

  .leam-apply-panel {
    padding: 36px 10px;
  }

  .apply-card {
    padding: 16px;
  }

  .apply-head h2 {
    font-size: 22px;
  }

  .apply-field input,
  .apply-field select,
  .apply-field textarea,
  .apply-upload input[type="file"] {
    width: 100%;
    min-width: 0;
  }

  .history-copy h2 {
    font-size: 30px;
  }

  .history-meta span {
    max-width: 100%;
  }
}
/* ══ 海报 Lightbox ══ */
.poster-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px;
  cursor: zoom-out;
}

.poster-lightbox.open {
  display: flex;
  animation: lb-fade-in 0.22s ease;
}

@keyframes lb-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#posterLightboxImg {
  max-width: min(90vw, 700px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  cursor: default;
  animation: lb-zoom-in 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes lb-zoom-in {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.poster-lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.poster-lightbox-close:hover {
  background: rgba(255,255,255,0.32);
}

/* ── 海报 zoom wrapper ── */
.poster-zoom-wrap {
  position: relative;
  display: inline-block;
  cursor: zoom-in;
  border-radius: 8px;
  overflow: hidden;
}

.poster-zoom-wrap img {
  display: block;
  transition: transform 0.3s ease;
}

.poster-zoom-wrap:hover img {
  transform: scale(1.03);
}

.poster-zoom-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.88);
  color: #333;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.poster-zoom-wrap:hover .poster-zoom-btn {
  opacity: 1;
  transform: scale(1);
}