.page-home {
  --home-card-w: clamp(264px, 76vw, 336px);
  --home-hair: rgba(138, 148, 166, .22);
  display: block;
  width: 100%;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 5vw, 56px) 0 clamp(36px, 6vw, 76px);
  border-bottom: 1px solid var(--bb-line);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .32;
}

.page-home .home-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 224, 214, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 224, 214, .09) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(72% 58% at 8% 14%, rgba(7, 11, 20, .22), rgba(7, 11, 20, .95) 72%),
    linear-gradient(180deg, rgba(7, 11, 20, .74) 0%, var(--bb-ink) 94%);
}

.page-home .home-hero__crumb {
  margin-bottom: clamp(18px, 3vw, 30px);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.page-home .home-hero__eyebrow {
  margin: 0 0 14px;
}

.page-home .home-hero__title {
  margin: 0 0 18px;
  max-width: 14ch;
}

.page-home .home-hero__lead {
  max-width: 56ch;
  margin: 0 0 28px;
}

/* 四类入口 */
.page-home .home-entries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-home .home-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 14px 13px 17px;
  border: 1px solid var(--home-hair);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(20, 30, 54, .88), rgba(14, 21, 38, .72));
  text-decoration: none;
  overflow: hidden;
  transition: transform .38s var(--bb-ease), border-color .38s var(--bb-ease), background .38s var(--bb-ease);
}

.page-home .home-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--bb-cyan);
}

.page-home .home-entry--orange::before { background: var(--bb-orange); }
.page-home .home-entry--violet::before { background: linear-gradient(180deg, var(--bb-violet), var(--bb-magenta)); }
.page-home .home-entry--steel::before { background: var(--bb-steel); }

.page-home .home-entry:hover,
.page-home .home-entry:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(34, 224, 214, .42);
  background: linear-gradient(150deg, rgba(20, 30, 54, .98), rgba(14, 21, 38, .88));
}

.page-home .home-entry__key {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--bb-cyan);
}

.page-home .home-entry--orange .home-entry__key { color: var(--bb-orange); }
.page-home .home-entry--violet .home-entry__key { color: var(--bb-violet); }
.page-home .home-entry--steel .home-entry__key { color: var(--bb-steel); }

.page-home .home-entry__name {
  font-family: var(--bb-font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--bb-text);
}

.page-home .home-entry__hint {
  font-size: 12px;
  line-height: 1.45;
  color: var(--bb-text-2);
}

/* 数据脉冲面板 */
.page-home .home-pulse {
  position: relative;
  padding: 18px;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius-lg);
  background: linear-gradient(165deg, rgba(20, 30, 54, .94), rgba(14, 21, 38, .97));
  box-shadow: 0 26px 54px -34px rgba(0, 0, 0, .92);
  overflow: hidden;
}

.page-home .home-pulse::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bb-cyan), var(--bb-violet), var(--bb-magenta));
  opacity: .85;
}

.page-home .home-pulse__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bb-line);
}

.page-home .home-pulse__clock {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--bb-cyan);
}

.page-home .home-pulse__wave {
  display: block;
  width: 100%;
  height: 58px;
  margin: 14px 0 6px;
}

.page-home .home-pulse__ghost,
.page-home .home-pulse__line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .home-pulse__ghost {
  stroke: rgba(34, 224, 214, .18);
}

.page-home .home-pulse__line {
  stroke: var(--bb-cyan);
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  filter: drop-shadow(0 0 6px rgba(34, 224, 214, .5));
  animation: home-trace 3s var(--bb-ease) infinite;
}

@keyframes home-trace {
  0% { stroke-dashoffset: 600; opacity: 1; }
  68% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.page-home .home-pulse__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.page-home .home-pulse__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(138, 148, 166, .18);
  font-size: 13px;
  color: var(--bb-text-2);
}

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

.page-home .home-pulse__v {
  font-size: 18px;
  color: var(--bb-cyan);
  white-space: nowrap;
}

/* ---------- 转会动态横向主题带 ---------- */
.page-home .home-band__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.page-home .home-band__lead {
  flex: 1 1 300px;
  min-width: 0;
}

.page-home .home-band__title {
  margin: 10px 0 0;
}

.page-home .home-rail {
  display: flex;
  gap: 14px;
  padding: 4px 2px 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-left: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-home .home-rail::-webkit-scrollbar {
  height: 6px;
}

.page-home .home-rail::-webkit-scrollbar-thumb {
  background: rgba(138, 148, 166, .3);
  border-radius: 999px;
}

.page-home .home-card {
  flex: 0 0 auto;
  width: var(--home-card-w);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--home-hair);
  border-radius: var(--bb-radius);
  background: linear-gradient(160deg, rgba(20, 30, 54, .9), rgba(14, 21, 38, .95));
  transition: transform .42s var(--bb-ease), border-color .42s var(--bb-ease);
}

.page-home .home-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 26, .5);
}

.page-home .home-card--feature {
  width: min(84vw, 400px);
}

.page-home .home-card__media {
  margin: -16px -16px 4px;
  border-radius: var(--bb-radius) var(--bb-radius) 0 0;
  overflow: hidden;
}

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

.page-home .home-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .home-card__time {
  font-size: 12px;
  color: var(--bb-text-2);
  white-space: nowrap;
}

.page-home .home-card__title {
  margin: 0;
  font-family: var(--bb-font-head);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.36;
  letter-spacing: .01em;
  color: var(--bb-text);
}

.page-home .home-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: var(--bb-text-2);
}

.page-home .home-card__foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(138, 148, 166, .2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--bb-steel);
}

/* ---------- 连续观赛 ---------- */
.page-home .home-watch__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.page-home .home-watch__title {
  margin: 10px 0 16px;
}

.page-home .home-watch__lead {
  max-width: 58ch;
  margin: 0;
}

.page-home .home-watch__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--home-hair);
  border: 1px solid var(--home-hair);
  border-radius: var(--bb-radius);
  overflow: hidden;
}

.page-home .home-watch__item {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bb-panel);
}

.page-home .home-watch__num {
  font-size: 17px;
  color: var(--bb-cyan);
  white-space: nowrap;
}

.page-home .home-watch__text {
  font-size: 14px;
  line-height: 1.62;
  color: var(--bb-text-2);
}

.page-home .home-watch__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--home-hair);
  border-radius: var(--bb-radius-lg);
  box-shadow: 0 34px 64px -46px rgba(0, 0, 0, .95);
}

.page-home .home-watch__caption {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--bb-steel);
  text-align: center;
}

/* ---------- 数据编辑室 ---------- */
.page-home .home-desk__head {
  max-width: 68ch;
  margin-bottom: 28px;
}

.page-home .home-desk__title {
  margin: 10px 0 16px;
}

.page-home .home-desk__link {
  color: var(--bb-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 224, 214, .4);
  padding-bottom: 1px;
}

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

.page-home .home-desk__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.page-home .home-desk__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--home-hair);
  border-radius: var(--bb-radius-lg);
}

.page-home .home-desk__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--home-hair);
  border: 1px solid var(--home-hair);
  border-radius: var(--bb-radius);
  overflow: hidden;
}

.page-home .home-desk__cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 14px;
  background: var(--bb-panel);
}

.page-home .home-desk__v {
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--bb-cyan);
}

.page-home .home-desk__cell:nth-child(2n) .home-desk__v {
  color: var(--bb-orange);
}

.page-home .home-desk__k {
  font-size: 12px;
  line-height: 1.5;
  color: var(--bb-text-2);
}

/* ---------- 记录与权益快速入口 ---------- */
.page-home .home-quick__title {
  margin: 0 0 22px;
}

.page-home .home-quick__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .home-quick__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: clamp(20px, 3vw, 30px);
  padding-left: clamp(24px, 3.4vw, 34px);
  border: 1px solid var(--home-hair);
  border-radius: var(--bb-radius-lg);
  background: linear-gradient(155deg, rgba(20, 30, 54, .92), rgba(14, 21, 38, .92));
  text-decoration: none;
  overflow: hidden;
  transition: transform .45s var(--bb-ease), border-color .45s var(--bb-ease);
}

.page-home .home-quick__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--bb-cyan);
}

.page-home .home-quick__card--violet::before {
  background: linear-gradient(180deg, var(--bb-violet), var(--bb-magenta));
}

.page-home .home-quick__card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 224, 214, .42);
}

.page-home .home-quick__card--violet:hover {
  border-color: rgba(162, 56, 255, .5);
}

.page-home .home-quick__name {
  display: block;
  margin: 12px 0 8px;
  font-family: var(--bb-font-head);
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--bb-text);
}

.page-home .home-quick__desc {
  display: block;
  max-width: 48ch;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.68;
  color: var(--bb-text-2);
}

.page-home .home-quick__facts {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0 0 22px;
}

.page-home .home-quick__fact {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--bb-steel);
}

.page-home .home-quick__fact::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 2px;
  background: var(--bb-orange);
}

.page-home .home-quick__card--violet .home-quick__fact::before {
  background: var(--bb-violet);
}

/* ---------- 四类归档抽屉 ---------- */
.page-home .home-index__head {
  margin-bottom: 6px;
}

.page-home .home-index__title {
  margin: 10px 0 0;
}

.page-home .home-index__stack {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.page-home .home-drawer {
  position: relative;
  border: 1px solid var(--home-hair);
  border-radius: var(--bb-radius);
  background: var(--bb-panel);
  overflow: hidden;
  transition: border-color .35s var(--bb-ease), background .35s var(--bb-ease);
}

.page-home .home-drawer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--bb-cyan);
  opacity: .75;
}

.page-home .home-drawer--orange::before { background: var(--bb-orange); }
.page-home .home-drawer--violet::before { background: linear-gradient(180deg, var(--bb-violet), var(--bb-magenta)); }
.page-home .home-drawer--steel::before { background: var(--bb-steel); }

.page-home .home-drawer[open] {
  border-color: rgba(34, 224, 214, .34);
  background: linear-gradient(160deg, rgba(20, 30, 54, .86), rgba(14, 21, 38, .96));
}

.page-home .home-drawer--violet[open] {
  border-color: rgba(162, 56, 255, .4);
}

.page-home .home-drawer--orange[open] {
  border-color: rgba(255, 122, 26, .4);
}

.page-home .home-drawer__sum {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 15px 16px 15px 18px;
  cursor: pointer;
  list-style: none;
}

.page-home .home-drawer__sum::-webkit-details-marker {
  display: none;
}

.page-home .home-drawer__sum::after {
  content: "+";
  justify-self: end;
  font-family: var(--bb-font-mono);
  font-size: 17px;
  line-height: 1;
  color: var(--bb-cyan);
}

.page-home .home-drawer[open] .home-drawer__sum::after {
  content: "–";
}

.page-home .home-drawer__tag {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--bb-steel);
}

.page-home .home-drawer__name {
  font-family: var(--bb-font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--bb-text);
}

.page-home .home-drawer__meta {
  display: none;
  font-family: var(--bb-font-mono);
  font-size: 12px;
  color: var(--bb-text-2);
  white-space: nowrap;
}

.page-home .home-drawer__body {
  padding: 0 18px 18px;
}

.page-home .home-drawer__body p {
  max-width: 70ch;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--bb-text-2);
}

.page-home .home-index__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--bb-line);
}

.page-home .home-index__foottext {
  flex: 1 1 320px;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.68;
  color: var(--bb-text-2);
}

.page-home .home-index__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

@media (min-width: 640px) {
  .page-home .home-drawer__meta {
    display: inline;
  }
}

@media (min-width: 880px) {
  .page-home .home-watch__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
    gap: 46px;
  }
}

@media (min-width: 900px) {
  .page-home .home-desk__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 28px;
  }

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

@media (min-width: 950px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .95fr);
    gap: 50px;
  }
}

@media (max-width: 479px) {
  .page-home .home-watch__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .page-home .home-pulse__row {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-pulse__line {
    animation: none;
    stroke-dashoffset: 0;
    opacity: .9;
  }

  .page-home .home-card,
  .page-home .home-entry,
  .page-home .home-quick__card {
    transition: none;
  }
}
