/* ===== 首页 · 场边信号系统 ===== */
.page-home {
  --p-ruler: rgba(138, 155, 171, 0.45);
  --p-grid-tone: rgba(138, 155, 171, 0.06);
  --p-mobile-cols: 1fr;
  overflow-x: clip;
}

/* ---------- 框景首屏 ---------- */
.page-home .p-hero {
  position: relative;
  padding: 12px 0 0;
}

.page-home .p-hero__frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "top"
    "copy"
    "tools"
    "visual";
  gap: 18px;
  padding: 26px 18px 20px;
  border: 1px solid var(--grid-line);
  background:
    linear-gradient(90deg, var(--p-grid-tone) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--p-grid-tone) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(ellipse at 85% 0%, rgba(0, 255, 136, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(24, 42, 61, 0.75), transparent 70%),
    var(--bg-main);
  overflow: hidden;
}

.page-home .p-hero__frame::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--p-ruler) 0 2px, transparent 2px 9px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 2;
}

.page-home .p-hero__frame-index {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 11px;
  color: var(--text-dim);
  opacity: 0.75;
  z-index: 2;
  pointer-events: none;
}

.page-home .p-hero__top {
  grid-area: top;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.page-home .p-hero__copy {
  grid-area: copy;
}

.page-home .p-hero__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 9vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  color: var(--text-strong);
}

.page-home .p-hero__title-accent {
  color: var(--accent);
  text-shadow: 0 0 28px rgba(0, 255, 136, 0.35);
}

.page-home .p-hero__title-sep {
  font-weight: 300;
  color: var(--grid-solid);
}

.page-home .p-hero__lead {
  margin: 0;
  max-width: 32em;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
}

.page-home .p-hero__tools {
  grid-area: tools;
}

.page-home .p-hero__subtitle {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.page-home .p-device-switch {
  display: inline-flex;
  gap: 2px;
  background: var(--bg-raised);
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 12px;
}

.page-home .p-device-switch__btn {
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .p-device-switch__btn:hover {
  color: var(--text-strong);
}

.page-home .p-device-switch__btn[aria-selected="true"] {
  background: var(--accent);
  color: #06201A;
  font-weight: 600;
}

.page-home .p-sched {
  background: var(--bg-panel);
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-lg);
  padding: 14px 14px 12px;
}

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

.page-home .p-sched__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-strong);
}

.page-home .p-sched__count {
  font-size: 12px;
  color: var(--text-dim);
}

.page-home .p-sched__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .p-sched__item {
  position: relative;
  display: grid;
  grid-template-columns: 64px auto 1fr auto;
  grid-template-areas: "time status meta arrow";
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: rgba(138, 155, 171, 0.06);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .p-sched__item:hover,
.page-home .p-sched__item:focus-within {
  border-color: rgba(0, 255, 136, 0.35);
  background: rgba(0, 255, 136, 0.06);
}

.page-home .p-sched__time {
  grid-area: time;
  font-size: 16px;
  color: var(--text-strong);
}

.page-home .p-sched__status {
  grid-area: status;
  justify-self: start;
  font-size: 12px;
  color: var(--success);
  background: rgba(78, 122, 95, 0.2);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  white-space: nowrap;
}

.page-home .p-sched__item--live .p-sched__status,
.page-home .p-sched__status[data-state="hot"] {
  color: var(--alert);
  background: var(--alert-dim);
  border: 1px solid rgba(255, 107, 0, 0.3);
}

.page-home .p-sched__meta {
  grid-area: meta;
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .p-sched__arrow {
  grid-area: arrow;
  color: var(--grid-solid);
  font-size: 14px;
  text-align: right;
}

.page-home .p-sched__item--live .p-sched__arrow {
  color: var(--alert);
  animation: p-pulse 1.6s ease-in-out infinite;
}

@keyframes p-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.page-home .p-sched__countdown {
  position: absolute;
  top: -8px;
  right: 12px;
  z-index: 3;
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--alert);
  background: var(--bg-main);
  border: 1px solid var(--grid-solid);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  pointer-events: none;
}

.page-home .p-sched__item:hover .p-sched__countdown,
.page-home .p-sched__item:focus-within .p-sched__countdown {
  opacity: 1;
  transform: translateY(0);
}

.page-home .p-sched__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--grid-line);
}

.page-home .p-sched__note {
  font-size: 11px;
  color: var(--text-dim);
}

.page-home .p-sched__pc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.page-home .p-sched__pc-row {
  display: grid;
  grid-template-columns: 72px 88px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 8px;
  border-bottom: 1px solid var(--grid-line);
}

.page-home .p-sched__pc-row:last-child {
  border-bottom: 0;
}

.page-home .p-sched__pc-time {
  font-size: 16px;
  color: var(--text-strong);
}

.page-home .p-sched__pc-tag {
  justify-self: start;
  font-size: 12px;
  color: var(--success);
  background: rgba(78, 122, 95, 0.2);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

.page-home .p-sched__pc-tag[data-state="hot"] {
  color: var(--alert);
  background: var(--alert-dim);
}

.page-home .p-sched__pc-meta {
  font-size: 12px;
  color: var(--text-dim);
}

/* 框景角标 */
.page-home .frame-corner {
  display: block;
  width: 18px;
  height: 18px;
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.page-home .frame-corner--tl {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.page-home .frame-corner--tr {
  top: -1px;
  right: -1px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.page-home .frame-corner--bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 2px solid var(--alert);
  border-left: 2px solid var(--alert);
}

.page-home .frame-corner--br {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--alert);
  border-right: 2px solid var(--alert);
}

/* 首屏视觉 */
.page-home .p-hero__visual {
  grid-area: visual;
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--grid-solid);
  background: var(--bg-panel);
  aspect-ratio: 16 / 10;
}

.page-home .p-hero__visual img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.page-home .p-hero__visual-coord {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(10, 27, 42, 0.8);
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 11px;
  color: var(--accent);
}

.page-home .p-hero__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 8px 12px;
  background: rgba(10, 27, 42, 0.78);
  border-top: 1px solid var(--grid-line);
  border-right: 1px solid var(--grid-line);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ---------- 分类更清楚 ---------- */
.page-home .p-section {
  padding: 44px 0 0;
}

.page-home .p-categories__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .p-categories__media {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.page-home .p-categories__media .image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grid-line);
  box-shadow: var(--shadow-panel);
}

.page-home .p-categories__media .image-frame img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.page-home .p-categories__media-label {
  position: absolute;
  left: -8px;
  bottom: 14px;
  background: var(--bg-main);
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.page-home .p-categories__content .section-label {
  color: var(--accent);
}

.page-home .p-categories__content .section-title,
.page-home .p-changelog__head .section-title {
  margin: 6px 0 10px;
}

.page-home .p-categories__content .section-lead,
.page-home .p-legacy__content .section-lead,
.page-home .p-weekend__head .section-lead,
.page-home .p-quick__copy .section-lead {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 16px;
}

/* V3.2 分类标签 */
.page-home .p-cats__switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.page-home .p-cats__btn {
  border: 1px solid var(--grid-line);
  background: var(--bg-panel);
  color: var(--text-dim);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.page-home .p-cats__btn:hover {
  color: var(--text-strong);
  border-color: var(--grid-solid);
}

.page-home .p-cats__btn[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
}

.page-home .p-cats__panel {
  min-height: 120px;
  background: var(--bg-panel);
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
}

.page-home .p-cats__panel .data-text {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--accent);
}

.page-home .p-cats__more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 136, 0.3);
  transition: border-color 0.2s;
}

.page-home .p-cats__more:hover {
  border-color: var(--accent);
}

/* ---------- 周末连着看两场 ---------- */
.page-home .p-weekend {
  position: relative;
  padding-top: 56px;
  background:
    linear-gradient(180deg, transparent, rgba(24, 42, 61, 0.35) 24%, rgba(24, 42, 61, 0.35) 76%, transparent);
}

.page-home .p-weekend__head {
  text-align: center;
  margin-bottom: 28px;
}

.page-home .p-weekend__head .section-title {
  margin: 6px 0 10px;
}

.page-home .p-weekend__head .section-lead {
  margin-bottom: 0;
}

.page-home .p-weekend__body {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .p-weekend__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grid-line);
}

.page-home .p-weekend__visual img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-home .p-weekend__flow {
  position: absolute;
  right: 0;
  bottom: 12px;
  width: 64%;
  height: 64px;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.4));
}

.page-home .p-weekend__flow path {
  stroke-dasharray: 8 6;
  animation: p-flow 1.4s linear infinite;
}

@keyframes p-flow {
  from { stroke-dashoffset: 14; }
  to { stroke-dashoffset: 0; }
}

.page-home .p-weekend__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: p-step;
}

.page-home .p-weekend__step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.page-home .p-weekend__num {
  font-size: 20px;
  color: var(--accent);
  line-height: 1.3;
  min-width: 36px;
}

.page-home .p-weekend__step h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
}

.page-home .p-weekend__step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}

/* ---------- 华人PC端专区 ---------- */
.page-home .p-legacy__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .p-legacy__content .section-label {
  color: var(--legacy);
}

.page-home .p-legacy__content .section-title {
  margin: 6px 0 10px;
}

.page-home .p-legacy__points {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .p-legacy__points li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}

.page-home .p-legacy__point-icon {
  color: var(--legacy);
  font-size: 10px;
}

.page-home .p-legacy__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grid-line);
}

.page-home .p-legacy__visual img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-home .p-legacy__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(10, 27, 42, 0.82);
  color: var(--legacy);
  border: 1px solid rgba(191, 107, 74, 0.4);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ---------- 会员中心旁快捷查询 ---------- */
.page-home .p-quick__panel {
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(0, 255, 136, 0.08), transparent 45%),
    var(--bg-panel);
  padding: 28px 20px;
  display: grid;
  gap: 26px;
}

.page-home .p-quick__copy .section-label {
  color: var(--accent);
}

.page-home .p-quick__copy .section-title {
  margin: 6px 0 10px;
}

.page-home .p-quick__paths {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.page-home .p-quick__path {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--grid-line);
  background: var(--bg-main);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  color: var(--text-body);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.page-home .p-quick__path:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(3px);
}

.page-home .p-quick__path-arrow {
  color: var(--accent);
  font-size: 13px;
}

.page-home .p-quick__rank {
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  padding: 14px 16px 10px;
}

.page-home .p-quick__rank-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
}

.page-home .p-quick__rank-head .data-text {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-dim);
}

.page-home .p-rank__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--grid-line);
  padding: 12px 2px;
  cursor: default;
  transition: background 0.2s;
}

.page-home .p-rank__item:hover,
.page-home .p-rank__item:focus-within {
  background: var(--accent-dim);
}

.page-home .p-rank__pos {
  width: 28px;
  font-size: 15px;
  color: var(--grid-solid);
}

.page-home .p-rank__name {
  font-size: 14px;
  color: var(--text-strong);
}

.page-home .p-rank__matches {
  font-size: 12px;
  color: var(--text-dim);
}

.page-home .p-rank__trend {
  margin-left: auto;
  position: relative;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  white-space: nowrap;
}

.page-home .p-rank__trend-detail {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 10;
  background: var(--bg-raised);
  border: 1px solid var(--grid-solid);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--text-body);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  pointer-events: none;
}

.page-home .p-rank__item:hover .p-rank__trend-detail,
.page-home .p-rank__item:focus-within .p-rank__trend-detail {
  opacity: 1;
  transform: translateY(0);
}

.page-home .p-quick__rank-foot {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--grid-line);
  font-size: 11px;
  color: var(--text-dim);
}

/* ---------- V3.2 改版说明 ---------- */
.page-home .p-changelog {
  padding-bottom: 64px;
}

.page-home .p-changelog__head .section-label {
  color: var(--grid-solid);
}

.page-home .p-changelog__head .section-title {
  margin-bottom: 0;
}

.page-home .p-changelog__grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.page-home .p-changelog__item {
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s, transform 0.2s;
}

.page-home .p-changelog__item:hover {
  border-color: rgba(0, 255, 136, 0.4);
  transform: translateY(-2px);
}

.page-home .p-changelog__tag {
  align-self: flex-start;
  font-size: 11px;
  font-family: var(--font-data);
  color: var(--grid-solid);
  background: rgba(138, 155, 171, 0.1);
  border: 1px solid var(--grid-line);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.page-home .p-changelog__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-strong);
}

.page-home .p-changelog__item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-body);
}

.page-home .p-changelog__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
}

.page-home .p-changelog__link {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.page-home .p-changelog__link:hover {
  border-color: var(--accent);
}

/* ---------- 响应式：小屏微调 ---------- */
@media (max-width: 420px) {
  .page-home .p-hero__frame {
    padding-left: 14px;
    padding-right: 14px;
  }

  .page-home .p-hero__title {
    font-size: clamp(36px, 13vw, 52px);
  }

  .page-home .p-sched__item {
    grid-template-columns: 62px auto 1fr;
    grid-template-areas:
      "time status arrow"
      "meta meta meta";
    gap: 6px 10px;
  }

  .page-home .p-sched__meta {
    white-space: normal;
  }

  .page-home .p-sched__pc-row {
    grid-template-columns: 64px 80px 1fr;
    gap: 8px;
  }

  .page-home .p-rank__matches {
    display: none;
  }
}

/* ---------- 响应式：平板 ---------- */
@media (min-width: 640px) {
  .page-home .p-changelog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .p-categories__media .image-frame img {
    max-height: 560px;
  }

  .page-home .p-weekend__body {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
  }

  .page-home .p-quick__paths {
    flex-direction: row;
  }
}

/* ---------- 响应式：桌面 ---------- */
@media (min-width: 900px) {
  .page-home .p-hero {
    padding-top: 20px;
  }

  .page-home .p-hero__frame {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas:
      "top    top"
      "copy   visual"
      "tools  visual";
    gap: 24px 36px;
    padding: 36px 34px 28px;
  }

  .page-home .p-hero__copy {
    align-self: end;
  }

  .page-home .p-hero__tools {
    align-self: start;
  }

  .page-home .p-hero__visual {
    aspect-ratio: auto;
    min-height: 400px;
    height: auto;
  }

  .page-home .p-hero__visual img {
    height: 100%;
    min-height: 400px;
  }

  .page-home .p-categories__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 52px;
  }

  .page-home .p-categories__media {
    max-width: 440px;
    margin: 0;
  }

  .page-home .p-categories__media .image-frame img {
    max-height: none;
  }

  .page-home .p-legacy__grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 52px;
  }

  .page-home .p-quick__panel {
    grid-template-columns: 1fr 400px;
    gap: 44px;
    padding: 40px 36px;
    align-items: center;
  }

  .page-home .p-changelog__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .p-weekend__flow path,
  .page-home .p-sched__item--live .p-sched__arrow {
    animation: none;
  }

  .page-home .p-sched__item:hover .p-sched__countdown,
  .page-home .p-sched__item:focus-within .p-sched__countdown,
  .page-home .p-rank__item:hover .p-rank__trend-detail,
  .page-home .p-rank__item:focus-within .p-rank__trend-detail {
    transition: none;
  }
}
