/* ============================================================
   移动端 · 2027 国考专题
   独立设计：单列信息流 + 底部固定操作栏
   ============================================================ */

/* ---------- 基础 ---------- */

.m-wrap {
  padding-inline: 16px;
}

html {
  background: var(--bg);
}

.m-body {
  max-width: 750px;
  margin-inline: auto;
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
  background: var(--bg);
}

.m-sec {
  padding: 22px 0;
}

/* 首屏与第一个板块之间的过渡收窄，避免一整块空白 */
#mSections > .m-sec:first-child {
  padding-top: 12px;
}

.m-sec + .m-sec {
  padding-top: 0;
}

.m-sec__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-inline: 16px;
  margin-bottom: 14px;
}

.m-sec__title {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.35;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.m-sec__title::before {
  content: '';
  width: 4px;
  height: 17px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--amber));
  flex: none;
  align-self: center;
}

/* 标题后半段：一句人话描述，浅色小一号，跟关键词同一行，放不下才换行 */
.m-sec__desc {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}

.m-sec__kw {
  display: inline;
}

.m-sec__sub {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 5px;
  padding-left: 12px;
  line-height: 1.6;
}

.m-sec__more {
  font-size: 12.5px;
  color: var(--ink-3);
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* 带徽章的「更多」：手机上放不下长文案，只留胶囊 + 角标 */
.m-sec__more--badge {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  font-size: 11.5px;
  gap: 4px;
  max-width: 52%;
}

.m-sec__more--badge span:last-child {
  flex: none;
}

.m-sec__morebadge {
  flex: none;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.6;
}

/* ---------- 通用标签（与 PC 同一套语义色） ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  flex: none;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--ink-2);
  white-space: nowrap;
  line-height: 1.5;
}

.tag--brand {
  background: var(--brand);
  color: #fff;
}

.tag--soft {
  background: var(--brand-soft);
  color: var(--brand);
}

.tag--amber {
  background: var(--amber-soft);
  color: #a86a0a;
}

.tag--green {
  background: var(--green-soft);
  color: var(--green);
}

.tag--line {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-3);
}

/* ---------- 顶部栏 ---------- */

.m-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.m-top__inner {
  height: 52px;
  padding-inline: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.m-top__brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.02em;
  flex: none;
}

/* 本地宝 logo：手机顶栏就是全站导航的位置，直接放 logo，不拼「国考」文字 */
.m-top__logo {
  display: block;
  width: 78px;
  height: 31px;
  object-fit: contain;
  flex: none;
}

.m-top__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-width: 0;
}

.m-top__city {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12.5px;
  background: var(--surface);
  flex: none;
  max-width: 42vw;
}

.m-top__city span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-top__app {
  flex: none;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #ff7a3d);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 28px;
  box-shadow: 0 6px 16px -10px var(--brand-glow);
  white-space: nowrap;
}

.m-top__app:active {
  transform: scale(0.98);
}

/* ---------- 吸顶锚点导航 ----------
   顶栏 52px 固定吸顶，锚点条从 top:52px 起跟随；迷你倒计时固定在 94px，
   滚动出首屏后才浮出来，落在锚点条下面，三条互不遮挡。
   板块的 scroll-margin-top 按三条全在的高度预留，见文件末尾 */

.m-anchors {
  position: sticky;
  top: 52px;
  z-index: 48;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  /* 左边缘淡出，暗示这一行还能继续往右滑 */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 14px), transparent 100%);
}

.m-anchors__track {
  display: flex;
  gap: 4px;
  padding: 5px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.m-anchors__track::-webkit-scrollbar {
  display: none;
}

.m-anchors__link {
  flex: none;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.16s, color 0.16s;
}

.m-anchors__link:hover,
.m-anchors__link:active {
  background: var(--surface-2);
  color: var(--ink);
}

.m-anchors__link.is-active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 650;
}

/* ---------- 首屏 ---------- */

.m-hero {
  position: relative;
  padding: 18px 0 18px;
  overflow: hidden;
}

/* 首屏底部不再额外留白，交给首屏 padding 控制 */
.m-hero::after {
  display: none;
}

.m-hero__bg {
  position: absolute;
  inset: 0;
  /* 暖色光晕落在标题一侧，右上角留白不再被高亮 */
  background:
    radial-gradient(420px 240px at 10% -6%, rgba(255, 90, 31, 0.16), transparent 68%),
    linear-gradient(180deg, #fff7f0 0%, var(--bg) 78%);
  pointer-events: none;
}

.m-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(120, 92, 66, 0.1) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 70%);
}

.m-hero__inner {
  position: relative;
  padding-inline: 16px;
}

.m-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.m-hero__crumb {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  /* 11px：320px 下和右侧阶段徽标同一行放得下，不挤成两行 */
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
}

/* 面包屑：本地宝 / 招聘 / 国考，前两级可点，末级是当前页 */
.m-hero__crumb .crumb__link,
.m-hero__crumb .crumb__cur {
  flex: none;
}

.m-hero__crumb .crumb__link {
  color: var(--ink-3);
}

.m-hero__crumb .crumb__sep {
  opacity: 0.5;
  flex: none;
}

.m-hero__crumb .crumb__cur {
  color: var(--ink-2);
  font-weight: 600;
}

/* 当前阶段徽标：整页只出现这一次 */
.m-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
  white-space: nowrap;
}

.m-hero__badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.m-hero__title {
  /* 只剩一句主标题（副标题去掉了），字号给足，一行放不下再折 */
  font-size: 31px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.m-hero__title em {
  font-style: normal;
  color: var(--brand);
}

.m-hero__desc {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.m-hero__desc strong {
  color: var(--ink);
  font-weight: 650;
}

/* 阶段卡（移动） */

.m-phase {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 14px 34px -22px rgba(43, 31, 20, 0.45);
  overflow: hidden;
}

.m-phase__body {
  padding: 16px 18px 18px;
  background:
    radial-gradient(280px 140px at 100% 0%, rgba(255, 90, 31, 0.13), transparent 72%),
    linear-gradient(170deg, #fffaf5, #ffffff 62%);
}

.m-phase__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.m-phase__date {
  flex: none;
  font-size: 11.5px;
  color: var(--ink-3);
}

.m-phase__cdhint {
  font-size: 12px;
  color: var(--ink-3);
}

.m-cd {
  display: flex;
  align-items: flex-start;
  gap: 2px;
}

.m-cd__unit {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.m-cd__num {
  font-size: 30px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.m-cd.is-urgent .m-cd__num {
  color: var(--brand);
}

.m-cd__label {
  font-size: 11px;
  color: var(--ink-3);
  margin-left: 1px;
}

.m-cd__sep {
  font-size: 20px;
  color: var(--line-strong);
  font-weight: 300;
  margin: 0 2px;
  line-height: 1.2;
}

.m-phase__tip {
  margin-top: 12px;
  padding: 9px 11px;
  border-radius: var(--r-xs);
  background: var(--amber-soft);
  border: 1px solid #f7e2bd;
  font-size: 12px;
  line-height: 1.65;
  color: #7a5312;
  display: flex;
  gap: 6px;
}

.m-phase__tip svg {
  flex: none;
  margin-top: 2px;
}

.m-phase__actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 650;
  transition: transform 0.14s, box-shadow 0.18s;
}

.m-btn:active {
  transform: scale(0.985);
}

.m-btn--primary {
  background: linear-gradient(135deg, var(--brand), #ff7a3d);
  color: #fff;
  box-shadow: 0 8px 20px -10px var(--brand-glow);
  flex: 1;
}

.m-btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  flex: none;
  padding-inline: 16px;
}

/* 数据条（移动横滑） */

.m-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.m-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 13px;
  box-shadow: var(--shadow-sm);
}

.m-stat__label {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.m-stat__value {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.m-stat__unit {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
}

.m-stat__delta {
  margin-top: 4px;
  font-size: 10.5px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--ink-3);
}

.m-stat--brand .m-stat__value {
  color: var(--brand);
}

/* 吸顶迷你倒计时（滚动后出现） */

.m-mini {
  /* 用 fixed 脱离文档流：隐藏时不占高度，否则页头下方会多出一段空白。
     顶栏 52 + 锚点条 42 = 94，紧贴锚点条下沿，三条不叠 */
  position: fixed;
  top: 94px;
  left: 50%;
  z-index: 45;
  width: min(750px, 100%);
  max-width: 750px;
  box-sizing: border-box;
  padding: 9px 16px;
  background: rgba(255, 250, 246, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  opacity: 0;
  transform: translateX(-50%) translateY(-100%);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

.m-mini.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.m-mini[hidden] {
  display: none;
}

.m-mini__label {
  color: var(--ink-2);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-mini__time {
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  flex: none;
}

.m-mini__cta {
  flex: none;
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

/* ---------- 工具宫格 ---------- */

.m-tools {
  padding-inline: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.m-tool {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.14s, border-color 0.16s;
}

.m-tool:active {
  transform: scale(0.985);
  border-color: var(--brand-tint);
}

.m-tool__icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}

.m-tool--primary .m-tool__icon {
  background: linear-gradient(140deg, var(--brand), #ff8a4c);
  color: #fff;
}

.m-tool__text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.m-tool__title {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 描述只留一行，点击进入后有完整说明 */
.m-tool__desc {
  display: block;
  margin-top: 1px;
  font-size: 10.5px;
  color: var(--ink-3);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 时间轴（移动竖版） ---------- */

.m-tl {
  margin-inline: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 6px 16px 12px;
  box-shadow: var(--shadow-sm);
}

.m-tl__item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 13px 0;
}

.m-tl__item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 30px;
  bottom: -6px;
  width: 2px;
  background: var(--line);
}

.m-tl__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  flex: none;
  margin-top: 3px;
  z-index: 1;
}

.m-tl__item.is-done .m-tl__dot {
  background: var(--green);
  border-color: var(--green);
}

.m-tl__item.is-current .m-tl__dot {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.m-tl__item.is-current:not(:last-child)::after {
  background: linear-gradient(180deg, var(--brand-soft), var(--line));
}

.m-tl__body {
  flex: 1;
  min-width: 0;
  padding-bottom: 2px;
}

.m-tl__title {
  font-size: 14px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  line-height: 1.45;
}

.m-tl__item.is-current .m-tl__title {
  color: var(--brand);
}

.m-tl__item.is-done .m-tl__title {
  color: var(--ink-3);
}

.m-tl__date {
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
}

.m-tl__item.is-done .m-tl__date {
  color: var(--ink-3);
}

.m-tl__note {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.6;
}


/* ---------- 今年变化（横滑卡片） ---------- */

.m-scroll {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 2px 16px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.m-scroll::-webkit-scrollbar {
  display: none;
}

/* 横滑提示：右侧渐隐 + 小圆点 */
.m-scrollwrap {
  position: relative;
}

.m-scrollwrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 10px;
  width: 26px;
  background: linear-gradient(90deg, transparent, var(--bg) 85%);
  pointer-events: none;
}

.m-scroll__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 2px;
  font-size: 11px;
  color: var(--ink-3);
}

.m-scroll__hint i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
  display: block;
}

.m-scroll__hint i.is-on {
  background: var(--brand);
  width: 12px;
  border-radius: 2px;
}

.m-change {
  flex: 0 0 82%;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.m-change--brand {
  background: linear-gradient(165deg, #fff6f0, #fff 58%);
  border-color: var(--brand-tint);
}

.m-change__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.m-change__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--ink-2);
}

.m-change--brand .m-change__icon {
  background: var(--brand);
  color: #fff;
}

.m-change__title {
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.45;
}

.m-change__desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-2);
}

/* ---------- 本地招录 ---------- */

.m-panel {
  margin-inline: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.m-panel + .m-panel {
  margin-top: 10px;
}

.m-panel__head {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(180deg, #fffdfb, var(--surface));
}

.m-panel__title {
  font-size: 14px;
  font-weight: 650;
}

.m-panel__body {
  padding: 10px 15px 14px;
}

/* ---------- 职位报名榜（tab + 排名） ---------- */

.m-rank {
  padding: 12px 15px 6px;
}

.m-rank__sum {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 6px;
  padding: 11px 12px;
  background: var(--surface-2);
  border-radius: var(--r-sm);
}

.m-rank__sumitem {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.m-rank__sumk {
  font-size: 10.5px;
  color: var(--ink-3);
}

.m-rank__sum b {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 750;
  color: var(--ink);
}

.m-rank__sumitem.is-brand b {
  color: var(--brand);
}

/* 四个 tab 等分一行，任何屏宽都不用横滑 */
.m-rank__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.m-rank__tab {
  padding: 7px 2px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.16s, color 0.16s;
}

.m-rank__tab.is-active {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

/* 榜单表格：与数据站同构，列多但每列都保留 */
.m-rank__tablewrap {
  margin-top: 8px;
}

.m-rank-table {
  /* auto 布局：数字列按内容取最小宽度，部门/职位列均分剩余空间 */
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
}

.m-rank-table th {
  padding: 7px 3px;
  border-bottom: 1px solid var(--line);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ink-3);
  text-align: left;
  line-height: 1.3;
}

.m-rank-table td {
  padding: 9px 3px;
  border-bottom: 1px dashed var(--line);
  vertical-align: middle;
  font-size: 10px;
  line-height: 1.35;
  color: var(--ink-2);
  word-break: break-word;
}

.m-rank-table tbody tr:last-child td {
  border-bottom: 0;
}

.m-rank-table .c-idx {
  width: 1%;
}

.m-rank-table .c-dept,
.m-rank-table .c-org,
.m-rank-table .c-pos {
  width: auto;
}

.m-rank-table .c-dept {
  color: var(--ink);
}

.m-rank-table .c-num {
  width: 1%;
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 报名人数列按内容取宽，千分位不能折行 */
.m-rank-table .c-num.is-sign {
  width: 1%;
}

/* 表头允许折行（「招考人数」这类四字表头在两行内展示），但「详情」保持一行 */
.m-rank-table th.c-num,
.m-rank-table th.c-metric {
  white-space: normal;
}

.m-rank-table th.c-detail {
  white-space: nowrap;
}

.m-rank-table th.c-num {
  text-align: center;
}

.m-rank-table .c-metric {
  width: 1%;
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.m-rank-table th.c-metric {
  text-align: center;
}

.m-rank-table .c-detail {
  width: 1%;
  text-align: center;
  white-space: nowrap;
  padding-inline: 2px;
}

.m-rank-table th.c-detail {
  text-align: center;
}

.m-rank-table .is-sign {
  color: var(--brand);
  font-weight: 700;
  font-size: 11px;
}

.m-rank-detail {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
}

.m-rank__no {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 650;
  background: var(--surface-2);
  color: var(--ink-3);
}

.m-rank__no.is-top {
  background: var(--brand-soft);
  color: var(--brand);
}

/* ---------- 报考条件（移动手风琴） ---------- */

.m-cond {
  margin-inline: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.m-cond + .m-cond {
  margin-top: 10px;
}

.m-cond__body {
  padding: 2px 15px 8px;
}

.m-cond__row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  align-items: baseline;
}

.m-cond__row:last-child {
  border-bottom: 0;
}

.m-cond__k {
  flex: none;
  width: 32px;
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
  line-height: 1.6;
}

.m-cond__v {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
  word-break: break-word;
}

.m-cond__sub {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.55;
}

/* ---------- FAQ ---------- */

.m-qa {
  margin-inline: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.m-qa + .m-qa {
  margin-top: 8px;
}

.m-qa.is-open {
  border-color: var(--brand-tint);
  box-shadow: var(--shadow-md);
}

.m-qa__q {
  width: 100%;
  text-align: left;
  padding: 14px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.6;
}

.m-qa__q .qmark {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.m-qa.is-open .qmark {
  background: var(--brand);
  color: #fff;
}

.m-qa__q .chev {
  flex: none;
  margin-left: auto;
  color: var(--ink-3);
  transition: transform 0.2s;
  margin-top: 2px;
}

.m-qa.is-open .chev {
  transform: rotate(180deg);
  color: var(--brand);
}

.m-qa__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.26s ease;
}

.m-qa.is-open .m-qa__a {
  grid-template-rows: 1fr;
}

.m-qa__a > div {
  overflow: hidden;
}

.m-qa__a p {
  padding: 0 14px 14px 41px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ---------- 资讯 ---------- */

.m-news {
  margin-inline: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.m-news__item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.m-news__item:last-child {
  border-bottom: 0;
}

.m-news__title {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.6;
}

.m-news__date {
  flex: none;
  font-size: 11px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}

/* ---------- 底部固定操作栏 ---------- */

.m-dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: min(750px, 100%);
  max-width: 750px;
  box-sizing: border-box;
  z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 9px;
  box-shadow: 0 -8px 24px -18px rgba(43, 31, 20, 0.5);
  /* 默认收起：首屏按钮还在屏幕里时不出现，避免同一组操作上下各一份 */
  transform: translateX(-50%) translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s;
}

.m-dock.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.m-dock__main {
  flex: 1;
  height: 48px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--brand), #ff7a3d);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 8px 20px -10px var(--brand-glow);
}

.m-dock__sub {
  flex: none;
  width: 106px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  line-height: 1.2;
}

.m-dock__sub small {
  font-size: 10px;
  color: var(--ink-3);
  font-weight: 400;
}

.m-dock__main.m-dock__follow {
  flex: none;
  width: 86px;
  flex-direction: column;
  gap: 1px;
  font-size: 14px;
  line-height: 1.2;
  padding: 0 8px;
}

.m-dock__follow small {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.95;
}

.m-dock--with-follow .m-dock__main:not(.m-dock__follow) {
  min-width: 0;
}

/* ---------- 相关专题（页脚上方的入口卡） ---------- */

.m-related {
  padding-inline: 16px;
  display: grid;
  gap: 9px;
}

.m-rcard {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.m-rcard__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}

.m-rcard__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.m-rcard__title {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.m-rcard__desc {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.m-rcard__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 650;
}

/* ---------- 页脚：只剩一段免责声明 ---------- */

.m-footer {
  padding: 24px 16px 28px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  margin-top: 26px;
}

.m-footer__desc {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--ink-3);
}

/* ---------- 城市选择面板（移动） ---------- */

.m-citysheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.m-citysheet.is-open {
  display: block;
}

.m-citysheet__mask {
  position: absolute;
  inset: 0;
  background: rgba(33, 26, 21, 0.42);
  animation: fade 0.2s ease;
}

@keyframes fade {
  from { opacity: 0; }
}

.m-citysheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 750px;
  margin-inline: auto;
  background: var(--surface);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 18px 16px calc(20px + env(safe-area-inset-bottom));
  max-height: 74vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: sheet 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sheet {
  from { transform: translateY(24px); opacity: 0; }
}

.m-citysheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.m-citysheet__title {
  font-size: 15px;
  font-weight: 700;
}

.m-citysheet__close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--ink-2);
}

.m-citysheet__search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 12px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-3);
}

.m-citysheet__search svg {
  flex: none;
}

.m-citysheet__search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline: none;
}

.m-citysheet__search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.m-citysheet__empty {
  margin: 4px 0 12px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}

.m-citysheet__empty[hidden] {
  display: none;
}

.m-citysheet__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  overflow-y: auto;
  min-height: 0;
  max-height: 46vh;
}

.m-citysheet__item {
  padding: 9px 4px;
  border-radius: var(--r-xs);
  font-size: 13px;
  text-align: center;
  color: var(--ink-2);
  background: var(--surface-2);
}

.m-citysheet__item.is-current {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 650;
}

.m-citysheet__item.is-hidden {
  display: none;
}

.m-citysheet__hint {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.7;
}

/* ---------- 入场 ---------- */

.m-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.m-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 大屏手机 / 小平板 ---------- */

@media (min-width: 560px) {
  .m-tools {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .m-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* 平板宽度：阶段标签收进一行，不再横向滚动 */
  .m-guide__tabs {
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }

  .m-guide__tab {
    flex: 1;
    text-align: center;
  }

  .m-guide__panel {
    padding-inline: 18px;
  }
}

/* ---------- 长列表收起 / 展开 ---------- */

.is-collapsed {
  display: none !important;
}

.m-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  margin-top: 10px;
  padding: 11px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 550;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}

.m-more:active {
  background: var(--surface-2);
}

.m-more:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.m-more__chev {
  display: inline-flex;
  transition: transform 0.2s;
}

.m-more.is-open .m-more__chev {
  transform: rotate(180deg);
}

/* ---------- 时间轴：已完成摘要行 ---------- */

.m-tl__done {
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--line);
}

.m-tl__done-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 2px;
  background: transparent;
  border: 0;
  color: var(--ink-3);
  font-size: 12.5px;
  text-align: left;
}

.m-tl__done-btn .m-more__chev {
  margin-left: auto;
}

.m-tl__done-btn.is-open .m-more__chev {
  transform: rotate(180deg);
}

.m-tl__row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 2px 8px 0;
  font-size: 12.5px;
  color: var(--ink-3);
}

.m-tl__rdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
  margin-left: 3px;
}

.m-tl__rdot.is-sum {
  background: var(--line-strong);
}

.m-tl__rname {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-tl__rdate {
  flex: none;
  font-variant-numeric: tabular-nums;
}

/* 时间轴：主体节点列表（收起后紧跟「展开后续」） */
.m-tl__list {
  padding-top: 2px;
}

.m-tl__item.is-collapsed + .m-more {
  margin-top: 2px;
}

/* ---------- 条件区小标题 ---------- */

.m-cond {
  padding-bottom: 6px;
}

.m-note-list {
  margin: 10px 16px 0;
  padding: 13px 15px 13px 30px;
  background: var(--surface-2);
  border-radius: var(--r-md);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.m-note-list li + li {
  margin-top: 7px;
}

/* 板块内最后一个 panel 不再撑额外间距 */
.m-sec > div > .m-panel:last-child {
  margin-bottom: 0;
}

/* ---------- 锚点滚动：给吸顶栏让位 ---------- */

.m-sec[id] {
  /* 顶栏 52 + 锚点条 42 + 迷你倒计时 49 = 143，统一按「三条都在」预留：
     迷你条是随滚动才出现的，若按 98 预留，跳过去的瞬间它才浮出来压住标题 */
  scroll-margin-top: 148px;
}

/* 已结束节点：整体弱化，避免和「进行中」的红点混淆 */
.m-tl__item.is-done .m-tl__title {
  color: var(--ink-3);
}

.m-tl__item.is-done .m-tl__date,
.m-tl__item.is-done .m-tl__note {
  color: var(--ink-3);
  opacity: 0.85;
}

/* 同时进行的次要节点：实心点降为描边，避免"三个都在急" */
.m-tl__item.is-parallel .m-tl__dot {
  background: var(--surface);
  border-color: var(--amber);
  box-shadow: none;
}

.m-tl__item.is-parallel .m-tl__title {
  color: var(--ink);
}

/* ---------- 变化：纵向列表（替换横滑卡片） ---------- */

.m-changes {
  margin-inline: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.m-change2 {
  display: flex;
  gap: 11px;
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
}

.m-change2:last-child {
  border-bottom: 0;
}

.m-change2__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--ink-2);
  flex: none;
}

.m-change2--brand .m-change2__icon {
  background: var(--brand-soft);
  color: var(--brand);
}

.m-change2__body {
  min-width: 0;
  flex: 1;
}

.m-change2__title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.4;
}

.m-change2__desc {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- 移动端资讯：无徽章，单行标题 ---------- */

.m-news__item {
  align-items: center;
}

.m-news__title {
  font-size: 13px;
}

/* 首屏省市数据：并成一行，不占第二屏 */
.m-stat__inline {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.m-stat__inline-item {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
}

.m-stat__inline-k {
  font-size: 11.5px;
  color: var(--ink-3);
}

.m-stat__inline-item b {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.m-stat__inline-u {
  font-size: 11px;
  color: var(--ink-3);
}

.m-stat__inline-sep {
  width: 1px;
  height: 14px;
  background: var(--line);
  flex: none;
}

/* ---------- 底部文字链接（查看完整 / 查看更多） ---------- */

.m-morelink {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 16px;
  padding: 12px 10px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
}

.m-cond .m-morelink {
  margin: 0;
}

.m-morelink[aria-disabled='true'],
.m-morelink.is-disabled {
  color: var(--ink-3);
  pointer-events: none;
  cursor: default;
}

.m-gact.is-disabled,
.m-gact[aria-disabled='true'] {
  color: var(--ink-3);
  pointer-events: none;
  cursor: default;
  opacity: 0.72;
}

.m-gact--primary.is-disabled {
  background: var(--surface-2);
  color: var(--ink-3);
}

.m-panel .m-morelink {
  margin: 0;
  border-top-color: var(--line);
}

/* 榜单底部那行按钮带「全国」角标：手机上没有标题右侧的位置，徽章跟着文字走 */
.m-morelink__badge {
  flex: none;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.6;
}

/* ---------- 考试安排：折叠态只留名称与时间 ---------- */

.m-examfold {
  margin-inline: 16px;
}

.m-examfold__list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 4px 14px;
  box-shadow: var(--shadow-sm);
}

.m-examfold__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.m-examfold__row:last-child {
  border-bottom: 0;
}

.m-examfold__dot {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  align-self: center;
}

.m-examfold__name {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 600;
}

.m-examfold__time {
  flex: none;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.m-examfold .m-morelink {
  margin: 8px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

/* ---------- 资讯 / 问答：tab + 左右滑动 ---------- */

.m-tabbox {
  margin-inline: 16px;
}

.m-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  background: var(--surface-2);
  border-radius: 999px;
}

.m-tabs__btn {
  padding: 9px 10px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}

.m-tabs__btn.is-active {
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

/* viewport：只露一屏，track 两屏并排，位移 50% 切页 */
.m-tabs__view {
  overflow: hidden;
  touch-action: pan-y;
}

.m-tabs__track {
  display: flex;
  width: 200%;
  transition: transform 0.26s ease;
}

.m-tabs__pane {
  flex: 0 0 50%;
  width: 50%;
  min-width: 0;
  padding-top: 10px;
}

/* 两屏并排：单屏内容宽度 = 容器一半，长标题必须能折行而不是把轨道撑宽 */
.m-tabs__pane .m-news,
.m-tabs__pane .m-news__item,
.m-tabs__pane .m-news__title {
  min-width: 0;
}

.m-tabs__pane .m-news {
  margin-inline: 0;
}

.m-tabs__pane .m-news__title {
  overflow-wrap: anywhere;
}

.m-tabs__pane .m-morelink {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

/* ---------- 全流程指南：阶段切换 + 重点条目 ---------- */

.m-guide {
  margin-inline: 16px;
}

/* 5 个阶段一屏放不下，横向滚动；隐藏滚动条，靠高亮和边距暗示可滑 */
.m-guide__tabs {
  display: flex;
  gap: 6px;
  margin-inline: -16px;
  padding: 2px 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.m-guide__tabs::-webkit-scrollbar {
  display: none;
}

.m-guide__tab {
  flex: none;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}

.m-guide__tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.m-guide__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 12px 14px 4px;
  box-shadow: var(--shadow-sm);
}

.m-guide__period {
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 650;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.m-guide__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
}

/* 分隔线用相邻兄弟，最后一条下面不留虚线 */
.m-guide__row + .m-guide__row {
  border-top: 1px dashed var(--line);
}

.m-guide__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.m-guide__title::before {
  content: '';
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

/* 时间写全，单独一行；手机上不截断，橙色小字够醒目又不抢标题 */
.m-guide__date {
  padding-left: 11px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.m-guide__desc {
  padding-left: 11px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.7;
}

/* 报名费用：编辑填写后才出现 */
.m-guide__fee {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-left: 11px;
  font-size: 11.5px;
  line-height: 1.6;
}

.m-guide__feek {
  flex: none;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 600;
}

.m-guide__feev {
  color: var(--ink-2);
  font-weight: 600;
}

/* 快捷按钮：一行放不下就换行，每个都能单独点 */
.m-guide__acts,
.m-result__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 11px;
  margin-top: 4px;
}

.m-gact {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.4;
}

.m-gact span {
  display: inline-flex;
  color: var(--ink-3);
}

.m-gact:active {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

/* 每张卡的第一个按钮是官方入口 */
.m-gact--primary {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}

.m-gact--primary span {
  color: rgba(255, 255, 255, 0.85);
}

.m-gact--primary:active {
  background: var(--brand-600);
  color: #fff;
}

.m-guide__panel .m-morelink {
  margin: 0;
  border-top: 1px solid var(--line);
}

/* 只有一个阶段面板时，按钮距离上一条太近就补一点间距 */
.m-guide__list + .m-morelink {
  margin-top: 2px;
}

/* ---------- 成绩查询与面试：竖向时间卡 ---------- */

.m-result {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-inline: 16px;
}

.m-result__card {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.m-result__head {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.m-result__idx {
  flex: none;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 750;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 5px;
  padding: 1px 5px;
}

.m-result__title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
}

.m-result__date {
  margin-left: auto;
  flex: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.m-result__desc {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* 结果卡里的按钮不需要再缩进，和描述左对齐 */
.m-result__acts {
  padding-left: 0;
}

/* ---------- 常见问题下面的官方入口 / 咨询电话 ---------- */

/* tab 容器自己带 16px 边距，面板也是 16px，这里只补 tab 与面板之间的间距 */
.m-res > .m-panel {
  margin-top: 12px;
}

/* 入口做成 2×2 宫格：四张入口在手机上排成两行，不挤成一列长条 */
.m-entries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 15px 14px;
}

.m-entry {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 10px 10px;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  font-weight: 600;
  color: var(--ink);
}

.m-entry:active {
  background: var(--brand-soft);
}

.m-entry__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand);
}

/* 320px 两列时每格只剩 60 多 px，标题必须能折行，不能省略号截断 */
.m-entry__label {
  min-width: 0;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.m-hotline {
  padding: 4px 15px 10px;
}

.m-hotline__row {
  padding: 10px 0;
}

.m-hotline__row + .m-hotline__row {
  border-top: 1px dashed var(--line);
}

/* 320px 时「考务咨询 + 两个号码」一行放不下：整块号码换到下一行，
   不要从号码中间的连字符处折断 */
.m-hotline__top {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 8px;
}

.m-hotline__label {
  flex: none;
  font-size: 12.5px;
  color: var(--ink-2);
}

.m-hotline__phone {
  margin-left: auto;
  white-space: nowrap;
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}

.m-hotline__time {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ---------- 回到顶部 ----------
   底部有固定操作栏时往上让位，避免压在 m-dock 上；
   城市浮层打开时整条按钮收起（见 mobile.js 的 renderCitySheet） */
.m-totop {
  position: fixed;
  right: max(14px, calc((100% - 750px) / 2 + 14px));
  bottom: calc(14px + env(safe-area-inset-bottom));
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s, bottom 0.22s, color 0.16s;
  z-index: 40;
}

.m-totop.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* 底部固定栏浮出时（body.has-dock）按钮整体上移，刚好落在固定栏上方 */
body.has-dock .m-totop {
  bottom: calc(84px + env(safe-area-inset-bottom));
}

.m-totop:active {
  color: var(--brand);
  border-color: var(--brand);
}

.m-totop:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- 导粉（关注本地宝） ---------- */

.m-daofen {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.65;
  word-break: break-word;
  padding: 12px 16px;
}

.m-daofen img {
  max-width: 80%;
  height: auto;
  margin: 8px auto;
  display: block;
}

.m-daofen p {
  margin: 0 0 8px;
}

.m-daofen p:last-child {
  margin-bottom: 0;
}

.m-daofen a {
  color: var(--brand);
}

.m-daofen-mask {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  box-sizing: border-box;
}

.m-daofen-mask.is-open {
  display: flex;
}

.m-daofen-mask__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 20, 12, 0.52);
}

.m-daofen-dialog {
  position: relative;
  width: min(750px, 100%);
  max-width: 340px;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.m-daofen-dialog__title {
  margin: 0;
  padding: 14px 16px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.m-daofen-dialog__bd {
  max-height: min(70vh, 420px);
  overflow-y: auto;
  padding: 12px 16px 16px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.65;
  word-break: break-word;
}

.m-daofen-dialog__bd img {
  max-width: 100%;
  height: auto;
  margin: 8px auto;
  display: block;
}

.m-daofen-dialog__close {
  width: 100%;
  height: 46px;
  border: 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
}

.m-follow {
  position: fixed;
  left: max(14px, calc((100% - 750px) / 2 + 14px));
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 40;
  width: 52px;
  padding: 10px 8px;
  border: 0;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--brand), #ff7a3d);
  box-shadow: 0 8px 20px -10px var(--brand-glow);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s, bottom 0.22s;
}

.m-follow.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

body.has-dock .m-follow {
  bottom: calc(84px + env(safe-area-inset-bottom));
}

.m-follow:active {
  transform: scale(0.985);
}

.m-follow:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

button.m-dock__main {
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
