.page-home {
  --home-glass: rgba(242, 239, 245, .055);
  --home-hair: rgba(242, 239, 245, .12);
  --home-hair-soft: rgba(242, 239, 245, .07);
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--bone);
}

.page-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--home-hair-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--home-hair-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .85;
}

.page-home .home-context {
  position: relative;
  z-index: 1;
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--mist);
}

.page-home .home-context__hint {
  color: var(--cyan);
  letter-spacing: .04em;
}

/* ---------- 00 状态刻度与主题声明 ---------- */

.page-home .home-deck {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(130% 130% at 88% -10%, rgba(200, 16, 46, .30) 0%, rgba(200, 16, 46, 0) 58%),
    linear-gradient(180deg, var(--ink) 0%, #100A12 100%);
  border-bottom: 1px solid var(--home-hair);
}

.page-home .home-deck .state-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 14px;
  border: 1px solid var(--home-hair);
  border-radius: 2px;
  background: var(--home-glass);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mist);
}

.page-home .home-deck .state-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: homePulse 2.4s ease-in-out infinite;
}

.page-home .home-deck .state-text {
  color: var(--cyan);
}

.page-home .home-deck .state-sep {
  color: rgba(242, 239, 245, .26);
}

@keyframes homePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(75, 240, 214, .45); opacity: 1; }
  50% { box-shadow: 0 0 0 7px rgba(75, 240, 214, 0); opacity: .7; }
}

.page-home .home-deck__grid {
  display: grid;
  gap: 32px;
  margin-top: clamp(26px, 4vw, 46px);
  align-items: end;
}

@media (min-width: 960px) {
  .page-home .home-deck__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 56px;
  }
}

.page-home .home-deck__lead h1 {
  margin: 12px 0 20px;
  max-width: 16ch;
}

.page-home .home-deck__lead .lede {
  max-width: 44ch;
  color: rgba(242, 239, 245, .82);
}

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

.page-home .home-deck__figure {
  margin: 0;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--home-glass);
}

.page-home .home-deck__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .home-deck__figure figcaption {
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
  border-top: 1px solid var(--home-hair-soft);
}

.page-home .home-deck__note {
  position: absolute;
  top: 120px;
  right: 16px;
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  color: rgba(242, 239, 245, .3);
}

@media (min-width: 1440px) {
  .page-home .home-deck__note { display: block; }
}

/* ---------- 01 近三周更新摘要 ---------- */

.page-home .home-dispatch {
  position: relative;
  z-index: 1;
  padding: clamp(44px, 6vw, 80px) 0;
  background: linear-gradient(180deg, var(--midnight) 0%, #0A1330 100%);
  border-bottom: 1px solid var(--home-hair);
}

.page-home .home-dispatch__head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(26px, 4vw, 42px);
}

@media (min-width: 960px) {
  .page-home .home-dispatch__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px;
  }
}

.page-home .home-dispatch__intro h2 {
  margin: 12px 0 14px;
}

.page-home .home-dispatch__intro .lede {
  max-width: 50ch;
  color: rgba(242, 239, 245, .8);
}

.page-home .home-dispatch .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-home .home-dispatch__status {
  margin: 0 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-home .home-dispatch__body {
  display: grid;
  gap: 36px;
}

@media (min-width: 1040px) {
  .page-home .home-dispatch__body {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
}

.page-home .home-log {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--home-hair);
}

.page-home .home-log__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "date badge"
    "tag tag"
    "title title";
  gap: 6px 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--home-hair-soft);
  transition: background-color .18s ease;
}

.page-home .home-log__item:hover {
  background-color: rgba(75, 240, 214, .045);
}

.page-home .home-log__item.is-filtered-out {
  display: none;
}

.page-home .home-log__date {
  grid-area: date;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
}

.page-home .home-log__tag {
  grid-area: tag;
  justify-self: start;
  padding: 2px 7px;
  border: 1px solid var(--home-hair);
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--mist);
  white-space: nowrap;
}

.page-home .home-log__badge {
  grid-area: badge;
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--cyan);
}

.page-home .home-log__badge::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.page-home .home-log__title {
  grid-area: title;
  margin-top: 2px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

.page-home .home-log__title:hover,
.page-home .home-log__title:focus-visible {
  color: var(--cyan);
  border-bottom-color: rgba(75, 240, 214, .5);
}

@media (min-width: 760px) {
  .page-home .home-log__item {
    grid-template-columns: 58px 104px minmax(0, 1fr) auto;
    grid-template-areas: "date tag title badge";
    align-items: baseline;
    gap: 0 18px;
    padding: 18px 8px;
  }

  .page-home .home-log__title {
    margin-top: 0;
  }

  .page-home .home-log__tag {
    justify-self: start;
    padding: 2px 8px;
  }
}

.page-home .home-dispatch__figure {
  margin: 0;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--home-glass);
}

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

.page-home .home-dispatch__figure figcaption {
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
  border-top: 1px solid var(--home-hair-soft);
}

/* ---------- 02 时间轴 × 签表树 ---------- */

.page-home .home-dual {
  position: relative;
  z-index: 1;
  padding: clamp(44px, 6vw, 80px) 0;
  background: linear-gradient(180deg, var(--indigo) 0%, #170F35 100%);
  border-bottom: 1px solid var(--home-hair);
}

.page-home .home-dual__intro h2 {
  margin: 12px 0 14px;
  max-width: 22ch;
}

.page-home .home-dual__intro .lede {
  max-width: 54ch;
  color: rgba(242, 239, 245, .8);
}

.page-home .home-dual__figure {
  margin: clamp(26px, 4vw, 44px) 0 clamp(32px, 5vw, 52px);
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-dual__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-home .home-dual__cols {
  display: grid;
  gap: 44px;
}

@media (min-width: 900px) {
  .page-home .home-dual__cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }
}

.page-home .home-sub {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .home-timeline__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  border-left: 1px solid var(--home-hair);
}

.page-home .home-timeline__node {
  position: relative;
  padding: 0 0 26px 20px;
}

.page-home .home-timeline__node:last-child {
  padding-bottom: 0;
}

.page-home .home-timeline__dot {
  position: absolute;
  left: -27px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, .15);
  transition: background-color .2s ease, box-shadow .2s ease;
}

.page-home .home-timeline__node:hover .home-timeline__dot,
.page-home .home-timeline__node:focus-within .home-timeline__dot {
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(75, 240, 214, .16);
}

.page-home .home-timeline__stage {
  display: inline-block;
  margin-right: 10px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--cyan);
}

.page-home .home-timeline__name {
  font-size: 17px;
  font-weight: 600;
  color: var(--bone);
}

.page-home .home-timeline__note {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
  transition: color .2s ease;
}

.page-home .home-timeline__node:hover .home-timeline__note {
  color: rgba(242, 239, 245, .9);
}

.page-home .home-bracket__hint {
  margin: -8px 0 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .home-bracket__svg {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  padding: 12px;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  background: rgba(11, 10, 13, .5);
}

.page-home .bracket-lines path {
  fill: none;
  stroke: rgba(242, 239, 245, .22);
  stroke-width: 1;
}

.page-home .bracket-node circle {
  fill: var(--ink);
  stroke: var(--cyan);
  stroke-width: 1.5;
}

.page-home .bracket-node--final circle {
  fill: var(--red);
  stroke: var(--red-bright);
}

.page-home .bracket-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  fill: var(--mist);
}

/* ---------- 03 词典瀑布流与赔率小票 ---------- */

.page-home .home-lex {
  position: relative;
  z-index: 1;
  padding: clamp(44px, 6vw, 80px) 0;
  background: linear-gradient(180deg, var(--teal) 0%, #041E1C 100%);
  border-bottom: 1px solid var(--home-hair);
}

.page-home .home-lex__intro h2 {
  margin: 12px 0 14px;
}

.page-home .home-lex__intro .lede {
  max-width: 58ch;
  color: rgba(242, 239, 245, .82);
}

.page-home .home-lex__flow {
  margin-top: clamp(26px, 4vw, 44px);
  column-count: 1;
  column-gap: 22px;
}

@media (min-width: 720px) {
  .page-home .home-lex__flow { column-count: 2; }
}

@media (min-width: 1100px) {
  .page-home .home-lex__flow { column-count: 3; }
}

.page-home .home-lex__flow > * {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 22px;
}

.page-home .home-lex__card {
  padding: 20px;
  border: 1px solid var(--home-hair);
  border-left: 2px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--home-glass);
}

.page-home .home-lex__index {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--red-bright);
}

.page-home .home-lex__term {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -.01em;
  color: var(--bone);
}

.page-home .home-lex__def {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(242, 239, 245, .8);
}

.page-home .home-lex__scene {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--home-hair);
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .home-lex__ticket {
  padding: 20px 20px 30px;
  background: linear-gradient(160deg, #101B44 0%, #0A1330 100%);
  border: 1px solid var(--line-strong);
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 9px),
    96% 100%, 92% calc(100% - 9px), 88% 100%, 84% calc(100% - 9px),
    80% 100%, 76% calc(100% - 9px), 72% 100%, 68% calc(100% - 9px),
    64% 100%, 60% calc(100% - 9px), 56% 100%, 52% calc(100% - 9px),
    48% 100%, 44% calc(100% - 9px), 40% 100%, 36% calc(100% - 9px),
    32% 100%, 28% calc(100% - 9px), 24% 100%, 20% calc(100% - 9px),
    16% 100%, 12% calc(100% - 9px), 8% 100%, 4% calc(100% - 9px), 0 100%
  );
}

.page-home .home-lex__ticket .home-lex__index {
  color: var(--amber);
}

.page-home .home-lex__ticket .ticket-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(242, 239, 245, .16);
  font-size: 14px;
  color: rgba(242, 239, 245, .86);
}

.page-home .home-lex__ticket .ticket-row:last-of-type {
  border-bottom: 0;
}

.page-home .home-lex__ticket .odds {
  font-size: 22px;
  letter-spacing: .01em;
  color: var(--amber);
}

.page-home .home-lex__ticket-note {
  margin: 14px 0 18px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .home-lex__ticket-btn {
  display: block;
  width: 100%;
  text-align: center;
}

.page-home .home-lex__figure {
  margin: 0 0 22px;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.page-home .home-lex__figure figcaption {
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
  border-top: 1px solid var(--home-hair-soft);
}

/* ---------- 04 模块目录 ---------- */

.page-home .home-dir {
  position: relative;
  z-index: 1;
  padding: clamp(44px, 6vw, 80px) 0;
  background: var(--ink);
  border-bottom: 1px solid var(--home-hair);
}

.page-home .home-dir__intro h2 {
  margin: 12px 0 0;
}

.page-home .home-dir__layers {
  margin-top: clamp(26px, 4vw, 44px);
  border-top: 1px solid var(--home-hair);
}

.page-home .home-dir__item {
  display: grid;
  gap: 8px 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--home-hair-soft);
  transition: background-color .18s ease;
}

.page-home .home-dir__item:hover {
  background-color: rgba(242, 239, 245, .03);
}

@media (min-width: 820px) {
  .page-home .home-dir__item {
    grid-template-columns: 56px minmax(0, 240px) minmax(0, 1fr);
    align-items: baseline;
  }
}

.page-home .home-dir__index {
  margin: 0;
  font-size: 20px;
  letter-spacing: .04em;
  color: var(--red-bright);
}

.page-home .home-dir__item h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}

.page-home .home-dir__item h3 a {
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 239, 245, .22);
  transition: color .18s ease, border-color .18s ease;
}

.page-home .home-dir__item h3 a:hover,
.page-home .home-dir__item h3 a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-home .home-dir__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 05 联系条 ---------- */

.page-home .home-contactline {
  position: relative;
  z-index: 1;
  padding: clamp(44px, 6vw, 80px) 0 clamp(52px, 7vw, 96px);
  background: linear-gradient(180deg, var(--red-glass) 0%, #180609 100%);
}

.page-home .home-contactline__inner {
  display: grid;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  background: var(--home-glass);
}

@media (min-width: 900px) {
  .page-home .home-contactline__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: center;
    padding: 40px 48px;
  }
}

.page-home .home-contactline__text h2 {
  margin: 12px 0 14px;
}

.page-home .home-contactline__text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(242, 239, 245, .78);
}

.page-home .home-contactline__list {
  margin: 0;
}

.page-home .home-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.page-home .home-copy__link {
  font-size: 14px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(75, 240, 214, .4);
}

.page-home .home-copy__link:hover {
  border-bottom-color: var(--cyan);
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
