.page-home {
  background-color: #FFFFFF;
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home section {
  padding-block: 56px;
}

@media (min-width: 768px) {
  .page-home section {
    padding-block: 80px;
  }
}

/* ===== 面包屑 ===== */
.page-home .home-breadcrumbs {
  margin-bottom: 8px;
  padding-top: 24px;
}

/* ===== 首屏 Hero ===== */
.page-home .home-hero {
  position: relative;
  padding-block: 0 56px;
  background-color: var(--color-bg);
  background-image:
    linear-gradient(rgba(10, 31, 68, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 68, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.page-home .home-hero-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .page-home .home-hero-grid {
    grid-template-columns: 1.06fr 0.94fr;
    gap: 32px;
    align-items: start;
  }
}

.page-home .home-hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-navy);
  color: #FFFFFF;
  clip-path: polygon(0 0, 100% 0, calc(100% - 36px) 100%, 0 100%);
  padding: 40px 28px;
}

.page-home .home-hero-main .home-hero-brand {
  display: inline-block;
  align-self: flex-start;
  background: var(--color-orange);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
}

.page-home .home-hero-title {
  margin: 16px 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.page-home .home-hero-desc {
  margin: 0 0 24px;
  max-width: 42em;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.page-home .home-hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #FFFFFF;
}

.page-home .home-hero .btn-outline:hover {
  border-color: var(--color-orange);
  background: var(--color-orange);
  color: #FFFFFF;
}

.page-home .home-hero-meta {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .page-home .home-hero-main {
    margin-top: 48px;
    padding: 64px 56px;
  }
}

.page-home .home-hero-aside {
  background: var(--color-orange);
  clip-path: polygon(36px 0, 100% 0, 100% 100%, 0 100%);
  padding: 28px 20px;
}

@media (min-width: 768px) {
  .page-home .home-hero-aside {
    padding: 40px 36px;
  }
}

.page-home .home-hero-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-navy-2);
}

.page-home .home-hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .home-hero-media-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--color-navy);
  color: #FFFFFF;
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-left: 4px solid var(--color-orange);
}

.page-home .home-hero-panel {
  background: var(--color-navy-2);
  color: #FFFFFF;
  padding: 16px 16px 20px;
}

.page-home .home-hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.page-home .home-hero-panel-tag {
  background: var(--color-orange);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
}

.page-home .home-hero-panel-more {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.page-home .home-hero-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.page-home .home-hero-scroll {
  max-height: 190px;
  overflow-y: auto;
  margin-top: 12px;
  border-block: 1px solid rgba(255, 255, 255, 0.14);
  scrollbar-width: thin;
  scrollbar-color: var(--color-orange) rgba(255, 255, 255, 0.16);
}

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

.page-home .home-hero-updates li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}

.page-home .home-hero-updates li:last-child {
  border-bottom: 0;
}

.page-home .home-update-version {
  font-family: var(--font-num);
  color: var(--color-orange);
  font-weight: 700;
  font-size: 14px;
}

.page-home .home-hero-updates p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}

.page-home .home-hero-panel-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--color-orange-light);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.page-home .home-hero-panel-link:hover {
  color: var(--color-orange);
}

/* ===== 赛事日历预览 ===== */
.page-home .home-calendar {
  border-top: 6px solid var(--color-navy);
  background: var(--color-white);
}

.page-home .home-calendar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.page-home .home-calendar-icon {
  flex-shrink: 0;
  width: 104px;
  height: 104px;
  object-fit: contain;
  background: var(--color-orange-light);
  padding: 12px;
}

@media (min-width: 768px) {
  .page-home .home-calendar-icon {
    width: 120px;
    height: 120px;
    padding: 14px;
  }
}

.page-home .home-cal-wrap {
  border: 1px solid var(--border-light);
  background: var(--color-bg);
  padding: 16px;
}

@media (min-width: 768px) {
  .page-home .home-cal-wrap {
    padding: 24px;
  }
}

.page-home .home-cal-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-home .home-cal-tab {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-home .home-cal-tab + .home-cal-input + .home-cal-tab {
  border-left: 0;
}

.page-home .home-cal-input:checked + .home-cal-tab,
.page-home .home-cal-tab:hover {
  background: var(--color-navy);
  color: #FFFFFF;
  border-color: var(--color-navy);
}

.page-home .home-cal-input:focus-visible + .home-cal-tab {
  outline: 3px solid var(--color-orange);
  outline-offset: 2px;
}

.page-home .home-cal-panel {
  margin-top: 20px;
  overflow-x: auto;
}

.page-home #cal-week-next:checked ~ .home-cal-panel--this {
  display: none;
}

.page-home #cal-week-this:checked ~ .home-cal-panel--next {
  display: none;
}

.page-home .home-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  min-width: 1050px;
  border: 1px solid var(--border-light);
}

.page-home .home-cal-day {
  min-height: 170px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  padding: 14px;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.page-home .home-cal-day:nth-child(7) {
  border-right: 0;
}

.page-home .home-cal-day:hover {
  background: #FFFDFB;
  box-shadow: inset 0 -4px 0 var(--color-orange);
}

.page-home .home-cal-day-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.page-home .home-cal-day-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.page-home .home-cal-day-num {
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-orange);
}

.page-home .home-cal-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-cal-events li {
  display: grid;
  grid-template-columns: 44px 44px 1fr;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.3;
}

.page-home .home-cal-sport {
  background: var(--color-bg);
  color: var(--color-navy);
  text-align: center;
  padding: 3px 0;
  font-size: 12px;
  font-weight: 600;
  border-right: 2px solid var(--color-orange);
}

.page-home .home-cal-events b {
  font-family: var(--font-num);
  color: var(--color-text);
  font-size: 13px;
}

.page-home .home-calendar-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.page-home .home-calendar-note {
  font-size: 14px;
  color: var(--color-muted);
}

/* ===== 快速入口模块 ===== */
.page-home .home-entry {
  background: var(--color-bg);
}

.page-home .home-entry-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .page-home .home-entry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-home .home-entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-home .home-entry-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--color-orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.2s ease;
}

.page-home .home-entry-card:hover {
  border-color: var(--color-orange);
  box-shadow: 0 12px 24px rgba(10, 31, 68, 0.08);
  transform: translateY(-2px);
}

.page-home .home-entry-card:hover::before {
  transform: scaleY(1);
}

.page-home .home-entry-num {
  margin-bottom: 16px;
  font-family: var(--font-num);
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  color: var(--color-orange);
}

.page-home .home-entry-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
}

.page-home .home-entry-body p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-muted);
}

.page-home .home-entry-points {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-home .home-entry-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--color-text);
}

.page-home .home-entry-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--color-orange);
}

.page-home .home-entry-link {
  margin-top: auto;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  transition: color 0.2s ease;
}

.page-home .home-entry-card:hover .home-entry-link {
  color: var(--color-orange);
}

/* ===== 数据指标 ===== */
.page-home .home-metrics {
  background: var(--color-navy);
  color: #FFFFFF;
}

.page-home .home-metrics-kicker {
  margin: 0 0 20px;
  color: var(--color-orange-light);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-home .home-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0;
}

@media (min-width: 768px) {
  .page-home .home-metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-home .home-metric {
  border-left: 2px solid rgba(255, 255, 255, 0.22);
  padding-left: 20px;
}

.page-home .home-metric dt {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .home-metric dd {
  margin: 8px 0 0;
  font-family: var(--font-num);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--color-orange);
}

/* ===== 登录令牌变更提示 ===== */
.page-home .home-token {
  background: var(--color-white);
  border-top: 1px solid var(--border-light);
}

.page-home .home-token-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .page-home .home-token-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 56px;
  }
}

.page-home .home-token-copy {
  max-width: 560px;
}

.page-home .home-token-lead {
  margin: 16px 0 20px;
  font-size: 17px;
  color: var(--color-muted);
}

.page-home .home-token-steps {
  list-style: none;
  counter-reset: token-step;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .home-token-steps li {
  counter-increment: token-step;
  position: relative;
  padding-left: 52px;
  font-size: 16px;
  line-height: 1.5;
}

.page-home .home-token-steps li::before {
  content: "0" counter(token-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--color-orange-light);
  color: var(--color-navy);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
}

.page-home .home-token-warn {
  background: var(--color-orange-light);
  border-left: 4px solid var(--color-orange);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--color-navy);
}

.page-home .home-token-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

@media (max-width: 420px) {
  .page-home .home-token-visual {
    grid-template-columns: 1fr;
  }
}

.page-home .home-qr-wrap {
  position: relative;
}

.page-home .home-qr-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.page-home .home-qr-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .home-qr-code:hover {
  border-color: var(--color-orange);
  transform: scale(1.02);
}

.page-home .home-qr-code svg {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
}

.page-home .home-qr-hint {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-muted);
}

.page-home .home-qr-input:focus-visible + .home-qr-code {
  outline: 3px solid var(--color-orange);
  outline-offset: 2px;
}

.page-home .home-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 31, 68, 0.88);
  padding: 24px;
  text-align: center;
}

.page-home .home-qr-input:checked ~ .home-qr-modal {
  display: flex;
}

.page-home .home-qr-modal svg {
  display: block;
  width: min(320px, 76vw);
  height: auto;
  background: #FFFFFF;
  padding: 14px;
}

.page-home .home-qr-modal p {
  margin-top: 16px;
  color: #FFFFFF;
  font-size: 16px;
}

.page-home .home-qr-close {
  display: inline-block;
  margin-top: 16px;
  background: var(--color-orange);
  color: #FFFFFF;
  padding: 10px 26px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.page-home .home-token-img img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-light);
  background: var(--color-bg);
}

/* ===== 官方同步说明 ===== */
.page-home .home-note {
  background: var(--color-bg);
}

.page-home .home-note-block {
  margin-top: 12px;
}
