.page-home{
  --home-hair: rgba(22, 55, 92, 0.72);
  --home-panel: rgba(12, 32, 58, 0.78);
  overflow-x: clip;
}

/* ============ 首屏 ============ */
.page-home .home-hero{
  position: relative;
  padding-top: calc(var(--header-h) + clamp(20px, 5vw, 64px));
  padding-bottom: clamp(32px, 5vw, 72px);
}
.page-home .home-hero__shell{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 3vw, 32px);
  align-items: start;
}
.page-home .home-hero__rail{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--c-grey);
}
.page-home .home-hero__mark{
  font-weight: 700;
  color: var(--c-white);
}
.page-home .home-hero__status{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-home .home-hero__status .tk-sync-dot{
  width: 7px;
  height: 7px;
  border-radius: var(--pill);
  background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(51, 208, 122, 0.16);
}

.page-home .home-hero__stage{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-500);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--c-900) 0%, var(--c-700) 58%, var(--c-950) 100%);
}
.page-home .home-hero__stage::before,
.page-home .home-hero__stage::after{
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--c-orange);
  pointer-events: none;
  z-index: 3;
}
.page-home .home-hero__stage::before{
  top: 14px;
  left: 14px;
  border-right: 0;
  border-bottom: 0;
}
.page-home .home-hero__stage::after{
  right: 14px;
  bottom: 14px;
  border-top: 0;
  border-left: 0;
}
.page-home .home-hero__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  z-index: 0;
}
.page-home .home-hero__inner{
  position: relative;
  z-index: 2;
  padding: clamp(22px, 4vw, 48px);
}
.page-home .home-hero__title{
  margin: 10px 0 0;
  font-size: clamp(40px, 10vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.page-home .home-hero__title .tk-num{
  color: var(--c-orange);
  font-size: 1.08em;
}
.page-home .home-hero__lead{
  max-width: 46ch;
  margin: 16px 0 0;
  color: var(--c-body);
  font-size: clamp(15px, 3.4vw, 17px);
  line-height: 1.75;
}
.page-home .home-hero__band{
  margin-top: clamp(20px, 4vw, 32px);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.page-home .home-hero__band::-webkit-scrollbar{ display: none; }
.page-home .home-hero__pills{
  display: flex;
  gap: 8px;
  min-width: max-content;
  padding-bottom: 2px;
}
.page-home .home-hero__pills .tk-pill{
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
}
.page-home .home-hero__pills .tk-pill.is-active{
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-950);
  font-weight: 700;
}
.page-home .home-hero__panels{ margin-top: 8px; }
.page-home .home-hero__panels > [data-tab-panel]{ display: none; }
.page-home .home-hero__panels > [data-tab-panel].is-active{
  display: block;
  animation: home-fade 180ms var(--ease);
}
@keyframes home-fade{
  from{ opacity: 0; transform: translateX(-8px); }
  to{ opacity: 1; transform: none; }
}
.page-home .home-hero__matches{
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--home-hair);
}
.page-home .match{
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  grid-template-areas:
    "time teams"
    "time venue"
    "time round";
  align-items: center;
  gap: 2px 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--home-hair);
}
.page-home .match__time{
  grid-area: time;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-orange);
  white-space: nowrap;
}
.page-home .match__teams{
  grid-area: teams;
  color: var(--c-white);
  font-weight: 600;
  font-size: 15px;
}
.page-home .match__teams i{
  font-style: normal;
  color: var(--c-grey);
  font-family: var(--font-mono);
  font-size: 12px;
  margin: 0 4px;
}
.page-home .match__venue{
  grid-area: venue;
  color: var(--c-grey);
  font-size: 13px;
}
.page-home .match__round{
  grid-area: round;
  justify-self: start;
  margin-top: 4px;
}
.page-home .home-hero__more{ margin: 20px 0 0; }

/* ============ 三条线 ============ */
.page-home .home-lines{
  position: relative;
  isolation: isolate;
}
.page-home .home-lines::before{
  content: "";
  position: absolute;
  top: 0;
  left: -6%;
  right: -6%;
  height: 58px;
  background: var(--c-orange);
  opacity: 0.13;
  transform: rotate(-6deg);
  transform-origin: left center;
  z-index: 0;
  pointer-events: none;
}
.page-home .home-lines__texture{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}
.page-home .home-lines__head{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
}
.page-home .home-lines__title{ margin: 0; }
.page-home .home-lines__hint{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-grey);
}
.page-home .home-lines__band{
  display: flex;
  gap: 16px;
  margin-top: clamp(24px, 4vw, 44px);
  padding: 0 var(--gutter) 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 94%, transparent 100%);
}
.page-home .home-lines__band::-webkit-scrollbar{ display: none; }
.page-home .home-line{
  position: relative;
  flex: 0 0 min(78vw, 360px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 22px;
  border: 1px solid var(--c-500);
  border-radius: var(--radius-lg);
  background: var(--home-panel);
  color: var(--c-body);
  text-decoration: none;
  transition: border-color 200ms var(--ease), transform 220ms var(--ease);
}
.page-home .home-line:hover,
.page-home .home-line:focus-visible{
  border-color: var(--c-orange);
  transform: translateY(-4px);
}
.page-home .home-line::after{
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 44px;
  height: 4px;
  border-radius: var(--pill);
  background: var(--c-orange);
}
.page-home .home-line--transfer::after{ background: var(--c-purple); }
.page-home .home-line--rank::after{ background: var(--c-green); }
.page-home .home-line__num{
  font-size: 34px;
  font-weight: 700;
  color: var(--c-500);
  line-height: 1;
}
.page-home .home-line__title{
  font-size: 22px;
  font-weight: 800;
  color: var(--c-white);
}
.page-home .home-line__desc{
  font-size: 14.5px;
  line-height: 1.75;
}
.page-home .home-line__meta{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-grey);
  letter-spacing: 0.04em;
}
.page-home .home-line__go{
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-orange);
}

/* ============ 本周焦点 ============ */
.page-home .home-week__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 56px);
}
.page-home .home-week__annotation{
  color: var(--c-orange);
  letter-spacing: 0.24em;
  font-size: 12px;
}
.page-home .home-week__title{
  margin: 8px 0 0;
  line-height: 1.08;
}
.page-home .home-week__lead{
  margin: 16px 0 0;
  color: var(--c-grey);
}
.page-home .home-week__list{
  border-top: 1px solid var(--c-500);
}
.page-home .week-item{
  border-bottom: 1px solid var(--c-500);
}
.page-home .week-item__head{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  grid-template-areas:
    "time plus"
    "teams plus"
    "meta plus";
  align-items: center;
  gap: 4px 12px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  transition: color 180ms var(--ease);
}
.page-home .week-item__head::-webkit-details-marker{ display: none; }
.page-home .week-item__time{
  grid-area: time;
  font-size: 13px;
  color: var(--c-orange);
  letter-spacing: 0.04em;
}
.page-home .week-item__teams{
  grid-area: teams;
  font-size: clamp(17px, 4vw, 20px);
  font-weight: 700;
  color: var(--c-white);
}
.page-home .week-item__meta{
  grid-area: meta;
  font-size: 13px;
  color: var(--c-grey);
}
.page-home .week-item__plus{
  grid-area: plus;
  position: relative;
  width: 26px;
  height: 26px;
  border: 1px solid var(--c-500);
  border-radius: var(--pill);
}
.page-home .week-item__plus::before,
.page-home .week-item__plus::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--c-orange);
  transform: translate(-50%, -50%);
}
.page-home .week-item__plus::before{ width: 11px; height: 2px; }
.page-home .week-item__plus::after{
  width: 2px;
  height: 11px;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.page-home .week-item[open] .week-item__plus::after{
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}
.page-home .week-item__body{
  padding: 0 0 20px;
  color: var(--c-body);
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 62ch;
}
.page-home .week-item__body p{ margin: 0 0 10px; }
.page-home .week-item__tip a{
  color: var(--c-orange);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 106, 24, 0.5);
}

/* ============ 手机端 ============ */
.page-home .home-mobile__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.page-home .home-mobile__lead{
  margin: 14px 0 0;
  color: var(--c-body);
}
.page-home .home-mobile__list{
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-home .home-mobile__list li{
  padding: 14px 16px;
  border-left: 3px solid var(--c-orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(12, 32, 58, 0.66);
  color: var(--c-body);
  font-size: 14.5px;
  line-height: 1.7;
}
.page-home .home-mobile__key{
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--c-orange);
  margin-bottom: 4px;
}
.page-home .home-mobile__stat{
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--c-grey);
}
.page-home .home-mobile__stat .tk-num{
  font-size: 32px;
  font-weight: 700;
  color: var(--c-white);
  margin-right: 6px;
  vertical-align: -3px;
}
.page-home .home-mobile__media{
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-500);
  background: var(--c-700);
}
.page-home .home-mobile__media img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .home-mobile__figure figcaption{
  margin-top: 10px;
}

/* ============ 速递 ============ */
.page-home .home-dispatch__head{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.page-home .home-dispatch__head .tk-h2{ margin: 8px 0 0; }
.page-home .home-dispatch__list{
  margin-top: clamp(24px, 4vw, 44px);
  display: grid;
  gap: 18px;
}
.page-home .dispatch{
  position: relative;
  padding: 20px 22px 22px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, rgba(12, 32, 58, 0.9), rgba(5, 16, 31, 0.72));
  border: 1px solid var(--home-hair);
}
.page-home .dispatch::before{
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: var(--pill);
  background: var(--c-orange);
}
.page-home .home-dispatch__list .dispatch:nth-child(2)::before{ background: var(--c-purple); }
.page-home .home-dispatch__list .dispatch:nth-child(3)::before{ background: var(--c-green); }
.page-home .dispatch__meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}
.page-home .dispatch__time{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-grey);
  letter-spacing: 0.08em;
}
.page-home .dispatch__title{
  margin: 0;
  font-size: clamp(17px, 4vw, 20px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-white);
}
.page-home .dispatch__text{
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--c-body);
  max-width: 62ch;
}

/* ============ 站内索引 ============ */
.page-home .home-index__head{
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.page-home .home-index__annotation{
  color: var(--c-orange);
  letter-spacing: 0.24em;
  font-size: 12px;
}
.page-home .home-index__head .tk-h2{ margin: 0; }
.page-home .home-index__list{
  list-style: none;
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding: 0;
  border-top: 1px solid var(--c-500);
}
.page-home .home-index__item{
  position: relative;
  border-bottom: 1px solid var(--c-500);
}
.page-home .home-index__link{
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 26px;
  grid-template-areas:
    "num label arrow"
    "num desc arrow";
  align-items: center;
  gap: 2px 14px;
  padding: 14px 0;
  text-decoration: none;
  color: inherit;
}
.page-home .home-index__num{
  grid-area: num;
  font-size: 15px;
  color: var(--c-500);
  font-weight: 700;
}
.page-home .home-index__label{
  grid-area: label;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-white);
}
.page-home .home-index__desc{
  grid-area: desc;
  font-size: 13px;
  color: var(--c-grey);
}
.page-home .home-index__arrow{
  grid-area: arrow;
  color: var(--c-orange);
  font-size: 16px;
  transition: transform 200ms var(--ease);
}
.page-home .home-index__link:hover .home-index__arrow,
.page-home .home-index__link:focus-visible .home-index__arrow{
  transform: translateX(4px);
}
.page-home .home-index__link:hover .home-index__num,
.page-home .home-index__link:focus-visible .home-index__num{
  color: var(--c-orange);
}
.page-home .home-index__note{
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--c-grey);
  max-width: 60ch;
}

/* ============ 订阅 ============ */
.page-home .home-sub__panel{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-500);
  border-radius: var(--radius-lg);
  background: linear-gradient(105deg, var(--c-700) 0%, var(--c-900) 62%, rgba(255, 106, 24, 0.16) 100%);
}
.page-home .home-sub__panel::before{
  content: "";
  position: absolute;
  top: -40px;
  right: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 24, 0.32), transparent 68%);
  pointer-events: none;
}
.page-home .home-sub__inner{
  position: relative;
  padding: clamp(24px, 4vw, 48px);
}
.page-home .home-sub__inner .tk-h2{ margin: 8px 0 0; }
.page-home .home-sub__lead{
  margin: 14px 0 0;
  max-width: 58ch;
  color: var(--c-body);
  font-size: 15px;
  line-height: 1.75;
}
.page-home .home-sub__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ============ 收束纹理 ============ */
.page-home .home-tail{
  position: relative;
  height: clamp(120px, 22vw, 200px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-home .home-tail__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.page-home .home-tail__text{
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--c-grey);
  text-align: center;
  padding: 0 20px;
}

/* ============ 响应式 ============ */
@media (min-width: 700px){
  .page-home .match{
    grid-template-columns: 92px minmax(0, 1.5fr) minmax(0, 1fr) auto;
    grid-template-areas: "time teams venue round";
    gap: 0 16px;
    padding: 14px 0;
  }
  .page-home .match__round{
    margin-top: 0;
    justify-self: end;
  }
  .page-home .week-item__head{
    grid-template-columns: 150px minmax(0, 1.2fr) minmax(0, 1fr) 28px;
    grid-template-areas: "time teams meta plus";
    padding: 20px 0;
  }
  .page-home .home-dispatch__list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-dispatch__list .dispatch:first-child{
    grid-column: 1 / -1;
  }
  .page-home .home-mobile__grid{
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .page-home .home-tail__text{
    font-size: 13px;
  }
}

@media (min-width: 1024px){
  .page-home .home-hero__shell{
    grid-template-columns: 38fr 62fr;
    gap: clamp(24px, 3vw, 48px);
  }
  .page-home .home-hero__rail{
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    padding-top: 18px;
    height: 100%;
  }
  .page-home .home-hero__mark{
    writing-mode: vertical-rl;
    letter-spacing: 0.34em;
    font-size: 13px;
    max-height: 60%;
  }
  .page-home .home-hero__status{
    writing-mode: vertical-rl;
    letter-spacing: 0.2em;
  }
  .page-home .home-hero__status .tk-sync-dot{
    margin-bottom: 8px;
  }
  .page-home .home-week__grid{
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
  }
  .page-home .home-week__aside{
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
  .page-home .home-index__link{
    grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.6fr) 26px;
    grid-template-areas: "num label desc arrow";
  }
  .page-home .home-index__note{
    position: absolute;
    left: 72px;
    top: 100%;
    margin-top: -12px;
    z-index: 4;
    max-width: 52ch;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--c-500);
    background: var(--c-700);
    color: var(--c-body);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  }
  .page-home .home-index__item:hover .home-index__note,
  .page-home .home-index__item:focus-within .home-index__note{
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1280px){
  .page-home .home-dispatch__list{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-dispatch__list .dispatch:first-child{
    grid-column: auto;
  }
  .page-home .home-line{
    flex: 0 0 380px;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .home-line,
  .page-home .home-index__arrow,
  .page-home .home-index__note{
    transition: none;
  }
  .page-home .home-hero__panels > [data-tab-panel].is-active{
    animation: none;
  }
}
