/* ================= page-home ================= */
.page-home {
  display: block;
  background: var(--ink);
  color: var(--white);
  overflow-x: clip;
}

/* ---------- 开场：左右分屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding-block: 30px 48px;
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -22%;
  left: -12%;
  right: -12%;
  height: 78%;
  background:
    radial-gradient(58% 78% at 78% 18%, rgba(255, 58, 46, 0.16), transparent 70%),
    radial-gradient(52% 70% at 10% 8%, rgba(47, 224, 208, 0.10), transparent 72%);
  pointer-events: none;
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding-block: 18px 6px;
}

.page-home .home-context {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--dim-2);
}

.page-home .home-context__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: home-pulse 2.4s var(--ease) infinite;
}

@keyframes home-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(47, 224, 208, 0.55); }
  70%  { box-shadow: 0 0 0 11px rgba(47, 224, 208, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 224, 208, 0); }
}

.page-home .home-hero__title {
  margin: 8px 0 20px;
  font-size: clamp(36px, 8vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.page-home .home-hero__accent {
  font-style: normal;
  color: var(--red);
}

.page-home .home-hero__lead {
  max-width: 60ch;
  margin: 0;
  color: var(--dim);
}

.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--dim-2);
}

.page-home .home-hero__num {
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
}

.page-home .home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* 右栏视觉 */
.page-home .home-hero__visual {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(92% 62% at 82% 8%, rgba(47, 224, 208, 0.16), transparent 70%),
    linear-gradient(180deg, var(--teal-ink), var(--ink-2));
  overflow: hidden;
}

.page-home .home-hero__visual::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -34%;
  width: 72%;
  height: 120%;
  background: linear-gradient(116deg,
    transparent 44%,
    rgba(255, 58, 46, 0.20) 45%,
    rgba(255, 58, 46, 0.20) 50%,
    transparent 51%);
  pointer-events: none;
}

.page-home .home-signal {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-hero__media {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 12/14;
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  z-index: 2;
  width: 100%;
  height: auto;
  opacity: 0.72;
  pointer-events: none;
}

.page-home .home-wave path:first-child {
  stroke-dasharray: 6 6;
  animation: home-wave-shift 3s linear infinite;
}

@keyframes home-wave-shift {
  to { stroke-dashoffset: -24; }
}

/* ---------- 更新公告信号带 ---------- */
.page-home .home-band {
  position: relative;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}

.page-home .home-band__head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  padding-block: 34px 20px;
}

.page-home .home-band__head .oa-h2 {
  margin-bottom: 0;
}

.page-home .home-ticker {
  overflow: hidden;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg,
    rgba(255, 58, 46, 0.10),
    transparent 26%,
    transparent 74%,
    rgba(47, 224, 208, 0.10));
}

.page-home .home-ticker__track {
  display: flex;
  width: max-content;
  animation: home-marquee 40s linear infinite;
}

.page-home .home-ticker:hover .home-ticker__track,
.page-home .home-ticker:focus-within .home-ticker__track {
  animation-play-state: paused;
}

@keyframes home-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.page-home .home-ticker__group {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-ticker__item {
  border-right: 1px dashed var(--line);
}

.page-home .home-ticker__link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 24px;
  text-decoration: none;
  color: var(--white);
  white-space: nowrap;
  transition: background-color 220ms var(--ease);
}

.page-home .home-ticker__link:hover,
.page-home .home-ticker__link:focus-visible {
  background: rgba(255, 58, 46, 0.10);
}

.page-home .home-ticker__ver {
  color: var(--amber);
  font-weight: 700;
}

.page-home .home-ticker__text {
  font-size: 15px;
}

.page-home .home-ticker__time {
  font-size: 12px;
  font-family: var(--font-mono);
}

.page-home .home-band__media {
  margin: 26px 0 34px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-home .home-band__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 四条路径 ---------- */
.page-home .home-path__lead {
  max-width: 56ch;
  margin-bottom: 0;
}

.page-home .home-path__filter {
  margin-block: 24px 26px;
}

.page-home .home-path__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-path__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 20px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-2);
  overflow: hidden;
}

.page-home .home-path__item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 24px;
  bottom: 24px;
  width: 3px;
  border-radius: 999px;
  background: var(--gray);
}

.page-home .home-path__item[data-tags~="notice"]::before   { background: var(--red); }
.page-home .home-path__item[data-tags~="login"]::before    { background: var(--cyan); }
.page-home .home-path__item[data-tags~="favorite"]::before { background: var(--amber); }
.page-home .home-path__item[data-tags~="resign"]::before   { background: var(--brick); }

.page-home .home-path__item > .oa-tag {
  align-self: flex-start;
}

.page-home .home-path__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .home-path__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dim);
}

.page-home .home-path__media {
  margin: 4px 0 2px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3/2;
}

.page-home .home-path__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-path__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: auto;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.page-home .home-path__link:hover,
.page-home .home-path__link:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ---------- 终端速览 ---------- */
.page-home .home-terminal__head {
  max-width: 62ch;
}

.page-home .home-terminal__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-terminal__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--teal-ink);
  overflow: hidden;
}

.page-home .home-terminal__item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  background: linear-gradient(118deg, transparent 62%, rgba(255, 180, 60, 0.10) 63%, transparent 76%);
  pointer-events: none;
}

.page-home .home-terminal__idx {
  color: var(--amber);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.page-home .home-terminal__name {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .home-terminal__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--dim);
}

.page-home .home-terminal__fit {
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--cyan);
}

/* ---------- 日常短路径（奶油纸面板） ---------- */
.page-home .home-daily__panel {
  color: var(--ink-2);
}

.page-home .home-daily__kicker {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--brick);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.page-home .home-daily__title {
  margin: 0;
  color: var(--ink-2);
  max-width: 24ch;
}

.page-home .home-daily__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-daily__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num text";
  gap: 4px 14px;
  padding: 16px 18px;
  border: 1px solid rgba(23, 17, 14, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.42);
}

.page-home .home-daily__num {
  grid-area: num;
  align-self: start;
  color: var(--brick);
  font-size: 13px;
  font-weight: 700;
}

.page-home .home-daily__step-title {
  grid-area: title;
  font-size: 16px;
  font-weight: 700;
}

.page-home .home-daily__step-text {
  grid-area: text;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(23, 17, 14, 0.76);
}

.page-home .home-daily__note {
  margin-top: 26px;
  padding: 20px 20px 22px;
  border-left: 3px solid var(--brick);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(23, 17, 14, 0.06);
}

.page-home .home-daily__note-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-2);
}

.page-home .home-daily__note p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(23, 17, 14, 0.82);
}

/* ---------- 辽宁与在场 ---------- */
.page-home .home-liaoning__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.page-home .home-liaoning__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .home-liaoning__media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-liaoning__text {
  margin: 0;
  color: var(--dim);
  max-width: 58ch;
}

.page-home .home-liaoning__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin: 24px 0 22px;
  padding: 0;
}

.page-home .home-liaoning__stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-home .home-liaoning__stat dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--dim-2);
}

.page-home .home-liaoning__stat dd {
  margin: 0;
  font-size: 15px;
  color: var(--white);
}

.page-home .home-liaoning__num {
  font-size: 22px;
  font-weight: 700;
  color: var(--amber);
}

/* ---------- 联系带 ---------- */
.page-home .home-contact {
  position: relative;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 58, 46, 0.14), transparent 42%),
    linear-gradient(300deg, rgba(47, 224, 208, 0.12), transparent 46%),
    var(--ink-2);
}

.page-home .home-contact__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding-block: 44px 46px;
}

.page-home .home-contact__title {
  margin: 0 0 8px;
}

.page-home .home-contact__text {
  margin: 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--dim);
}

.page-home .home-contact__ways {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-home .home-contact__item {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--white);
  background: rgba(10, 12, 16, 0.5);
  white-space: nowrap;
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .home-path__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-terminal__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-daily__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    gap: 52px;
    align-items: center;
    padding-block: 34px 12px;
  }

  .page-home .home-liaoning__grid {
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    gap: 44px;
  }

  .page-home .home-terminal__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .page-home .home-hero {
    padding-block: 44px 62px;
  }
}

@media (max-width: 560px) {
  .page-home .home-ticker__link {
    padding-inline: 16px;
  }

  .page-home .home-path__item {
    padding: 20px 18px 18px 40px;
  }

  .page-home .home-path__item::before {
    left: 16px;
  }

  .page-home .home-contact__item {
    white-space: normal;
    word-break: break-all;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-ticker__track,
  .page-home .home-wave path:first-child,
  .page-home .home-context__dot {
    animation: none !important;
  }
}
