.page-home {
  --ph-shadow: 10px 10px 0 rgba(0, 0, 0, 0.5);
  --ph-shadow-sm: 6px 6px 0 rgba(0, 0, 0, 0.45);
  --ph-radius: 0px;
}

/* ---------- 面包屑 ---------- */
.page-home .crumbs {
  margin-bottom: 16px;
}

.page-home .crumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.page-home .crumbs-item {
  display: inline-flex;
  align-items: center;
}

.page-home .crumbs-item + .crumbs-item::before {
  content: "/";
  margin-right: 8px;
  color: var(--rail);
}

.page-home .crumbs-item a {
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-home .crumbs-item a:hover,
.page-home .crumbs-item a:focus-visible {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.page-home .crumbs-item span {
  color: var(--cyan);
}

/* ---------- 首屏框景 ---------- */
.page-home .ph-frame {
  position: relative;
  padding: 24px 16px 26px;
  border: 2px solid var(--rail);
  background:
    radial-gradient(130% 95% at 100% 0%, rgba(162, 89, 255, 0.12), transparent 58%),
    radial-gradient(90% 70% at 0% 100%, rgba(0, 224, 184, 0.08), transparent 60%),
    linear-gradient(180deg, var(--panel-2) 0%, var(--ink) 100%);
  box-shadow: var(--ph-shadow);
}

.page-home .ph-frame::before,
.page-home .ph-frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
}

.page-home .ph-frame::before {
  top: -2px;
  left: -2px;
  border-top: 3px solid var(--lime);
  border-left: 3px solid var(--lime);
}

.page-home .ph-frame::after {
  right: -2px;
  bottom: -2px;
  border-right: 3px solid var(--lime);
  border-bottom: 3px solid var(--lime);
}

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

.page-home .ph-hero-main {
  min-width: 0;
}

.page-home .ph-hero-main h1 {
  margin: 10px 0 14px;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(29px, 7.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--white);
}

.page-home .ph-hero-main .lede {
  margin: 0 0 22px;
  max-width: 60ch;
  font-size: clamp(14px, 3.6vw, 16px);
  line-height: 1.85;
  color: var(--steel);
}

.page-home .ph-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--rail);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--steel);
}

.page-home .ph-ticker span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .ph-ticker b {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--lime);
}

/* ---------- 状态舱 ---------- */
.page-home .ph-pod {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 340px;
  border: 2px solid var(--rail);
  background: var(--ink);
  box-shadow: var(--ph-shadow-sm);
}

.page-home .ph-pod-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(0.25) contrast(1.15);
}

.page-home .ph-pod-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 18px 16px 20px;
}

.page-home .ph-pod-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rail);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

.page-home .ph-pod-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  animation: ph-pulse 2.4s ease-out infinite;
}

@keyframes ph-pulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 255, 0, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(198, 255, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 255, 0, 0); }
}

.page-home .ph-pod-code {
  margin-left: auto;
  color: var(--lime);
  font-weight: 700;
}

.page-home .ph-pod-data {
  display: grid;
  gap: 14px;
  margin: 0;
}

.page-home .ph-pod-row {
  display: grid;
  gap: 3px;
}

.page-home .ph-pod-row dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .ph-pod-row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--white);
}

.page-home .ph-pod-note {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--rail);
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

/* ---------- 次日清单 ---------- */
.page-home .ph-slate-figure {
  margin: 0 0 20px;
  border: 2px solid var(--rail);
  overflow: hidden;
  background: var(--panel);
}

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

.page-home .ph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.page-home .ph-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid var(--rail);
  background: var(--panel);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.page-home .ph-legend-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--steel);
}

.page-home .ph-legend-dot--lime { background: var(--lime); }
.page-home .ph-legend-dot--cyan { background: var(--cyan); }
.page-home .ph-legend-dot--purple { background: var(--purple); }
.page-home .ph-legend-dot--red { background: var(--red); }
.page-home .ph-legend-dot--steel { background: var(--steel); }

.page-home .ph-slate {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--rail);
}

.page-home .ph-slate-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-areas:
    "time league"
    "match match"
    "status status";
  gap: 6px 14px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--rail);
  transition: background 0.18s ease;
}

.page-home .ph-slate-row:hover {
  background: rgba(198, 255, 0, 0.04);
}

.page-home .ph-slate-time {
  grid-area: time;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--lime);
}

.page-home .ph-slate-league {
  grid-area: league;
  align-self: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.page-home .ph-slate-match {
  grid-area: match;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
}

.page-home .ph-slate-status {
  grid-area: status;
  justify-self: start;
  align-self: center;
}

.page-home .ph-schedule-foot {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--steel);
}

.page-home .ph-schedule-foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 224, 184, 0.4);
}

.page-home .ph-schedule-foot a:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- 观赛工具 ---------- */
.page-home .ph-tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.page-home .ph-tools-lead h2 {
  margin: 10px 0 12px;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(24px, 6vw, 38px);
  line-height: 1.14;
  color: var(--white);
}

.page-home .ph-tools-lead .lede {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--steel);
}

.page-home .ph-tool-figure {
  margin: 0 0 20px;
  border: 2px solid var(--rail);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--ph-shadow-sm);
}

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

.page-home .ph-tool-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--rail);
}

.page-home .ph-tool-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "idx title"
    "idx text";
  gap: 4px 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--rail);
}

.page-home .ph-tool-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: width 0.28s ease;
}

.page-home .ph-tool-item:hover::before {
  width: 100%;
}

.page-home .ph-tool-idx {
  grid-area: idx;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--purple);
}

.page-home .ph-tool-item h3 {
  grid-area: title;
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--white);
}

.page-home .ph-tool-item p {
  grid-area: text;
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

/* ---------- 电脑端兼容 ---------- */
.page-home .ph-compat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.page-home .ph-compat-figure {
  margin: 0;
  border: 2px solid var(--rail);
  overflow: hidden;
  background: var(--panel);
}

.page-home .ph-compat-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.page-home .ph-compat-tablewrap {
  min-width: 0;
  overflow-x: auto;
  border: 2px solid var(--rail);
  background: var(--panel);
  box-shadow: var(--ph-shadow-sm);
}

.page-home .ph-compat-caption {
  padding: 12px 14px 0;
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

.page-home .ph-compat-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .ph-compat-table th {
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 2px solid var(--rail);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}

.page-home .ph-compat-table td {
  padding: 13px 14px;
  vertical-align: top;
  line-height: 1.7;
  border-bottom: 1px solid var(--rail);
  color: var(--white);
}

.page-home .ph-compat-table td:nth-child(2) {
  color: var(--steel);
}

.page-home .ph-compat-table td:nth-child(3) {
  color: var(--cyan);
}

.page-home .ph-compat-table tbody tr:hover td {
  background: rgba(162, 89, 255, 0.07);
}

.page-home .ph-compat-note {
  margin: 0;
  padding: 14px;
  border-top: 1px dashed var(--rail);
  font-size: 13px;
  line-height: 1.75;
  color: var(--steel);
}

.page-home .ph-compat-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 224, 184, 0.4);
}

.page-home .ph-compat-note a:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- 导航索引 ---------- */
.page-home .ph-nav-index {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--rail);
}

.page-home .ph-nav-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  grid-template-areas:
    "code cn go"
    "code en go";
  gap: 3px 14px;
  align-items: center;
  padding: 15px 4px;
  border-bottom: 1px solid var(--rail);
  transition: background 0.18s ease;
}

.page-home .ph-nav-row:hover {
  background: rgba(0, 224, 184, 0.05);
}

.page-home .ph-nav-code {
  grid-area: code;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lime);
}

.page-home .ph-nav-cn {
  grid-area: cn;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}

.page-home .ph-nav-en {
  grid-area: en;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

.page-home .ph-nav-go {
  grid-area: go;
  padding: 7px 12px;
  border: 1px solid var(--rail);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--steel);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.page-home .ph-nav-go:hover,
.page-home .ph-nav-go:focus-visible {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.page-home .ph-index-note {
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--purple);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--steel);
}

/* ---------- 赛前动线 ---------- */
.page-home .ph-steps-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .ph-step {
  position: relative;
  padding: 20px 18px 22px;
  border: 1px solid var(--rail);
  border-left: 4px solid var(--lime);
  background: var(--panel);
  box-shadow: var(--ph-shadow-sm);
}

.page-home .ph-step-idx {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--lime);
  padding: 3px 8px;
}

.page-home .ph-step h3 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--white);
}

.page-home .ph-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--steel);
}

.page-home .ph-steps .btn-row {
  margin-top: 26px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .ph-frame {
    padding: 30px 26px 32px;
  }

  .page-home .ph-slate-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px 18px;
    padding: 16px 8px;
  }

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

@media (min-width: 900px) {
  .page-home .ph-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
    gap: 34px;
    align-items: stretch;
  }

  .page-home .ph-pod {
    min-height: 100%;
  }

  .page-home .ph-slate-row {
    grid-template-columns: 78px 180px minmax(0, 1fr) auto;
    grid-template-areas: "time league match status";
    align-items: center;
    gap: 18px;
    padding: 17px 10px;
  }

  .page-home .ph-slate-status {
    justify-self: end;
  }

  .page-home .ph-tools-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 34px;
    align-items: start;
  }

  .page-home .ph-compat-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 28px;
    align-items: start;
  }

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

@media (min-width: 1100px) {
  .page-home .ph-frame {
    padding: 38px 34px 40px;
  }

  .page-home .ph-pod-inner {
    padding: 22px 22px 24px;
  }

  .page-home .ph-tool-item {
    padding: 20px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ph-pod-dot {
    animation: none;
    box-shadow: 0 0 0 4px rgba(198, 255, 0, 0.18);
  }

  .page-home .ph-slate-row,
  .page-home .ph-nav-row,
  .page-home .ph-nav-go,
  .page-home .ph-tool-item::before {
    transition: none;
  }
}
