.page-home {
  --home-cut: 26px;
  --home-radius: 22px;
  --home-charcoal: rgba(5, 16, 32, 0.92);
  background: var(--bg-deep);
  color: var(--text-hi);
  overflow-x: hidden;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== 首屏封面 ===== */
.page-home .hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding: clamp(4.5rem, 10vw, 7.5rem) 1.25rem 3.25rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-night) 0%, var(--bg-deep) 52%, #143763 100%);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  filter: saturate(1.15) contrast(1.08);
}

.page-home .hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--home-charcoal) 0%, rgba(11, 30, 58, 0.78) 46%, rgba(11, 30, 58, 0.22) 100%);
}

.page-home .hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-home .hero__eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
  padding: 0.42rem 0.85rem;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.32);
  border-radius: var(--radius-pill);
  margin-bottom: 1.15rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-home .hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 1.07;
  letter-spacing: 0.01em;
  max-width: 9.5em;
  margin: 0 0 1.25rem;
  text-shadow: 0 10px 34px rgba(5, 16, 32, 0.6);
}

.page-home .hero__lead {
  max-width: 36em;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-mid);
  margin: 0 0 1.8rem;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.page-home .hero__index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  max-width: 26rem;
  margin-bottom: 2rem;
}

.page-home .hero__index-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(22, 50, 91, 0.5);
  border: 1px solid var(--line);
  color: var(--text-hi);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-home .hero__index-item:hover,
.page-home .hero__index-item:focus-visible {
  background: rgba(22, 50, 91, 0.95);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.page-home .hero__index-no {
  font-family: var(--font-mono);
  color: var(--neon);
  font-size: 0.8rem;
}

.page-home .hero__stat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 30rem;
  margin: 0;
}

.page-home .hero__stat-item {
  padding: 0.9rem 1rem;
  background: rgba(5, 16, 32, 0.68);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
  backdrop-filter: blur(6px);
}

.page-home .hero__stat-item dd {
  margin: 0;
}

.page-home .hero__stat-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--text-mid);
}

@media (min-width: 768px) {
  .page-home .hero__actions {
    margin-bottom: 3rem;
  }

  .page-home .hero__index {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 44rem;
    margin-bottom: 2.6rem;
  }

  .page-home .hero__stat {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 34rem;
  }
}

@media (min-width: 1024px) {
  .page-home .hero__inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== 小节公共 ===== */
.page-home .section {
  position: relative;
  padding: 3.6rem 1.25rem;
}

@media (min-width: 768px) {
  .page-home .section {
    padding: 5rem 2rem;
  }
}

.page-home .section-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2.2rem;
  position: relative;
  z-index: 2;
}

.page-home .section-no {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  background: rgba(255, 107, 0, 0.14);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-md);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  flex: none;
}

.page-home .section-head__text h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.page-home .section-head__text p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 42em;
}

.page-home .section-note {
  margin: 1.4rem 0 0;
  color: var(--text-low);
  font-size: 0.84rem;
  line-height: 1.6;
  border-left: 3px solid var(--line);
  padding-left: 0.9rem;
}

/* 章节之间的斜切色带 */
.page-home .compare::before,
.page-home .rating::before,
.page-home .league::before,
.page-home .fav::before,
.page-home .picks::before,
.page-home .history::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  clip-path: polygon(0 0, 100% 0, 100% 2px, 0 4px);
  z-index: 1;
}

.page-home .compare::before {
  background: linear-gradient(90deg, var(--accent) 0%, rgba(255, 107, 0, 0.3) 60%, transparent 100%);
}

.page-home .rating::before {
  background: linear-gradient(90deg, var(--neon) 0%, rgba(57, 255, 20, 0.3) 60%, transparent 100%);
}

.page-home .league::before {
  background: linear-gradient(90deg, var(--accent-soft) 0%, rgba(255, 178, 76, 0.3) 60%, transparent 100%);
}

.page-home .fav::before {
  background: linear-gradient(90deg, var(--neon) 0%, rgba(57, 255, 20, 0.24) 60%, transparent 100%);
}

.page-home .picks::before {
  background: linear-gradient(90deg, var(--accent) 0%, rgba(255, 107, 0, 0.28) 60%, transparent 100%);
}

.page-home .history::before {
  background: linear-gradient(90deg, var(--accent-soft) 0%, rgba(255, 178, 76, 0.28) 60%, transparent 100%);
}

/* ===== 01 赛事数据对照 ===== */
.page-home .compare__chart {
  position: relative;
  margin-bottom: 1.6rem;
  background: var(--bg-panel);
  border-radius: var(--home-radius);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, var(--home-cut) 100%, 0 calc(100% - var(--home-cut)));
}

.page-home .compare__chart-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.page-home .compare__svg {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  background: linear-gradient(180deg, rgba(5, 16, 32, 0.2) 0%, rgba(5, 16, 32, 0.55) 100%);
}

.page-home .compare__gridline {
  stroke: rgba(139, 156, 184, 0.32);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.page-home .compare__line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.page-home .compare__line--home {
  stroke: var(--accent);
  stroke-dasharray: 12 10;
  animation: home-flowline 5s linear infinite;
}

.page-home .compare__line--away {
  stroke: var(--neon);
  stroke-dasharray: 12 10;
  animation: home-flowline 6s linear infinite reverse;
}

@keyframes home-flowline {
  from { stroke-dashoffset: 44; }
  to { stroke-dashoffset: 0; }
}

.page-home .compare__dot {
  stroke: var(--bg-deep);
  stroke-width: 2;
}

.page-home .compare__dot--home {
  fill: var(--accent);
}

.page-home .compare__dot--away {
  fill: var(--neon);
}

.page-home .compare__legend {
  position: absolute;
  left: 1.1rem;
  bottom: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  padding: 0.45rem 0.8rem;
  background: rgba(5, 16, 32, 0.78);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-hi);
  backdrop-filter: blur(6px);
}

.page-home .compare__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.page-home .legend-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
}

.page-home .legend-dot--home {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.6);
}

.page-home .legend-dot--away {
  background: var(--neon);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.55);
}

.page-home .compare__legend-tip {
  color: var(--text-low);
  font-size: 0.74rem;
}

.page-home .compare__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .page-home .compare__cards {
    grid-template-columns: 1fr 1fr;
  }
}

.page-home .stat-card {
  padding: 1.4rem 1.5rem 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--bg-panel) 0%, rgba(11, 30, 58, 0.94) 100%);
  border: 1px solid var(--line);
  position: relative;
  box-shadow: var(--shadow-float);
}

.page-home .stat-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 54px;
  height: 54px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.page-home .stat-card--away {
  border-top: 3px solid var(--neon);
}

.page-home .stat-card--home {
  border-top: 3px solid var(--accent);
}

.page-home .stat-card__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.page-home .stat-card__tag {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-mid);
  background: rgba(139, 156, 184, 0.16);
  border-radius: var(--radius-pill);
  padding: 0.18rem 0.5rem;
  letter-spacing: 0.06em;
}

.page-home .stat-card__list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.2rem;
}

.page-home .stat-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed rgba(139, 156, 184, 0.2);
}

.page-home .stat-card__row dt {
  color: var(--text-mid);
  font-size: 0.86rem;
}

.page-home .stat-card__row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--text-hi);
}

/* ===== 02 评分数据版块 ===== */
.page-home .rating__board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

@media (min-width: 960px) {
  .page-home .rating__board {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
}

.page-home .rating__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .page-home .rating__list {
    grid-template-columns: 1fr 1fr;
  }
}

.page-home .rating-card {
  background: linear-gradient(160deg, var(--bg-panel) 0%, rgba(5, 16, 32, 0.9) 100%);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.2rem 1.1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .rating-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 0, 0.55);
  box-shadow: 0 22px 44px rgba(5, 16, 32, 0.65);
}

.page-home .rating-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.page-home .rating-card__league {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  padding: 0.26rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(57, 255, 20, 0.1);
  color: var(--neon);
  border: 1px solid rgba(57, 255, 20, 0.3);
}

.page-home .rating-card__team {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.55rem;
  letter-spacing: 0.02em;
}

.page-home .rating-card__score {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}

.page-home .rating-card__trend {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon);
}

.page-home .rating-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  font-size: 0.82rem;
  color: var(--text-mid);
}

.page-home .rating-card__meta b {
  color: var(--text-hi);
  font-family: var(--font-mono);
  font-weight: 600;
}

.page-home .rating__ambient {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  clip-path: polygon(18% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 18%);
  margin-top: 1rem;
}

@media (min-width: 960px) {
  .page-home .rating__ambient {
    margin-top: 0;
  }
}

/* ===== 03 多联赛切换状态记忆 ===== */
.page-home .league__demo {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .page-home .league__demo {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.page-home .league__panel {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, 0 100%);
  padding: 1.4rem 1.2rem 1.2rem;
  border: 1px solid var(--line);
}

.page-home .league__switchbar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.page-home .league__switch {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(5, 16, 32, 0.55);
  color: var(--text-mid);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .league__switch:hover {
  border-color: var(--accent-soft);
  color: var(--text-hi);
}

.page-home .league__switch.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-night);
  font-weight: 600;
}

.page-home .league__table {
  border-top: 1px solid var(--line);
}

.page-home .league__row {
  display: grid;
  grid-template-columns: 0.6fr 2fr 0.8fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px dashed rgba(139, 156, 184, 0.24);
  font-size: 0.93rem;
}

.page-home .league__row--head {
  background: rgba(5, 16, 32, 0.5);
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--text-low);
  letter-spacing: 0.08em;
}

.page-home .league__row--head span:last-child {
  text-align: right;
}

.page-home .league__row span:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 600;
}

.page-home .league__side {
  background: linear-gradient(150deg, rgba(255, 107, 0, 0.94) 0%, rgba(255, 178, 76, 0.9) 100%);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem;
  color: var(--bg-night);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  box-shadow: 0 18px 38px rgba(5, 16, 32, 0.35);
}

.page-home .league__side .status-badge {
  background: rgba(5, 16, 32, 0.18);
  color: var(--bg-night);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.8rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.page-home .league__side-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1.35rem;
}

.page-home .league__side-num {
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 700;
  margin: 0;
  color: var(--bg-night);
  font-family: var(--font-display);
}

.page-home .league__side-cap {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  opacity: 0.76;
}

/* ===== 04 关注列表即时同步 ===== */
.page-home .fav__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

@media (min-width: 800px) {
  .page-home .fav__layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.page-home .fav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.page-home .fav__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  background: rgba(22, 50, 91, 0.55);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--neon);
}

.page-home .fav__item a {
  margin-left: auto;
  flex: none;
}

.page-home .fav__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  min-width: 3em;
}

.page-home .fav__league {
  color: var(--text-mid);
  font-size: 0.84rem;
}

.page-home .fav__counter {
  position: relative;
  padding: 1.6rem 1.4rem;
  background: linear-gradient(145deg, rgba(57, 255, 20, 0.12), rgba(5, 16, 32, 0.25));
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .fav__counter::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.18) 0%, transparent 72%);
}

.page-home .fav__counter-label {
  margin: 0 0 0.4rem;
  font-size: 0.84rem;
  color: var(--text-mid);
  letter-spacing: 0.08em;
}

.page-home .fav__counter-num {
  margin: 0 0 0.8rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.page-home .fav__counter-num .stat-value {
  font-size: 3rem;
}

.page-home .fav__counter-unit {
  font-size: 1rem;
  color: var(--text-hi);
}

.page-home .fav__counter-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ===== 05 周末赛事连看推荐 ===== */
.page-home .picks__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

@media (min-width: 760px) {
  .page-home .picks__grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.page-home .pick-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  background: linear-gradient(150deg, var(--bg-panel) 0%, rgba(5, 16, 32, 0.88) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.page-home .pick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 0, 0.5);
}

.page-home .pick-card__img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  display: block;
}

.page-home .pick-card__body {
  padding: 1rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
}

.page-home .pick-card__time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--accent-soft);
  margin-bottom: 0.4rem;
}

.page-home .pick-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.7rem;
}

.page-home .pick-card__timeline {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: grid;
  gap: 0.38rem;
}

.page-home .pick-card__timeline li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.page-home .pick-card__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.8);
  flex: none;
}

.page-home .pick-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 480px) {
  .page-home .pick-card {
    grid-template-columns: 86px 1fr;
  }

  .page-home .pick-card__img {
    min-height: 130px;
  }

  .page-home .pick-card__timeline li {
    font-size: 0.78rem;
  }
}

/* ===== 06 季度比赛记录回溯 ===== */
.page-home .history__timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

@media (min-width: 640px) {
  .page-home .history__timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .page-home .history__timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .history__period {
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.2rem 1.1rem;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  border-top: 3px solid var(--accent-soft);
  transition: background 0.2s ease, transform 0.2s ease;
}

.page-home .history__period:hover {
  background: rgba(22, 50, 91, 0.86);
  transform: translateY(-3px);
}

.page-home .history__year {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.3rem;
  color: var(--text-hi);
  letter-spacing: 0.02em;
}

.page-home .history__range {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}

.page-home .history__count {
  display: block;
  font-size: 0.86rem;
  color: var(--neon);
  margin-bottom: 1rem;
}

.page-home .history__note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 16, 32, 0.6);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.page-home .history__note p {
  margin: 0;
}

.page-home .history__note a {
  color: var(--accent-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 178, 76, 0.4);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .history__note a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ===== 滚动显现辅助 ===== */
.page-home [data-reveal] {
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.page-home [data-reveal="left"] {
  transform: translateX(-24px);
}

.page-home [data-reveal="right"] {
  transform: translateX(24px);
}

.page-home [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.page-home [data-reveal]:not(.is-visible) {
  opacity: 0;
}
