/* ============================================================
   page: home — 赛季中枢
   ============================================================ */

.page-home {
  --home-pad: 20px;
  --home-r: 16px;
  --home-grid: rgba(138, 147, 166, .07);
  color: var(--white);
  overflow-x: hidden;
}

/* ---------- 页面上下文 ---------- */
.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--home-pad) 0;
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--grey);
}

.page-home .context-key {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .context-sep {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--grad-edge);
}

/* ============================================================
   首屏
   ============================================================ */
.page-home .hero {
  position: relative;
  margin-top: 18px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  isolation: isolate;
}

.page-home .hero-inner {
  display: grid;
  grid-template-columns: 1fr;
}

.page-home .hero-main {
  position: relative;
  z-index: 2;
  padding: 34px var(--home-pad) 40px;
  background-color: var(--panel);
  background-image:
    linear-gradient(var(--home-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid) 1px, transparent 1px),
    linear-gradient(155deg, #0B1220 0%, #080D17 62%, #05070E 100%);
  background-size: 56px 56px, 56px 56px, 100% 100%;
}

.page-home .hero-kicker {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .hero-title {
  margin: 0;
  max-width: min(100%, 13em);
  font-size: clamp(30px, 7vw, 62px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.02em;
}

.page-home .hero-title::after {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-top: 24px;
  background: var(--grad-pass);
}

.page-home .hero-lede {
  margin: 24px 0 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--grey);
}

/* ---------- 赛事入口矩阵 ---------- */
.page-home .matrix {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.page-home .matrix-group {
  position: relative;
  padding: 20px 18px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--home-r);
  background: rgba(11, 18, 32, .66);
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease);
}

.page-home .matrix-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  width: 42px;
  height: 2px;
}

.page-home .matrix-group--football::before { background: var(--green); }
.page-home .matrix-group--basketball::before { background: var(--orange); }

.page-home .matrix-group--football:hover,
.page-home .matrix-group--football:focus-within {
  border-color: rgba(47, 191, 107, .55);
  box-shadow: inset 0 0 0 1px rgba(47, 191, 107, .16);
}

.page-home .matrix-group--basketball:hover,
.page-home .matrix-group--basketball:focus-within {
  border-color: rgba(255, 90, 46, .55);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 46, .16);
}

.page-home .matrix-media {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 12px;
}

.page-home .matrix-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  filter: saturate(.85) brightness(.86);
}

.page-home .matrix-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.page-home .matrix-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .01em;
}

.page-home .matrix-note {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--grey);
}

.page-home .event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .event-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 10px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.page-home .event-link:hover,
.page-home .event-link:focus-visible {
  background: rgba(34, 224, 255, .07);
  border-color: rgba(34, 224, 255, .34);
  transform: translateX(3px);
  outline: none;
}

.page-home .event-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(34, 224, 255, .45);
}

.page-home .event-id {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--grey);
}

.page-home .event-name {
  font-size: 15px;
  line-height: 1.5;
}

.page-home .event-state {
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--cyan-deep);
}

.page-home .matrix-group--basketball .event-state { color: #E4734F; }

/* ---------- 右侧季票状态面板 ---------- */
.page-home .hero-side {
  position: relative;
  z-index: 2;
  padding: 30px var(--home-pad) 40px;
  border-top: 1px solid var(--line-soft);
  background-image:
    radial-gradient(120% 70% at 100% 0%, rgba(122, 77, 255, .18), transparent 62%),
    linear-gradient(180deg, #121A2B 0%, #0B1220 100%);
}

.page-home .side-panel {
  position: relative;
  padding: 22px 20px 24px;
  border-radius: var(--home-r);
  background: linear-gradient(180deg, rgba(18, 26, 43, .94), rgba(11, 18, 32, .94));
}

.page-home .side-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--grad-pass);
  opacity: .7;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.page-home .side-head {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .side-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
}

.page-home .side-meta {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
}

.page-home .side-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
}

.page-home .side-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 12px;
  background: rgba(5, 7, 14, .74);
}

.page-home .side-key {
  font-size: 13px;
  color: var(--grey);
}

.page-home .side-val {
  font-size: 14px;
  color: var(--white);
}

.page-home .side-row--accent .side-val { color: var(--cyan); }

.page-home .side-foot {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--grey);
}

.page-home .side-media {
  margin: 18px 0 0;
  overflow: hidden;
  border-radius: 12px;
}

.page-home .side-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(.82) brightness(.78);
}

.page-home .side-media .media-caption {
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--grey);
}

.page-home .hero-seam { display: none; }

/* ============================================================
   轮次时间线
   ============================================================ */
.page-home .rounds {
  position: relative;
  margin-top: 68px;
  padding: 62px 0 66px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--panel);
  overflow: hidden;
}

.page-home .rounds-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .rounds-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
}

.page-home .rounds-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--panel) 0%, rgba(11, 18, 32, .55) 48%, var(--panel) 100%);
}

.page-home .rounds-inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--home-pad);
}

.page-home .section-head { max-width: 62ch; }

.page-home .section-kicker {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .section-title {
  margin: 0;
  font-size: clamp(26px, 4.6vw, 44px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.015em;
}

.page-home .section-note {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--grey);
}

/* 时间线主体 */
.page-home .tl {
  position: relative;
  list-style: none;
  margin: 36px 0 0;
  padding: 0 0 0 20px;
}

.page-home .tl::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 194, 75, .9), rgba(34, 224, 255, .85), rgba(122, 77, 255, .7));
}

.page-home .tl-item {
  position: relative;
  padding: 0 0 26px;
}

.page-home .tl-item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 5px;
  width: 11px;
  height: 11px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid var(--amber);
  background: var(--panel);
}

.page-home .tl-item--cyan::before { border-color: var(--cyan); }
.page-home .tl-item--violet::before { border-color: var(--violet); }

.page-home .tl-round {
  margin: 0;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--white);
}

.page-home .tl-desc {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--grey);
}

.page-home .rounds-foot {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.8;
  color: var(--grey);
}

/* ============================================================
   季票条目索引
   ============================================================ */
.page-home .index { padding: 0; }

.page-home .index-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 72px var(--home-pad) 0;
}

.page-home .index-cols {
  display: grid;
  gap: 34px;
  margin-top: 38px;
}

.page-home .index-col-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  letter-spacing: .04em;
}

.page-home .index-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.page-home .index-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .2s var(--ease);
}

.page-home .index-row:hover { background: rgba(34, 224, 255, .05); }

.page-home .index-count {
  font-size: 18px;
  line-height: 1;
  color: var(--white);
}

.page-home .index-name {
  font-size: 15px;
  line-height: 1.5;
}

.page-home .index-state {
  font-size: 11px;
  letter-spacing: .08em;
  white-space: nowrap;
  color: var(--grey);
}

.page-home .index-state--open { color: var(--cyan-deep); }
.page-home .index-state--sync { color: var(--amber); }

.page-home .index-foot {
  margin: 34px 0 0;
  max-width: 70ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--grey);
}

.page-home .index-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 224, 255, .4);
  transition: border-color .2s var(--ease);
}

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

/* ============================================================
   签表与友谊赛节点
   ============================================================ */
.page-home .nodes-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 76px var(--home-pad) 0;
}

.page-home .nodes-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.page-home .node-panel {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--home-r);
  background: var(--panel);
  overflow: hidden;
}

.page-home .node-panel::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
}

.page-home .node-panel--draw::after {
  background: radial-gradient(circle, rgba(34, 224, 255, .2), transparent 68%);
}

.page-home .node-panel--friendly::after {
  background: radial-gradient(circle, rgba(255, 194, 75, .18), transparent 68%);
}

.page-home .node-title {
  position: relative;
  margin: 18px 0 0;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.01em;
}

.page-home .node-text {
  position: relative;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--grey);
}

.page-home .node-list {
  position: relative;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .node-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--grey);
}

.page-home .node-key {
  min-width: 76px;
  font-size: 13px;
  color: var(--white);
}

.page-home .node-panel .btn {
  position: relative;
  margin-top: 24px;
}

/* ============================================================
   检索与提醒
   ============================================================ */
.page-home .lookup {
  margin-top: 78px;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(90% 120% at 10% 0%, rgba(34, 224, 255, .1), transparent 62%),
    linear-gradient(180deg, rgba(11, 18, 32, .82), rgba(5, 7, 14, 0));
}

.page-home .lookup-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 60px var(--home-pad) 78px;
}

.page-home .field-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 1px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--line-soft);
  overflow: hidden;
}

.page-home .field-item {
  display: grid;
  gap: 8px;
  padding: 20px 16px;
  background: rgba(11, 18, 32, .92);
}

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

.page-home .field-name {
  font-size: 16px;
  font-weight: 600;
}

.page-home .field-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--grey);
}

.page-home .lookup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.page-home .lookup-foot {
  margin: 28px 0 0;
  max-width: 68ch;
  font-size: 13px;
  line-height: 1.85;
  color: var(--grey);
}

.page-home .lookup-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 224, 255, .4);
}

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

/* ============================================================
   进入动效
   ============================================================ */
@keyframes home-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-home [data-reveal] {
  animation: home-rise .42s var(--ease) both;
  animation-delay: calc(var(--reveal-i, 0) * 90ms);
}

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 560px) {
  .page-home { --home-pad: 28px; }

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

@media (min-width: 820px) {
  .page-home { --home-pad: 40px; }

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

  .page-home .nodes-grid {
    grid-template-columns: 1.15fr .85fr;
    gap: 22px;
  }

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

  .page-home .tl {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 0;
    margin-top: 30px;
    background-image: linear-gradient(90deg, rgba(255, 194, 75, .85), rgba(34, 224, 255, .85), rgba(122, 77, 255, .7));
    background-size: 100% 1px;
    background-position: 0 5px;
    background-repeat: no-repeat;
  }

  .page-home .tl::before { display: none; }

  .page-home .tl-item {
    padding: 28px 24px 0 0;
  }

  .page-home .tl-item::before {
    left: 0;
    top: 0;
  }

  .page-home .tl-item:last-child { padding-right: 0; }
}

@media (min-width: 1000px) {
  .page-home { --home-pad: 48px; }

  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr);
  }

  .page-home .hero-main {
    padding: 58px 52px 66px 48px;
  }

  .page-home .hero-side {
    padding: 58px 44px 66px 54px;
    border-top: 0;
    clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .hero-seam {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
  }
}

@media (max-width: 420px) {
  .page-home .event-link {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .page-home .event-state {
    grid-column: 2;
    font-size: 11px;
  }

  .page-home .index-row {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 6px;
  }

  .page-home .index-state {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal] { animation: none; }

  .page-home .event-link,
  .page-home .matrix-group,
  .page-home .index-row {
    transition: none;
  }

  .page-home .event-link:hover,
  .page-home .event-link:focus-visible {
    transform: none;
  }
}
<<<END>>>

.page-home {
  --reveal-i: inherit;
}
