@charset "utf-8";

/* ==========================================================================
   组件层：首屏、快捷服务、报名流程、内容模块、数据块、提示条、公告列表、
   服务入口、时间轴、数据表格、筛选条、问答、标签页、级别卡、相关内容
   ========================================================================== */

/* --------------------------------------------------------------------------
   内容模块
   -------------------------------------------------------------------------- */

.block {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--paper);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
}

.block__head--tint {
  background-color: var(--paper-2);
}

.block__titles {
  min-width: 0;
}

.block__title {
  position: relative;
  padding-left: 14px;
  font-size: 18px;
}

.block__title::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 16px;
  margin-top: -8px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), #7fb4f2);
  content: "";
}

.block__hint {
  margin-top: 6px;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.75;
}

.block__action {
  flex: none;
  color: var(--text-3);
  font-size: 13px;
}

a.block__action:hover {
  color: var(--primary);
}

.block__body {
  padding: 24px 26px;
}

.block__body--flush {
  padding: 8px 0;
}

.block__body--plain {
  padding: 0;
}

.block__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 16px 26px;
  border-top: 1px solid var(--line);
  background-color: var(--paper-2);
}

.block__foot-hint {
  color: var(--text-3);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   首页首屏
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #1d5fc9 0%, #2f7be2 52%, #4e9bf5 100%);
  color: #fff;
}

.hero::before {
  position: absolute;
  left: -140px;
  bottom: -200px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 60% 40%,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0) 70%
  );
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: 3%;
  top: 50%;
  color: rgba(255, 255, 255, 0.045);
  font-family: var(--font-kai);
  font-size: 330px;
  line-height: 1;
  content: "書";
  transform: translateY(-50%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 44px;
  align-items: center;
  padding: 62px 0 58px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 5px 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  letter-spacing: 0.8px;
}

.hero__title {
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1.32;
}

.hero__subtitle {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* 首屏三个按钮盒等宽等高，只靠底色区分主次。
   文案有 4 字与 6 字两种，用 min-width 把宽度拉齐（约 6 字加内边距） */
.hero__actions .btn {
  min-width: 140px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__facts > li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.hero__facts strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 17px;
  letter-spacing: 0.3px;
}

/* 报名倒计时 */
.countdown {
  padding: 24px 26px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.countdown__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 1px;
}

.countdown__value {
  margin-top: 10px;
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.countdown__value small {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 400;
}

.countdown__bar {
  height: 5px;
  margin-top: 16px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.countdown__bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd48f, #fca20c);
  transition: width 0.6s var(--ease);
}

.countdown__meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.95;
}

.countdown__meta strong {
  color: #fff;
}

/* --------------------------------------------------------------------------
   快捷服务条
   -------------------------------------------------------------------------- */

.quickbar {
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.quickbar__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quickbar__item > a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  transition: background-color 0.18s var(--ease);
}

.quickbar__item:first-child > a {
  border-left: 0;
}

.quickbar__item > a:hover {
  background-color: var(--primary-tint);
  color: var(--primary);
}

.quickbar__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background-color: var(--primary-soft);
  color: var(--primary-dark);
}

/* 图标为内联 SVG 线性图标，尺寸固定、颜色继承底块 */
.quickbar__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.quickbar__text {
  min-width: 0;
}

.quickbar__name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.quickbar__note {
  color: var(--text-3);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   报名流程步骤条
   -------------------------------------------------------------------------- */

.process {
  /* 交替色块：深色底 + 7% 白的浅色块 */
  --process-band: var(--primary-dark);
  --process-band-alt: #336cc8;
  background-color: var(--process-band);
}

.process__list {
  display: flex;
  align-items: stretch;
}

.process__item {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px 20px 28px;
  color: #fff;
  min-width: 0;
  /* 本步骤色块颜色，箭头底衬沿用同一颜色 */
  --band: var(--process-band);
  background-color: var(--band);
}

/* 箭头底衬：与左侧步骤色块同色，箭头区域不再跨到下一色块 */
.process__item::before {
  position: absolute;
  top: 0;
  right: -9px;
  bottom: 0;
  width: 18px;
  background-color: var(--band);
  content: "";
  z-index: 1;
}

.process__item::after {
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.32);
  border-right: 1.5px solid rgba(255, 255, 255, 0.32);
  content: "";
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}

.process__item:last-child::before,
.process__item:last-child::after {
  display: none;
}

.process__item:nth-child(even) {
  --band: var(--process-band-alt);
}

.process__step {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #fff;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
}

.process__text {
  min-width: 0;
}

.process__name {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.process__note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   数据块
   -------------------------------------------------------------------------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(198px, 1fr));
  gap: 14px;
}

.stat {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper);
}

.stat--tint {
  background-color: var(--paper-2);
}

.stat--accent {
  border-color: rgba(47, 123, 226, 0.22);
  background-color: var(--primary-soft);
}

.stat__label {
  color: var(--text-3);
  font-size: 12.5px;
}

.stat__value {
  margin-top: 7px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.2px;
}

.stat--accent .stat__value {
  color: var(--primary-dark);
}

.stat__note {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   提示条
   -------------------------------------------------------------------------- */

.callout {
  display: flex;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  background-color: var(--paper-2);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.85;
}

.callout + * {
  margin-top: 16px;
}

.callout__label {
  flex: none;
  color: var(--primary-dark);
  font-weight: 700;
}

.callout--warn {
  border-left-color: var(--red);
  background-color: var(--red-soft);
  color: #a83a12;
}

.callout--warn .callout__label {
  color: #a83a12;
}

.callout--tip {
  border-left-color: var(--jade);
  background-color: var(--jade-soft);
  color: #1f6b45;
}

.callout--tip .callout__label {
  color: #1f6b45;
}

.callout--note {
  border-left-color: var(--gold);
  background-color: var(--gold-soft);
  color: #8a5b00;
}

.callout--note .callout__label {
  color: #8a5b00;
}

/* 侧栏提示清单 */
.tips-list > li {
  position: relative;
  padding: 11px 0 11px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.8;
}

.tips-list > li:last-child {
  border-bottom: 0;
}

.tips-list > li::before {
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0.5;
  content: "";
}

.tips-list strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   公告列表
   -------------------------------------------------------------------------- */

.newslist {
  padding: 0 26px;
}

.newslist__item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.newslist__item:last-child {
  border-bottom: 0;
}

.newslist__date {
  flex: none;
  width: 72px;
  padding: 9px 0;
  border-radius: var(--radius-sm);
  background-color: var(--paper-2);
  text-align: center;
}

.newslist__day {
  display: block;
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.newslist__ym {
  display: block;
  color: var(--text-3);
  font-size: 11.5px;
}

.newslist__main {
  min-width: 0;
}

.newslist__title {
  font-size: 17px;
  line-height: 1.6;
}

.newslist__title a {
  color: var(--ink);
}

.newslist__title a:hover {
  color: var(--primary);
}

.newslist__desc {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.8;
}

.newslist__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--text-3);
  font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   服务入口卡片
   -------------------------------------------------------------------------- */

.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(224px, 1fr));
  gap: 14px;
}

.entry {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  row-gap: 10px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.entry:hover {
  border-color: rgba(47, 123, 226, 0.45);
  box-shadow: var(--shadow);
  color: var(--ink);
  transform: translateY(-3px);
}

.entry__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background-color: var(--primary-soft);
  color: var(--primary-dark);
}

.entry__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.entry__title {
  font-size: 16px;
  /* 卡片较窄时标题会换行，避免末行只剩一个字 */
  text-wrap: pretty;
}

.entry__desc {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.8;
}

.entry__more {
  margin-top: 4px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

/* 说明与链接占满整行，不参与图标＋标题的两列排布 */
.entry__desc,
.entry__more {
  grid-column: 1 / -1;
}

/* --------------------------------------------------------------------------
   时间轴
   -------------------------------------------------------------------------- */

.timeline {
  position: relative;
  margin: 6px 0 0 7px;
  padding-left: 26px;
  border-left: 1px solid var(--line-strong);
  list-style: none;
}

.timeline__item {
  position: relative;
  padding-bottom: 24px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background-color: var(--line-strong);
  content: "";
}

.timeline__item--key::before {
  background-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.timeline__date {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
}

.timeline__step {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background-color: var(--paper-2);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
}

.timeline__item--key .timeline__date {
  color: var(--primary-dark);
}

.timeline__item--key .timeline__step {
  background-color: var(--primary-soft);
  color: var(--primary-dark);
}

.timeline__text {
  margin-top: 5px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   数据表格
   -------------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  min-width: 420px;
  font-size: 15px;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.data-table thead th {
  background-color: var(--paper-2);
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover td,
.data-table tbody tr:hover th {
  background-color: var(--primary-tint);
}

.data-table tbody th {
  color: var(--ink);
  font-weight: 700;
}

.data-table td.is-highlight {
  color: var(--primary-dark);
  font-weight: 700;
}

.data-table tbody tr.is-match th,
.data-table tbody tr.is-match td {
  background-color: #fdf4e4;
}

.data-table tbody tr.is-match th {
  box-shadow: inset 3px 0 0 var(--gold);
}

/* --------------------------------------------------------------------------
   筛选条
   -------------------------------------------------------------------------- */

.filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-2);
  font-size: 14.5px;
}

.filterbar__label {
  color: var(--text-2);
}

.filterbar select,
.filterbar input[type="search"] {
  min-width: 210px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.filterbar select:focus,
.filterbar input[type="search"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
  outline: 0;
}

.filterbar__hint {
  color: var(--text-3);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   问答
   -------------------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__question {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 18px 48px 18px 26px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.16s ease;
}

.faq__question:hover {
  background-color: var(--primary-tint);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  content: "";
  transform: rotate(45deg);
  transition: transform 0.22s var(--ease), border-color 0.16s ease;
}

.faq__question:hover::after {
  border-color: var(--primary);
}

.faq__item[open] .faq__question::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.faq__mark {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: var(--radius-xs);
  background-color: var(--primary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.faq__answer {
  padding: 0 48px 20px 26px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.9;
}

.faq__answer > * + * {
  margin-top: 8px;
}

.faq__item.is-filtered {
  display: none;
}

.faq__empty {
  display: none;
  padding: 20px 4px;
  color: var(--text-3);
  font-size: 14.5px;
}

.faq__empty.is-visible {
  display: block;
}

/* --------------------------------------------------------------------------
   标签页（分段控件）
   -------------------------------------------------------------------------- */

.tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 22px;
  padding: 5px;
  border-radius: 999px;
  background-color: #eef0f3;
}

.tabs__btn {
  padding: 9px 26px;
  border: 0;
  border-radius: 999px;
  background-color: transparent;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.tabs__btn:hover {
  color: var(--primary);
}

.tabs__btn[aria-selected="true"] {
  background-color: var(--paper);
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(31, 58, 102, 0.12);
}

.tabpanel[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   级别要求卡片
   -------------------------------------------------------------------------- */

.gradecard {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.gradecard:hover {
  border-color: rgba(47, 123, 226, 0.3);
  box-shadow: var(--shadow-sm);
}

.gradecard + .gradecard {
  margin-top: 14px;
}

.gradecard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.gradecard__level {
  flex: none;
  padding: 3px 12px;
  border-radius: 999px;
  background-color: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.gradecard__level--senior {
  background-color: var(--primary);
  color: #fff;
}

.gradecard__title {
  font-size: 16px;
}

.gradecard__body {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.9;
}

.gradecard__body p + p {
  margin-top: 7px;
}

.gradecard__body strong {
  color: var(--ink);
}

.gradecard__note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   相关内容
   -------------------------------------------------------------------------- */

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  gap: 14px;
}

.related {
  display: block;
  padding: 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.related:hover {
  border-color: rgba(47, 123, 226, 0.45);
  box-shadow: var(--shadow);
  color: var(--ink);
  transform: translateY(-3px);
}

.related__label {
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.related__title {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.6;
}

.related__desc {
  margin-top: 7px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   报名点二维码
   -------------------------------------------------------------------------- */

.qrgroup + .qrgroup {
  margin-top: 30px;
}

.qrgroup__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.qrgroup__title {
  position: relative;
  padding-left: 14px;
  font-size: 16.5px;
}

.qrgroup__title::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 15px;
  margin-top: -7.5px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), #7fb4f2);
  content: "";
}

.qrgroup__count {
  color: var(--text-3);
  font-size: 13px;
}

.qrgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.qrcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper);
  text-align: center;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.qrcard:hover {
  border-color: rgba(47, 123, 226, 0.32);
  box-shadow: var(--shadow-sm);
}

.qrcard__code {
  width: 100%;
  max-width: 152px;
  aspect-ratio: 1 / 1;
}

.qrcard__code svg {
  display: block;
  width: 100%;
  height: 100%;
}

.qrcard__code--error {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.6;
}

/* 报名点编码：紧贴二维码下沿，弱化处理，避免与名称争视觉重点 */
.qrcard__no {
  margin-top: 12px;
  color: var(--text-3);
  font-family: Arial, var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 0.6px;
}

.qrcard__name {
  margin-top: 5px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
  text-wrap: pretty;
}

.qrcard.is-filtered,
.qrgroup.is-filtered {
  display: none;
}

.qr-empty {
  display: none;
  padding: 22px 2px;
  color: var(--text-3);
  font-size: 14.5px;
  text-align: center;
}

.qr-empty.is-visible {
  display: block;
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .hero::after {
    font-size: 220px;
    right: -20px;
    opacity: 0.7;
  }

  .quickbar__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quickbar__item > a {
    border-top: 1px solid var(--line);
  }

  .quickbar__item:nth-child(-n + 2) > a {
    border-top: 0;
  }

  .quickbar__item:nth-child(odd) > a {
    border-left: 0;
  }

  .process__list {
    flex-wrap: wrap;
  }

  .process__item {
    flex: 1 1 33.333%;
  }

  .process__item::before,
  .process__item::after {
    display: none;
  }
}

@media (max-width: 780px) {
  .hero__inner {
    padding: 40px 0 36px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero::after {
    display: none;
  }

  .hero__subtitle {
    font-size: 15px;
  }

  .hero__facts {
    gap: 10px 22px;
  }

  .btn--star {
    background-size: 50px 50px, 56px 56px, 100% 100%;
    background-position: -14px -16px, right -12px bottom -18px, 0 0;
  }

  .countdown {
    padding: 20px;
  }

  .countdown__value {
    font-size: 29px;
  }

  .quickbar__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .quickbar__item > a {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 18px;
  }

  .quickbar__item:first-child > a {
    border-top: 0;
  }

  .process__item {
    flex: 1 1 100%;
    padding: 14px 18px;
  }

  .block__head,
  .block__foot {
    padding: 16px 18px;
  }

  .block__body {
    padding: 18px;
  }

  .newslist {
    padding: 0 18px;
  }

  .newslist__item {
    gap: 14px;
  }

  .newslist__date {
    width: 64px;
  }

  .tabs {
    display: flex;
    width: 100%;
  }

  .tabs__btn {
    flex: 1 1 0;
    padding: 9px 12px;
    font-size: 14.5px;
  }

  .faq__question {
    padding: 16px 42px 16px 18px;
  }

  .faq__answer {
    padding: 0 42px 18px 18px;
  }

  .filterbar select,
  .filterbar input[type="search"] {
    min-width: 0;
    flex: 1 1 100%;
  }

  .qrgrid {
    grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
    gap: 12px;
  }

  .qrcard {
    padding: 14px 10px 13px;
  }
}
