/* ============================================================
   横向幻灯片壳层:六个全屏面板,滚轮/标题/方向键切换
   桌面 = 横滑模式;≤960px 退化为纵向堆叠正常滚动。
   ============================================================ */

/* ---- 桌面横滑模式 ---- */
@media (min-width: 961px) {
  html, body { height: 100%; overflow: hidden; }

  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 30;
    height: 72px; background: var(--bg);
    transition: background 0.4s ease;
  }
  .ticker { position: fixed; top: 72px; left: 0; right: 0; z-index: 29; }
  .bottomBar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
    background: var(--bg); margin-top: 0;
    transition: background 0.4s ease;
  }

  /* 面板叠放:同一位置堆叠,只显示激活页;切换由竖线擦除转场完成 */
  .track { position: relative; width: 100vw; height: 100vh; }
  .panel { position: absolute; inset: 0; padding: 116px 0 56px; overflow: hidden; opacity: 0; visibility: hidden; }
  .panel.active { opacity: 1; visibility: visible; }

  /* 擦除转场:无形橡皮擦——没有任何可见元素,新页沿裁切边缘温柔揭开旧页
     1.15s 慢速缓动;前进右→左,后退左→右 */
  .panel.incoming { z-index: 2; will-change: clip-path; }
  .panelScroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
  .panelScroll .page { padding-bottom: 24px; }

  /* 首页面板:居中舞台(无内部滚动);目录已移除,轮播靠右 */
  .panel-home { display: flex; align-items: center; }
  .panel-home .stage { flex: 1; min-height: auto; padding-top: 0; padding-bottom: 0; }
  .panel-home .adSlider { margin-left: auto; }

  /* 滚动提示(仅桌面横滑模式) */
  .scrollHint {
    position: fixed; bottom: 64px; left: 50%; transform: translateX(-50%); z-index: 28;
    display: flex; align-items: center; gap: 8px;
    font-size: 9px; letter-spacing: 3px; color: var(--dim); font-weight: bold;
    pointer-events: none;
  }
  .scrollHint .wheelIcon {
    width: 14px; height: 22px; border: 1.5px solid var(--dim); border-radius: 8px; position: relative;
  }
  .scrollHint .wheelIcon::after {
    content: ''; position: absolute; left: 50%; top: 4px; width: 2px; height: 5px;
    margin-left: -1px; border-radius: 2px; background: var(--dim);
    animation: wheelNudge 1.6s ease-in-out infinite;
  }
  @keyframes wheelNudge { 0%, 100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(6px); opacity: 0.3; } }
}

/* ---- 窄屏退化:纵向堆叠,正常滚动 ---- */
@media (max-width: 960px) {
  .track { display: block; }
  .panel { min-height: 60vh; }
  .panel-home { padding-top: 2vh; }
  .scrollHint { display: none; }
}

/* ============================================================
   紧凑面板组件:主面板一屏放下,细节下沉二级页面
   ============================================================ */
.panel .pageHead { padding-bottom: 12px; }
.panel .pageHead h1 { font-size: clamp(22px, 2.6vw, 30px); }
.panel .secLabel { margin: 16px 0 10px; }
.panel .pageIntro { margin: 10px 0 2px; font-size: 12px; }

/* ---- 活动:两张并排大卡 + 归档一行 ---- */
.upGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.upCardC { border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit; display: block; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease; overflow: hidden; }
.upCardC:hover { border-color: var(--maroonHi); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.10); }
.upCardC .posterStrip { aspect-ratio: 4 / 1.5; position: relative; display: flex; align-items: flex-end; padding: 10px 14px; }
.upCardC .posterStrip .pm { position: absolute; top: -10px; right: 10px; font-size: 56px; font-family: Georgia, 'Songti SC', serif; font-weight: bold; color: var(--ink); opacity: 0.08; }
.upCardC .posterStrip .dt { font-family: Georgia, serif; font-size: 24px; font-weight: 900; color: var(--maroonHi); line-height: 1; }
.upCardC .posterStrip .dt small { font-size: 9px; letter-spacing: 2px; color: var(--dim); display: block; margin-top: 2px; }
.upCardC .cBody { padding: 12px 14px 13px; }
.upCardC .cBody h3 { font-size: 15px; font-weight: 900; letter-spacing: 1px; margin: 4px 0 5px; }
.upCardC .cBody .meta { font-size: 10px; color: var(--dim); }
.upCardC .cBody .meta span { margin-right: 12px; }
.upCardC .cBody .meta span::before { content: '· '; color: var(--maroonHi); font-weight: 900; }
.pastRow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pastRow .pastCard .pp { aspect-ratio: 4 / 1.9; padding: 8px 10px; }
.pastRow .pastCard .pn { font-size: 11px; }
.pastRow .pastCard .pInfo { padding: 7px 10px; }
.pastRow .pastCard .pInfo b { font-size: 10.5px; }
.pastRow .pastCard .pInfo span { font-size: 8.5px; }
.archiveAll { border: 1.5px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--dim); text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: 1px; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease; }
.archiveAll b { font-family: Georgia, serif; font-size: 18px; color: var(--maroonHi); }
.archiveAll:hover { border-color: var(--maroonHi); color: var(--maroonHi); transform: translateY(-3px); }

/* ---- 福利:2×2 紧凑卡 ---- */
.sGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sCardC { border: 1px solid var(--line); background: var(--surface); padding: 14px 16px; display: flex; gap: 13px; align-items: flex-start; text-decoration: none; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease; position: relative; }
.sCardC:hover { border-color: var(--maroonHi); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08); }
.sCardC .sIcon { width: 46px; height: 46px; border: 1px solid var(--line); flex: none; display: flex; align-items: center; justify-content: center; font-family: Georgia, 'Songti SC', serif; font-size: 21px; font-weight: bold; color: var(--maroonHi); }
.sCardC h3 { font-size: 13.5px; font-weight: 900; letter-spacing: 0.5px; margin: 4px 0 4px; }
.sCardC p { font-size: 10.5px; color: var(--dim); line-height: 1.7; }
.sCardC .go2 { position: absolute; right: 12px; top: 12px; color: var(--orange); font-size: 12px; opacity: 0; transform: translateX(-6px); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease; }
.sCardC:hover .go2 { opacity: 1; transform: translateX(0); }

/* ---- 关于:单行部门 + 单行理事 + 细纳新条 ---- */
.introC { display: flex; gap: clamp(18px, 3vw, 40px); margin-top: 14px; align-items: center; }
.introC .txtCol { flex: 1.5; }
.introC p { font-size: 12px; line-height: 1.9; opacity: 0.88; margin-bottom: 6px; }
.introC .emblemBox { flex: 1; display: flex; justify-content: center; }
.introC .emblemBox svg { width: clamp(100px, 11vw, 140px); }
.deptsRow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.deptsRow .dept { padding: 11px 12px 10px; }
.deptsRow .dept b { font-size: 12px; }
.deptsRow .dept p { font-size: 9.5px; line-height: 1.65; margin-top: 4px; }
.peopleRow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.peopleRow .person { padding: 12px 6px 10px; }
.peopleRow .person .ava { width: 38px; height: 38px; font-size: 15px; margin-bottom: 6px; }
.peopleRow .person b { font-size: 11px; }
.peopleRow .person span { font-size: 9px; }
.joinSlim { margin-top: 16px; padding: 13px 20px; }
.joinSlim .big { font-size: 13.5px; }
.joinSlim .subT { font-size: 10.5px; margin-top: 2px; }
.joinSlim .btnSolid { padding: 9px 22px; font-size: 12px; }

/* ---- 赞助我们:全组件收紧 ---- */
.leadC { font-size: clamp(13px, 1.6vw, 16px); font-weight: 900; line-height: 1.8; letter-spacing: 1px; margin: 14px 0 4px; }
.leadC em { font-style: normal; color: var(--maroonHi); }
.statsC { display: flex; margin: 14px 0 2px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statsC .stat { padding: 10px 8px; }
.statsC .stat .n { font-size: clamp(17px, 2.2vw, 24px); }
.statsC .stat .t { font-size: 9px; margin-top: 2px; }
.tiersC .tier { padding: 13px 15px 11px; }
.tiersC .tier h3 { font-size: 13px; }
.tiersC .tier .price { font-size: 9.5px; margin: 2px 0 7px; }
.tiersC .tier li { font-size: 10px; line-height: 1.85; padding-left: 12px; }
.stepsSlim { display: flex; border: 1px solid var(--line); }
.stepsSlim .stepS { flex: 1; padding: 9px 14px; border-left: 1px solid var(--line); display: flex; gap: 9px; align-items: baseline; }
.stepsSlim .stepS:first-child { border-left: none; }
.stepsSlim .stepS .sn { font-family: Georgia, serif; font-size: 15px; font-weight: 900; color: var(--maroonHi); }
.stepsSlim .stepS b { font-size: 11.5px; font-weight: 900; letter-spacing: 0.5px; }
.ctaSlim { margin-top: 14px; padding: 13px 20px; }
.ctaSlim .big { font-size: 13.5px; }
.ctaSlim .mailLine { font-size: 10.5px; margin-top: 2px; }
.ctaSlim .mailLine b { font-size: 12px; }
.ctaSlim .btnSolid { padding: 9px 22px; font-size: 12px; }

@media (max-width: 960px) {
  .upGrid, .sGrid { grid-template-columns: 1fr; }
  .pastRow { grid-template-columns: repeat(2, 1fr); }
  .deptsRow { grid-template-columns: repeat(2, 1fr); }
  .peopleRow { grid-template-columns: repeat(3, 1fr); }
  .stepsSlim { flex-direction: column; }
  .stepsSlim .stepS { border-left: none; border-top: 1px solid var(--line); }
  .stepsSlim .stepS:first-child { border-top: none; }
  .introC { flex-direction: column-reverse; }
  .statsC { flex-wrap: wrap; }
  .statsC .stat { min-width: 45%; }
}

/* ---- 面板页码指示(全局,右上角) ---- */
.pageDots {
  position: fixed; right: clamp(14px, 3vw, 34px); bottom: 64px; z-index: 28;
  display: flex; flex-direction: column; align-items: flex-end; gap: 3px;
}
.pageDots .num { font-family: Georgia, serif; font-size: 26px; font-weight: 900; color: var(--maroonHi); line-height: 1; }
.pageDots .of { font-size: 9px; letter-spacing: 2px; color: var(--dim); }
@media (max-width: 960px) { .pageDots { display: none; } }

/* ---- 学生手册:一屏 STEP 目录 ---- */
.stepsIntro { font-size: 12.5px; color: var(--dim); line-height: 1.9; margin: 14px 0 4px; max-width: 620px; }
.stepsGrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px;
}
.stepCard {
  border: 1px solid var(--line); background: var(--surface);
  padding: 20px 20px 18px; position: relative; overflow: hidden;
  cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
  text-decoration: none; color: inherit; display: block;
}
.stepCard:hover { border-color: var(--maroonHi); transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10); }
.stepCard .sNo {
  font-family: Georgia, serif; font-size: 11px; letter-spacing: 3px;
  color: var(--maroonHi); font-weight: 900;
}
.stepCard .sNo b { font-size: 26px; margin-left: 6px; }
.stepCard h3 { font-size: 16px; font-weight: 900; letter-spacing: 1px; margin: 8px 0 6px; }
.stepCard p { font-size: 11px; color: var(--dim); line-height: 1.8; }
.stepCard .ghost {
  position: absolute; right: 6px; top: -8px; font-size: 64px;
  font-family: Georgia, 'Songti SC', serif; font-weight: bold;
  color: var(--ink); opacity: 0.05; pointer-events: none;
}
.stepCard .arrowGo {
  position: absolute; right: 14px; bottom: 12px; color: var(--orange); font-size: 13px;
  opacity: 0; transform: translateX(-6px); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.stepCard:hover .arrowGo { opacity: 1; transform: translateX(0); }
.stepsFootnote { margin-top: 18px; font-size: 10.5px; color: var(--dim); letter-spacing: 1px; }
.stepsFootnote b { color: var(--maroonHi); }

@media (max-width: 960px) { .stepsGrid { grid-template-columns: 1fr; } }
@media (min-width: 961px) and (max-height: 760px) {
  .stepCard { padding: 14px 16px 12px; }
  .stepCard h3 { font-size: 14px; margin: 5px 0 4px; }
  .stepCard p { font-size: 10px; line-height: 1.65; }
}
