/* 高考报考主界面 · 对齐门户雾青暖纸面 */

/* 主界面视觉锁 100%（acs-portal-zoom.js）；禁止页面缩放改变画布比例 */
body.portal-page--gaokao .acs-portal[data-acs-portal-zoom],
body.portal-page--kaogong .acs-portal[data-acs-portal-zoom],
body.portal-page--job .acs-portal[data-acs-portal-zoom],
body.portal-page--kaoyan .acs-portal[data-acs-portal-zoom] {
  transform-origin: top center;
}

/* 外层门户：滚动条永久隐藏，避免悬停/进出小窗时出现导致左右抖动 */
html:has(body.portal-page--gaokao),
body.portal-page--gaokao,
body.portal-page--gaokao #portal-main,
body.portal-page--gaokao .acs-portal,
body.portal-page--gaokao .acs-desk,
body.portal-page--gaokao .acs-desk-main,
body.portal-page--gaokao .acs-media,
body.portal-page--gaokao .acs-notice,
html:has(body.portal-page--kaogong),
body.portal-page--kaogong,
body.portal-page--kaogong #portal-main,
body.portal-page--kaogong .acs-portal,
body.portal-page--kaogong .acs-desk,
html:has(body.portal-page--job),
body.portal-page--job,
body.portal-page--job #portal-main,
body.portal-page--job .acs-portal,
body.portal-page--job .acs-desk,
html:has(body.portal-page--kaoyan),
body.portal-page--kaoyan,
body.portal-page--kaoyan #portal-main,
body.portal-page--kaoyan .acs-portal,
body.portal-page--kaoyan .acs-desk,
html.acs-device-scroll-lock,
body.acs-device-scroll-lock {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html:has(body.portal-page--gaokao)::-webkit-scrollbar,
body.portal-page--gaokao::-webkit-scrollbar,
body.portal-page--gaokao *::-webkit-scrollbar,
html:has(body.portal-page--kaogong)::-webkit-scrollbar,
body.portal-page--kaogong::-webkit-scrollbar,
body.portal-page--kaogong *::-webkit-scrollbar,
html:has(body.portal-page--job)::-webkit-scrollbar,
body.portal-page--job::-webkit-scrollbar,
body.portal-page--job *::-webkit-scrollbar,
html:has(body.portal-page--kaoyan)::-webkit-scrollbar,
body.portal-page--kaoyan::-webkit-scrollbar,
body.portal-page--kaoyan *::-webkit-scrollbar,
html.acs-device-scroll-lock::-webkit-scrollbar,
body.acs-device-scroll-lock::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent !important;
}

/* 覆盖 entry.css 里 body.entry-body 的 10px 滚动条 */
body.entry-body.portal-page--gaokao::-webkit-scrollbar,
body.entry-body.portal-page--kaogong::-webkit-scrollbar,
body.entry-body.portal-page--job::-webkit-scrollbar,
body.entry-body.portal-page--kaoyan::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.acs-portal,
.acs,
body.page-ac-service {
  --acs-ink: var(--ink, #1a2f3a);
  --acs-muted: var(--ink-soft, #5a6f7a);
  --acs-faint: #7a8d97;
  --acs-line: var(--line, #ddd6ca);
  --acs-bg: var(--paper, #f5f3ee);
  --acs-panel: var(--sheet, #fffcf8);
  --acs-blue: var(--band, #1b4965);
  --acs-blue-deep: var(--band-deep, #14384f);
  --acs-blue-soft: var(--band-soft, #e7f1f3);
  --acs-pad: clamp(16px, 2.2vw, 28px);
  --acs-font: var(--font, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif);
  --acs-display: var(--display, "Noto Serif SC", "Songti SC", serif);
  color: var(--acs-ink);
  font-family: var(--acs-font);
}

.acs-portal {
  flex: 1 0 auto;
  width: 100%;
  background:
    radial-gradient(ellipse 70% 45% at 8% 0%, rgba(27, 73, 101, 0.06), transparent 55%),
    var(--acs-bg);
}

body.page-ac-service {
  background: var(--acs-bg);
}

body.page-ac-service .content-area {
  padding: 0 !important;
  background: var(--acs-bg);
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.page-ac-service .content-area::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

body.page-ac-service,
body.page-ac-service #portal-main,
.acs-portal {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.page-ac-service::-webkit-scrollbar,
body.page-ac-service #portal-main::-webkit-scrollbar,
.acs-portal::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

body.page-ac-service .top-bar {
  background: var(--acs-panel);
  border-bottom: 1px solid var(--acs-line);
}

body.page-ac-service .top-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--acs-ink);
  letter-spacing: 0.02em;
}

.acs {
  width: var(--portal-rail, calc(100% - 2 * var(--portal-pad, 40px)));
  margin: 0 auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  padding-bottom: 56px;
}

/* 左侧屏幕框（约 75% 界面）+ 右侧辅栏 */
.acs--desk {
  width: var(--portal-rail, calc(100% - 2 * var(--portal-pad, 40px)));
  max-width: none;
}

.acs-desk {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 20px 22px;
  align-items: start;
}

.acs-device-stack {
  display: flex;
  flex-direction: column;
  /* 两屏间距 */
  --acs-device-gap: 230px;
  gap: var(--acs-device-gap);
  width: 100%;
  z-index: 2;
}

.acs-device {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  scroll-margin-top: calc(var(--portal-mast-h, 4.75rem) + 16px);
}

.acs-device-shell {
  background: linear-gradient(165deg, #243b4a 0%, #1a2f3a 55%, #14384f 100%);
  border-radius: 22px;
  padding: 12px 12px 14px;
  box-shadow:
    0 18px 40px rgba(20, 56, 79, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.acs-device-chrome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 22px;
  margin-bottom: 8px;
  position: relative;
}

.acs-device-cam {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0d1f28;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.acs-device-tag {
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(231, 241, 243, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.acs-device[data-acs-device="subject"] .acs-device-tag {
  color: #f5e6c8;
  border-color: rgba(196, 165, 116, 0.35);
  background: rgba(196, 165, 116, 0.14);
}

.acs-device[data-acs-device="civil"] .acs-device-tag {
  color: #f3d4cb;
  border-color: rgba(139, 58, 45, 0.4);
  background: rgba(139, 58, 45, 0.22);
}

.acs-device[data-acs-device="job"] .acs-device-tag {
  color: #ccefeb;
  border-color: rgba(15, 118, 110, 0.45);
  background: rgba(15, 118, 110, 0.22);
}

.acs-device[data-acs-device="kaoyan"] .acs-device-tag {
  color: #d9e6f5;
  border-color: rgba(59, 105, 150, 0.4);
  background: rgba(59, 105, 150, 0.2);
}

/* 设备屏：固定 16:9；宽度随左栏，过高时按视口回缩以保持比例 */
.acs-device-screen {
  --acs-screen-max-h: calc(100dvh - var(--portal-mast-h, 4.75rem) - 7rem);
  position: relative;
  width: min(100%, calc(var(--acs-screen-max-h) * 16 / 9));
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  max-height: var(--acs-screen-max-h);
  overflow: hidden;
  border-radius: 10px;
  background: #f5f3ee;
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* 图片/splash 态：不拦截，滚轮交给主界面 */
  overscroll-behavior: auto;
  touch-action: pan-y;
  /* 滚动条省略：保留滚动，隐藏轨道 */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* 仅系统页激活且指针在屏内：锁住滚动链，滚轮留给 iframe */
.acs-device-screen.is-pointer-inside:not(.is-splash) {
  overscroll-behavior: contain;
}

.acs-device-screen::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.acs-device-screen.is-pointer-inside {
  box-shadow: inset 0 0 0 2px rgba(231, 241, 243, 0.35);
}

.acs-device-scaler {
  /* 1:1 实操，不做 CSS scale 缩放 */
  width: 100%;
  height: 100%;
  transform: none;
}

.acs-device-scaler[hidden] {
  display: none !important;
}

/* 初次进入 / 3 分钟无操作：展示轮播图，系统进程静默卸载 */
.acs-device-splash {
  position: absolute;
  inset: 0;
  z-index: 5;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #0f2740;
  display: none;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  /* 允许滚轮交给外层主界面，不只锁点击 */
  touch-action: pan-y;
  overscroll-behavior: auto;
}
.acs-device-splash.is-active {
  display: flex;
}
.acs-device-splash picture {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
}
.acs-device-splash-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.acs-device-splash-hint {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(15, 39, 64, 0.72);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
  backdrop-filter: blur(6px);
}
.acs-device-screen.is-splash .acs-device-scaler {
  visibility: hidden;
  pointer-events: none;
}

.acs-device-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f5f3ee;
  color-scheme: normal;
  /* 避免 iframe 内滚动条露边 */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.acs-device-frame::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.acs-desk,
.acs-desk-main,
.acs-media,
.acs-notice {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.acs-desk::-webkit-scrollbar,
.acs-desk-main::-webkit-scrollbar,
.acs-media::-webkit-scrollbar,
.acs-notice::-webkit-scrollbar,
.acs-notice *::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.acs-device-base {
  height: 10px;
  margin: 10px 18% 0;
  border-radius: 0 0 10px 10px;
  background: rgba(0, 0, 0, 0.28);
}

.acs-device-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  color: var(--acs-muted);
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(27, 73, 101, 0.08), transparent 60%),
    #f5f3ee;
}

.acs-device-empty p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--acs-ink);
  font-weight: 600;
}

.acs-device-empty span {
  font-size: 0.82rem;
}

.acs-device-login,
.acs-device-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--acs-blue);
  color: #f7f3ea;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.acs-device-open {
  align-self: center;
  background: transparent;
  color: var(--acs-blue);
  border: 1px solid var(--acs-line);
}

.acs-device-open:hover {
  background: var(--acs-blue-soft);
}

.acs-desk-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  /* 右侧固定为通知窗口：滚左侧双屏时仍贴在视口 */
  position: sticky;
  top: calc(var(--portal-mast-h, 4.75rem) + 12px);
  align-self: start;
  z-index: 1;
}

.acs-desk-main > .acs-notice {
  border: 1px solid var(--acs-line);
  background: var(--acs-panel, #fff);
  border-radius: 0;
  height: auto;
  min-height: 0;
  max-height: calc(100dvh - var(--portal-mast-h, 4.75rem) - 28px);
  display: flex;
  flex-direction: column;
}

.acs-desk-main > .acs-notice ul {
  flex: 1 1 auto;
  height: auto;
  max-height: none;
  overflow: auto;
}

.acs-desk-main .acs-media {
  margin-top: 0;
  grid-template-columns: 1fr;
}

.acs-desk-main .acs-banner,
.acs-desk-main .acs-banner-slides {
  height: 220px;
  min-height: 220px;
}

.acs-desk-main .acs-notice {
  border-left: 0;
  border-top: 0;
}

.acs-desk-main .acs-main {
  padding-left: 0;
  padding-right: 0;
}

.acs-desk-main .acs-core--single {
  grid-template-columns: minmax(0, 1fr);
}

/* 右侧辅栏（考公 / 就业 / 考研等无通知列表时） */
.acs-sidepanel {
  border: 1px solid var(--acs-line);
  background: var(--acs-panel, #fff);
  border-radius: 0;
  min-height: 0;
  max-height: calc(100dvh - var(--portal-mast-h, 4.75rem) - 28px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.acs-sidepanel--blank {
  border: 0;
  background: transparent;
  min-height: 120px;
}

.acs-sidepanel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--acs-line);
}

.acs-sidepanel-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--acs-ink);
}

.acs-sidepanel-head span {
  font-size: 12px;
  color: var(--acs-faint);
}

.acs-sidepanel-body {
  padding: 16px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.65;
  color: var(--acs-muted);
}

.acs-sidepanel-body p {
  margin: 0 0 10px;
}

.acs-sidepanel-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .acs-desk {
    grid-template-columns: 1fr;
  }
  .acs-device-stack,
  .acs-device {
    position: static;
    max-width: none;
    margin: 0;
    width: 100%;
  }
  .acs-device-screen {
    --acs-screen-max-h: calc(100dvh - var(--portal-mast-h, 4.75rem) - 6rem);
    width: min(100%, calc(var(--acs-screen-max-h) * 16 / 9));
  }
  .acs-desk-main {
    position: static;
  }
}

.acs-readonly-bar {
  padding: 9px 0;
  margin-bottom: 8px;
  background: transparent;
  border-bottom: 1px solid rgba(166, 124, 82, 0.35);
  color: #8a5a2b;
  font-size: 12.5px;
  line-height: 1.5;
}

body.acs-readonly .acs-path a,
body.acs-readonly .acs-slide-link,
body.acs-readonly .acs-core-item,
body.acs-readonly .acs-query a,
.acs-portal.acs-readonly .acs-path a,
.acs-portal.acs-readonly .acs-slide-link,
.acs-portal.acs-readonly .acs-core-item,
.acs-portal.acs-readonly .acs-query a {
  cursor: not-allowed;
}

body.acs-readonly .acs-core-item,
body.acs-readonly .acs-query a,
.acs-portal.acs-readonly .acs-core-item,
.acs-portal.acs-readonly .acs-query a {
  opacity: 0.7;
}

body.acs-readonly .acs-core-go,
.acs-portal.acs-readonly .acs-core-go {
  color: var(--acs-faint);
  text-decoration: none !important;
}

/* 工具条：说明 + 快捷入口 */
.acs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--acs-pad);
  background: var(--acs-panel);
  border-bottom: 1px solid var(--acs-line);
}

.acs-lead {
  margin: 0;
  font-size: 13px;
  color: var(--acs-muted);
  line-height: 1.5;
}

.acs-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.acs-path a {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--acs-line);
  background: #f8fafc;
  color: var(--acs-ink);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.acs-path a:hover {
  border-color: #b7cce6;
  color: var(--acs-blue);
  background: var(--acs-blue-soft);
}

/* 轮播 + 通知 */
.acs-media {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
  margin-top: 28px;
  background: transparent;
  border: 1px solid var(--acs-line);
  border-radius: 0;
}

.acs-banner {
  position: relative;
  height: 360px;
  min-height: 360px;
  background:
    linear-gradient(120deg, rgba(19, 58, 110, 0.2), transparent 42%),
    linear-gradient(115deg, #143968 0%, #1b5fad 52%, #2a74c0 100%);
  color: #fff;
}

.acs-banner-slides {
  position: relative;
  height: 100%;
  min-height: 360px;
}

.acs-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px 44px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}

.acs-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.acs-slide-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.acs-slide h2 {
  margin: 0 0 8px;
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  max-width: 15em;
}

.acs-slide > p {
  margin: 0;
  max-width: 32em;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.acs-slide-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 16px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(247, 243, 234, 0.55);
  border-radius: 0;
  color: #f7f3ea;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  background: transparent;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.acs-slide-link:hover {
  background: rgba(247, 243, 234, 0.12);
  border-color: rgba(247, 243, 234, 0.9);
}

.acs-banner-dots {
  position: absolute;
  left: 32px;
  bottom: 14px;
  display: flex;
  gap: 7px;
}

.acs-banner-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.acs-banner-dots button.is-active {
  background: #fff;
  width: 18px;
  border-radius: 999px;
}

.acs-notice {
  border-left: 1px solid var(--acs-line);
  display: flex;
  flex-direction: column;
  height: 360px;
  min-height: 360px;
  max-height: 360px;
  background: #fff;
  overflow: hidden;
}

.acs-notice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 40px;
  height: 40px;
  box-sizing: border-box;
  padding: 0 16px;
  border-bottom: 1px solid var(--acs-line);
  background: #f7f9fc;
}

.acs-notice-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.acs-notice-head span {
  font-size: 12px;
  color: var(--acs-blue);
  font-weight: 500;
}

.acs-notice-head-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.acs-notice-publish {
  border: 1px solid #c9d6e8;
  background: #fff;
  color: var(--acs-blue);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
}

.acs-notice-publish:hover {
  background: #eef4fb;
}

.acs-notice-empty-row {
  display: flex !important;
  align-items: center;
  justify-content: center;
  grid-template-columns: none !important;
  height: 100%;
  min-height: 120px;
}

.acs-notice-empty-row span {
  color: var(--acs-faint);
  white-space: nowrap;
}

.acs-notice ul {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 280px;
  height: 280px; /* 8 × 35px */
  overflow: hidden;
}

.acs-notice li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  height: 35px;
  box-sizing: border-box;
  padding: 0 16px;
  font-size: 12.5px;
  line-height: 1.35;
}

.acs-notice li + li {
  border-top: 1px solid #eef2f6;
}

.acs-notice time {
  color: var(--acs-faint);
  font-variant-numeric: tabular-nums;
  padding-top: 0;
}

.acs-notice a,
.acs-notice span {
  color: var(--acs-ink);
  text-decoration: none;
}

.acs-notice a:hover {
  color: var(--acs-blue);
}

.acs-notice-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.acs-notice-row .acs-notice-link {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acs-notice-del {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: #b91c1c;
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
  cursor: pointer;
  white-space: nowrap;
}

.acs-notice-del:hover {
  text-decoration: underline;
}

.acs-notice-del:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.acs-notice-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 40px;
  height: 40px;
  box-sizing: border-box;
  border-top: 1px solid var(--acs-line);
  background: #f7f9fc;
  padding: 0 10px;
}

.acs-notice-pager-btn,
.acs-notice-pager-num {
  min-width: 26px;
  height: 24px;
  padding: 0 6px;
  border: 1px solid #c9d6e8;
  border-radius: 4px;
  background: #fff;
  color: var(--acs-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.acs-notice-pager-btn:hover:not(:disabled),
.acs-notice-pager-num:hover:not(.is-active) {
  background: #eef4fb;
  color: var(--acs-blue);
}

.acs-notice-pager-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.acs-notice-pager-num.is-active {
  background: var(--acs-blue);
  border-color: var(--acs-blue);
  color: #fff;
  cursor: default;
}

.acs-notice-pager-pages {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100% - 64px);
  overflow: hidden;
}

.acs-notice-pager-ellipsis {
  color: var(--acs-faint);
  font-size: 12px;
  padding: 0 2px;
  user-select: none;
}

.acs-notice-detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.acs-notice-detail-title-row h1 {
  flex: 1 1 auto;
  min-width: 0;
}

.acs-notice-del--detail {
  padding: 6px 12px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}

.acs-notice-del--detail:hover {
  background: #fef2f2;
  text-decoration: none;
}

/* 主内容区 */
.acs-main {
  padding: 18px var(--acs-pad) 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.acs-panel-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.acs-panel-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  padding-left: 9px;
  border-left: 3px solid var(--acs-blue);
  line-height: 1.2;
}

.acs-panel-head p {
  margin: 0;
  font-size: 12px;
  color: var(--acs-muted);
}

/* 核心服务入口 */
.acs-core {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.acs-core--single {
  grid-template-columns: minmax(0, 28rem);
}

.acs-core-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 158px;
  padding: 16px 15px 14px;
  background: var(--acs-panel);
  border: 1px solid var(--acs-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.acs-core-item:hover {
  border-color: #b9cfe8;
  background: #fbfcfe;
  box-shadow: 0 6px 16px rgba(21, 58, 110, 0.06);
}

.acs-core-item.is-primary {
  border-color: #c5d8ee;
  background: linear-gradient(180deg, #f5f9fd 0%, #ffffff 70%);
}

.acs-core-item.is-primary:hover {
  border-color: #9fbee0;
}

.acs-core-idx {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--acs-blue);
}

.acs-core-body h3 {
  margin: 0 0 6px;
  font-family: var(--acs-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--acs-blue);
}

.acs-core-body p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--acs-muted);
}

.acs-core-go {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--acs-blue);
}

.acs-core-item:hover .acs-core-go {
  color: var(--acs-blue-deep);
}

/* 常用查询 */
.acs-query {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.acs-query a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 12px 14px;
  background: var(--acs-panel);
  border: 1px solid var(--acs-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.acs-query a:hover {
  border-color: #b9cfe8;
  background: #f8fbfe;
}

.acs-query-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.acs-query strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--acs-ink);
}

.acs-query em {
  font-style: normal;
  font-size: 12px;
  color: var(--acs-faint);
}

.acs-query-arrow {
  flex-shrink: 0;
  color: #a8b4c2;
  font-size: 18px;
  line-height: 1;
}

.acs-query a:hover .acs-query-arrow {
  color: var(--acs-blue);
}

@media (max-width: 980px) {
  .acs {
    width: min(100%, calc(100% - 28px));
  }

  .acs-media {
    grid-template-columns: 1fr;
  }

  .acs-notice {
    border-left: 0;
    border-top: 1px solid var(--acs-line);
    height: 360px;
    min-height: 360px;
    max-height: 360px;
  }

  .acs-core {
    grid-template-columns: 1fr 1fr;
  }

  .acs-core-item {
    border-right: 1px solid var(--acs-line);
    border-bottom: 1px solid var(--acs-line);
  }

  .acs-core-item:nth-child(2n) {
    border-right: 0;
  }

  .acs-core-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .acs-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .acs-core,
  .acs-query {
    grid-template-columns: 1fr;
  }

  .acs-slide {
    padding: 22px 18px 42px;
  }

  .acs-banner-dots {
    left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acs-slide {
    transition: none;
  }
}

/* 圆形头像（默认名称首字） */
.acs-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dbe7f5;
  color: #1f4f86;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}

/* 发布弹窗 */
.acs-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.acs-modal[hidden] {
  display: none !important;
}

.acs-modal-panel {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--acs-line);
  padding: 18px 18px 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.acs-modal-panel h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
}

.acs-modal-label {
  display: block;
  font-size: 12px;
  color: var(--acs-faint);
  margin: 0 0 6px;
}

.acs-modal-panel input,
.acs-modal-panel textarea {
  width: 100%;
  border: 1px solid #d5dee8;
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  color: var(--acs-ink);
  margin-bottom: 12px;
  resize: vertical;
}

.acs-modal-panel input:focus,
.acs-modal-panel textarea:focus {
  outline: none;
  border-color: var(--acs-blue);
}

.acs-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.acs-modal-msg {
  font-size: 12px;
  margin: 0 0 8px;
}

.acs-modal-msg.is-ok {
  color: #15803d;
}

.acs-modal-msg.is-err {
  color: #b91c1c;
}

.acs-btn-primary,
.acs-btn-ghost {
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  cursor: pointer;
}

.acs-btn-primary {
  border: none;
  background: var(--acs-blue);
  color: #fff;
}

.acs-btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.acs-btn-ghost {
  border: 1px solid #d5dee8;
  background: #fff;
  color: var(--acs-ink);
}

/* 通知详情：左文右评 */
.page-acs-notice .content-area {
  overflow: hidden;
}

.acs-notice-detail {
  max-width: none;
  width: 100%;
  height: calc(100vh - 56px);
  margin: 0;
  padding: 0;
  color: var(--acs-ink);
  box-sizing: border-box;
}

.acs-notice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 400px);
  gap: 0;
  height: 100%;
  min-height: 0;
  background: #eef3f8;
}

.acs-notice-main {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 28px 32px 40px;
  background: #eef3f8;
}

.acs-notice-side {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 20px 18px 28px;
  background: #f7fafc;
  border-left: 1px solid var(--acs-line);
}

.acs-notice-detail-head {
  margin-bottom: 16px;
}

.acs-notice-detail-head h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}

.acs-notice-body {
  background: #fff;
  border: 1px solid var(--acs-line);
  border-radius: 10px;
  padding: 20px 22px;
  font-size: 14.5px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.acs-notice-body p {
  margin: 0;
}

.acs-notice-empty {
  color: var(--acs-faint);
}

.acs-notice-comments {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.acs-notice-comments-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.acs-notice-comments-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.acs-notice-comments-head span {
  font-size: 12px;
  color: var(--acs-faint);
}

.acs-comment-form {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.acs-comment-form-main textarea {
  width: 100%;
  border: 1px solid #d5dee8;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13.5px;
  resize: vertical;
  min-height: 72px;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.acs-comment-form-main textarea:focus {
  outline: none;
  border-color: var(--acs-blue);
}

.acs-comment-msg {
  margin: 8px 0 0;
  font-size: 12px;
}

.acs-comment-msg.is-ok {
  color: #15803d;
}

.acs-comment-msg.is-err {
  color: #b91c1c;
}

.acs-comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--acs-line);
  flex: 1 1 auto;
}

.acs-comment-list > li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f6;
}

.acs-comment-empty {
  display: block !important;
  grid-template-columns: none !important;
  color: var(--acs-faint);
  font-size: 13px;
  padding: 18px 0 !important;
}

.acs-comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  margin-bottom: 4px;
}

.acs-comment-meta strong {
  font-size: 13px;
}

.acs-comment-meta time {
  font-size: 12px;
  color: var(--acs-faint);
}

.acs-comment-main p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 900px) {
  .acs-notice-detail {
    height: auto;
    min-height: calc(100vh - 56px);
  }

  .acs-notice-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .acs-notice-side {
    border-left: 0;
    border-top: 1px solid var(--acs-line);
  }

  .acs-notice-main {
    padding: 20px 16px 24px;
  }

  .acs-notice-side {
    padding: 18px 16px 28px;
  }
}

/* 公众号/高校通知正文排版 */
.acs-article-body {
  font-size: 15px;
  line-height: 1.85;
  color: #1f2a37;
  word-break: break-word;
}

.acs-article-body p {
  margin: 0 0 14px;
}

.acs-article-body h2 {
  margin: 22px 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.acs-article-body h3 {
  margin: 18px 0 10px;
  font-size: 17px;
  font-weight: 700;
}

.acs-article-body h4 {
  margin: 14px 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.acs-article-body blockquote {
  margin: 14px 0;
  padding: 10px 14px;
  border-left: 4px solid #c9d6e8;
  background: #f5f8fc;
  color: #445566;
}

.acs-article-body img,
.acs-article-body video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px auto;
  border-radius: 4px;
}

.acs-article-body audio {
  width: 100%;
  max-width: 480px;
  margin: 10px 0;
}

.acs-article-body hr {
  border: 0;
  border-top: 1px solid #e5ebf2;
  margin: 20px 0;
}

.acs-article-body ul,
.acs-article-body ol {
  margin: 0 0 14px;
  padding-left: 1.4em;
}

.acs-article-body .acs-inline-file a {
  color: var(--acs-blue);
  text-decoration: none;
  font-weight: 600;
}

.acs-notice-body.acs-article-body {
  white-space: normal;
}

.acs-notice-files {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--acs-line);
  border-radius: 8px;
  background: #f8fafc;
}

.acs-notice-files h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
}

.acs-notice-files ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.acs-notice-files li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #e8eef5;
  font-size: 13px;
}

.acs-notice-files li:first-child {
  border-top: 0;
}

.acs-file-kind {
  font-size: 11px;
  font-weight: 700;
  color: var(--acs-blue);
  text-transform: uppercase;
}

.acs-notice-files strong {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acs-notice-files em {
  font-style: normal;
  color: var(--acs-faint);
  font-size: 12px;
}

.acs-file-dl {
  color: var(--acs-blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 12.5px;
}

.acs-file-dl:hover {
  text-decoration: underline;
}

/* 发布页 · 公众号推文全屏结构 */
.page-acs-mp-publish {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1f2a37;
  background: #e8edf3;
  overflow: hidden;
}

.mp-shell {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

.mp-top {
  flex-shrink: 0;
  height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid #d9e2ec;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.mp-top-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mp-back {
  color: #3b6ea5;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.mp-back:hover { color: #1b5fad; }

.mp-top-divider {
  width: 1px;
  height: 16px;
  background: #d5dee8;
}

.mp-top-left strong {
  font-size: 15px;
  font-weight: 700;
}

.mp-top-sub {
  font-size: 12px;
  color: #8a97a8;
}

.mp-top-modes {
  display: inline-flex;
  padding: 3px;
  border-radius: 8px;
  background: #eef2f7;
  border: 1px solid #d9e2ec;
}

.mp-top-modes button {
  border: 0;
  background: transparent;
  min-width: 64px;
  height: 30px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #5a6878;
  cursor: pointer;
  font-family: inherit;
}

.mp-top-modes button.is-active {
  background: #fff;
  color: #1b5fad;
  box-shadow: 0 1px 3px rgba(20, 40, 70, 0.08);
}

.mp-top-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.mp-top-right .acs-pub-msg {
  margin: 0;
  font-size: 12px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp-btn-primary,
.mp-btn-ghost {
  height: 34px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.mp-btn-primary {
  border: 1px solid #134a8a;
  background: #1b5fad;
  color: #fff;
}

.mp-btn-primary:hover { background: #134a8a; }
.mp-btn-primary:disabled { opacity: 0.65; cursor: not-allowed; }

.mp-btn-ghost {
  border: 1px solid #c9d6e8;
  background: #fff;
  color: #334155;
}

.mp-btn-ghost:hover { background: #f5f8fc; }

.mp-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 280px;
}

.mp-materials,
.mp-style {
  background: #f7f9fc;
  border-right: 1px solid #d9e2ec;
  padding: 14px 10px;
  overflow: auto;
}

.mp-style {
  border-right: 0;
  border-left: 1px solid #d9e2ec;
  padding: 14px 12px;
}

.mp-side-title {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a97a8;
  font-weight: 700;
  text-align: center;
}

.mp-style .mp-side-title { text-align: left; }

.mp-mat {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 12px 6px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.mp-mat:hover {
  background: #fff;
  border-color: #c9d6e8;
}

.mp-mat-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e8f1fb, #d7e6f6);
  color: #1b5fad;
  font-weight: 800;
  font-size: 14px;
}

.mp-mat-hint {
  margin: 10px 2px 0;
  font-size: 11px;
  line-height: 1.45;
  color: #9aa8b8;
  text-align: center;
}

.mp-stage {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  display: flex;
  justify-content: center;
  padding: 20px 16px 28px;
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(27, 95, 173, 0.08), transparent 60%),
    #e8edf3;
}

.mp-paper {
  width: min(680px, 100%);
  min-height: calc(100% - 8px);
  background: #fff;
  border: 1px solid #d5dee8;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(20, 40, 70, 0.08);
  padding: 28px 36px 40px;
}

.mp-shell.is-phone .mp-paper {
  width: min(390px, 100%);
  border-radius: 18px;
  padding: 22px 18px 28px;
  box-shadow: 0 16px 40px rgba(20, 40, 70, 0.14);
}

.mp-title-input {
  width: 100%;
  border: 0;
  outline: none;
  padding: 0 0 10px;
  margin: 0;
  font: inherit;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: #152033;
  border-bottom: 1px solid transparent;
}

.mp-title-input::placeholder { color: #b0bbc8; }
.mp-title-input:focus { border-bottom-color: #d5dee8; }

.mp-meta-line {
  display: flex;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 12.5px;
  color: #8a97a8;
}

.mp-editor {
  min-height: 420px;
  outline: none;
  font-size: 16px;
  line-height: 1.9;
}

.mp-editor:empty::before {
  content: attr(data-placeholder);
  color: #b0bbc8;
  pointer-events: none;
}

.mp-preview-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.mp-preview-body {
  min-height: 200px;
}

.mp-preview-files {
  margin-top: 20px;
}

.mp-style-group {
  margin-bottom: 14px;
}

.mp-style-group > span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #8a97a8;
  font-weight: 600;
}

.mp-style-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.mp-style-row button {
  height: 34px;
  border: 1px solid #d5dee8;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.mp-style-row button:hover {
  border-color: #9fbee0;
  color: #1b5fad;
  background: #f3f8fd;
}

.mp-attach-box {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.mp-attach-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mp-attach-head strong {
  font-size: 13px;
}

.mp-link-btn {
  border: 0;
  background: transparent;
  color: #1b5fad;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.mp-attach-empty {
  margin: 6px 0 0;
  font-size: 12px;
  color: #9aa8b8;
  line-height: 1.5;
}

.page-acs-mp-publish .acs-pub-attach-list li {
  grid-template-columns: 40px minmax(0, 1fr);
  grid-auto-rows: auto;
}

.page-acs-mp-publish .acs-pub-attach-list li em,
.page-acs-mp-publish .acs-pub-attach-list li button {
  grid-column: 2;
}

.page-acs-mp-publish .acs-pub-attach-list li button {
  justify-self: start;
  margin-top: 2px;
}

.acs-pub-msg.is-ok { color: #15803d; }
.acs-pub-msg.is-err { color: #b91c1c; }

.acs-pub-attach-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.acs-pub-attach-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-top: 1px solid #e8eef5;
  font-size: 12.5px;
}

.acs-pub-attach-list li:first-child { border-top: 0; }

.acs-pub-att-kind {
  font-size: 11px;
  font-weight: 700;
  color: #1b5fad;
  text-transform: uppercase;
}

.acs-pub-attach-list button {
  border: 1px solid #d5dee8;
  background: #fff;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .page-acs-mp-publish { overflow: auto; }
  .mp-shell { height: auto; min-height: 100dvh; }
  .mp-top {
    grid-template-columns: 1fr;
    height: auto;
    padding: 10px 12px;
    gap: 8px;
  }
  .mp-top-right { justify-content: flex-start; flex-wrap: wrap; }
  .mp-body {
    grid-template-columns: 1fr;
  }
  .mp-materials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-right: 0;
    border-bottom: 1px solid #d9e2ec;
  }
  .mp-materials .mp-side-title,
  .mp-mat-hint { width: 100%; text-align: left; }
  .mp-mat {
    width: auto;
    flex-direction: row;
    padding: 8px 10px;
    margin: 0;
  }
  .mp-style {
    border-left: 0;
    border-top: 1px solid #d9e2ec;
  }
  .mp-paper { padding: 20px 16px 28px; }
}




/* 大窗已开：仅标记配对态（防闲置回图），小屏仍可操作、无蒙版 */
.acs-device.is-twin-locked {
  position: relative;
}
.acs-device.is-twin-locked .acs-device-frame {
  pointer-events: auto !important;
}
.acs-device.is-twin-locked::after {
  display: none !important;
  content: none !important;
}

/* 旧锁定蒙版样式：禁用，避免残留 class 挡住操作 */
.ga-twin-lock-overlay {
  display: none !important;
}
html.ga-twin-locked,
body.ga-twin-locked {
  overflow: auto !important;
  pointer-events: auto !important;
}
body.ga-twin-locked .content-area {
  pointer-events: auto !important;
}

/* 旧：本页放大（已弃用，保留以免残留 class 撑破布局） */
html.acs-has-device-expanded,
body.acs-has-device-expanded {
  overflow: hidden !important;
}
body.acs-has-device-expanded .portal-mast {
  visibility: hidden;
  pointer-events: none;
}
.acs-device-expand-backdrop {
  display: none !important;
}

