.page-home {
  background: var(--ink-night);
  color: var(--lamp);
  --home-radius: 14px;
  --home-line: rgba(247, 251, 247, .18);
}

.page-home .container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- 首屏 ---------- */
.page-home .hero-home {
  position: relative;
  padding: clamp(104px, 17vw, 168px) 0 clamp(96px, 12vw, 140px);
  background:
    radial-gradient(120% 90% at 82% -10%, rgba(198, 255, 61, .12), transparent 62%),
    radial-gradient(80% 70% at 0% 100%, rgba(255, 122, 47, .10), transparent 60%),
    var(--ink-night);
}

.page-home .hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32'%3E%3Cg fill='none' stroke='%236B4A32' stroke-width='2'%3E%3Cpath d='M0 1h64M0 17h64M16 1v16M48 17v16'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .12;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%);
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

.page-home .hero-home::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 42px;
  height: 3px;
  background: var(--neon-grad);
  transform: rotate(-1.4deg);
  opacity: .9;
}

.page-home .hero-grid {
  position: relative;
  display: grid;
  gap: clamp(30px, 5vw, 48px);
}

.page-home .breadcrumb {
  margin: 0 0 18px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--mist);
}

.page-home .breadcrumb .crumb-home {
  color: var(--neon);
}

.page-home .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--mist);
}

.page-home .eyebrow::before {
  content: "";
  width: 4px;
  height: 16px;
  background: var(--neon);
}

.page-home .eyebrow-ink {
  color: rgba(20, 17, 14, .68);
}

.page-home .eyebrow-ink::before {
  background: var(--stand-orange);
}

.page-home .hero-title {
  margin: 16px 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: condensed;
  font-size: clamp(44px, 11.5vw, 94px);
  line-height: .95;
  letter-spacing: -.02em;
}

.page-home .hero-title em {
  display: block;
  font-style: normal;
  color: var(--neon);
  text-shadow: 0 0 32px rgba(198, 255, 61, .32);
}

.page-home .lede {
  max-width: 34em;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--lamp);
  opacity: .84;
}

/* 票根入口 */
.page-home .ticket-row {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.page-home .ticket {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 18px 68px 18px 20px;
  border: var(--bw) solid var(--home-line);
  border-radius: var(--home-radius);
  background: linear-gradient(150deg, var(--moss), var(--ink-green) 70%);
  box-shadow: var(--hard-sm);
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}

.page-home .ticket::before {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--ink-night);
  border: var(--bw) solid var(--home-line);
}

.page-home .ticket::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 16px;
  bottom: 16px;
  width: 26px;
  background-image: repeating-linear-gradient(90deg, var(--lamp) 0 2px, transparent 2px 5px);
  opacity: .35;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}

.page-home .ticket:hover,
.page-home .ticket:focus-within {
  transform: translateY(-4px);
  border-color: var(--neon);
  box-shadow: var(--hard);
}

.page-home .ticket:hover::after,
.page-home .ticket:focus-within::after {
  opacity: .8;
  transform: translateX(3px);
}

.page-home .ticket-tab {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--neon);
}

.page-home .ticket-title {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--lamp);
}

.page-home .ticket-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
}

.page-home .ticket-link {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--neon);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

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

/* 首屏右：照片 + 记分块 */
.page-home .hero-visual {
  display: grid;
  align-content: start;
}

.page-home .hero-photo {
  margin: 0;
  border: var(--bw) solid var(--home-line);
  clip-path: polygon(0 0, 100% 3.2%, 100% 100%, 0 96.8%);
  overflow: hidden;
  background: var(--ink-green);
}

.page-home .hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.65) brightness(.68) contrast(1.12);
}

.page-home .hero-photo figcaption {
  padding: 8px 14px 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .score-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: -14px;
  border: var(--bw) solid rgba(198, 255, 61, .4);
  background: var(--ink-black);
  box-shadow: var(--hard-sm);
  overflow: hidden;
}

.page-home .score-strip-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
  filter: grayscale(.3) brightness(.8);
}

.page-home .score-cell {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 14px 10px;
  border-left: 1px solid rgba(198, 255, 61, .22);
  text-align: center;
}

.page-home .score-cell:first-of-type {
  border-left: 0;
}

.page-home .score-league {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mist);
}

.page-home .score-value {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 700;
  line-height: 1;
  color: var(--neon);
  text-shadow: 0 0 16px rgba(198, 255, 61, .5);
}

.page-home .score-colon {
  color: var(--stand-orange);
  padding-inline: 2px;
}

.page-home .score-note {
  font-size: 11px;
  color: var(--mist);
}

/* ---------- 横向主题带 ---------- */
.page-home .home-band {
  position: relative;
  background: var(--moss);
  border-block: var(--bw) solid var(--ink-black);
  overflow: hidden;
}

.page-home .home-band .band-track {
  display: flex;
  gap: 28px;
  padding: 12px 20px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .home-band .band-item {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--lamp);
  opacity: .82;
}

.page-home .home-band .band-item::before {
  content: "●";
  margin-right: 10px;
  color: var(--stand-orange);
  font-size: 8px;
  vertical-align: middle;
}

/* ---------- 联赛座位 ---------- */
.page-home .leagues {
  position: relative;
  padding: clamp(64px, 9vw, 104px) 0 clamp(56px, 8vw, 92px);
  background: var(--ink-green);
  clip-path: polygon(0 44px, 100% 0, 100% 100%, 0 100%);
}

.page-home .section-title {
  margin: 16px 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  font-size: clamp(30px, 6.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--lamp);
}

.page-home .section-lede {
  max-width: 46em;
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 26px 0 8px;
}

.page-home .filter-btn {
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--lamp);
  background: transparent;
  border: 2px solid rgba(247, 251, 247, .32);
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .filter-btn:hover {
  border-color: var(--neon);
}

.page-home .filter-btn[aria-pressed="true"] {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--ink-night);
}

.page-home .filter-count {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--stand-orange);
  letter-spacing: .08em;
}

.page-home .seat-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.page-home .seat {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: var(--bw) solid var(--home-line);
  border-radius: var(--home-radius);
  background: rgba(11, 15, 14, .55);
  box-shadow: var(--hard-sm);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}

.page-home .seat:hover {
  transform: translateY(-4px);
  border-color: var(--neon);
}

.page-home .seat[hidden] {
  display: none;
}

.page-home .seat.is-fav {
  border-color: rgba(255, 122, 47, .65);
}

.page-home .seat-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .seat-no {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--stand-orange);
  letter-spacing: .1em;
}

.page-home .seat-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  letter-spacing: .02em;
}

.page-home .seat-top .chip {
  margin-left: auto;
  font-size: 11px;
}

.page-home .seat-score {
  margin: 0;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  color: var(--neon);
  letter-spacing: .04em;
}

.page-home .seat-score small {
  font-size: 11px;
  color: var(--mist);
  margin-left: 8px;
  letter-spacing: .02em;
}

.page-home .seat-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .seat-link {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--neon);
  text-decoration: none;
  align-self: end;
}

.page-home .seat-link:hover {
  color: var(--stand-orange);
}

/* ---------- 通勤战报 ---------- */
.page-home .commute {
  padding: clamp(64px, 9vw, 108px) 0;
  background: var(--ink-night);
}

.page-home .commute-grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.page-home .commute-photo {
  margin: 0;
  border: var(--bw) solid var(--home-line);
  border-radius: var(--home-radius);
  overflow: hidden;
  box-shadow: var(--hard);
}

.page-home .commute-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(.6) brightness(.72) contrast(1.08);
}

.page-home .commute-photo figcaption {
  padding: 10px 14px 12px;
  font-size: 12px;
  color: var(--mist);
}

.page-home .commute-copy p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--lamp);
  opacity: .86;
}

.page-home .commute-stats {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--bw) solid var(--moss);
}

.page-home .commute-stats li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 6px 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(247, 251, 247, .12);
}

.page-home .stat-num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--neon);
  text-shadow: 0 0 14px rgba(198, 255, 61, .35);
}

.page-home .stat-unit {
  font-size: 13px;
  color: var(--stand-orange);
}

.page-home .stat-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 入口变更 ---------- */
.page-home .changes {
  padding: clamp(60px, 9vw, 100px) 0;
  background:
    linear-gradient(180deg, rgba(28, 69, 54, .55), transparent 65%),
    var(--ink-green);
  border-top: var(--bw) solid rgba(198, 255, 61, .28);
  clip-path: polygon(0 0, 100% 36px, 100% 100%, 0 100%);
}

.page-home .changes-grid {
  display: grid;
  gap: 32px;
}

.page-home .changes-copy p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--lamp);
  opacity: .86;
}

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

.page-home .search-demo {
  padding: 22px;
  border: var(--bw) solid rgba(198, 255, 61, .42);
  border-radius: var(--home-radius);
  background: var(--ink-black);
  box-shadow: var(--hard-sm);
}

.page-home .pill-search.search-mock {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 2px solid rgba(247, 251, 247, .3);
  border-radius: 999px;
  background: rgba(28, 69, 54, .55);
}

.page-home .pill-search .icon {
  color: var(--neon);
  font-size: 16px;
}

.page-home .pill-search-text {
  font-size: 13px;
  color: var(--mist);
  line-height: 1.5;
}

.page-home .search-first {
  margin: 16px 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--lamp);
}

.page-home .search-first strong {
  font-family: var(--font-num);
  font-size: 20px;
  color: var(--stand-orange);
  padding-inline: 2px;
}

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

.page-home .search-keys li {
  font-size: 13px;
  line-height: 1.65;
  color: var(--mist);
}

.page-home .key-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  font-family: var(--font-num);
  font-size: 11px;
  color: var(--ink-night);
  background: var(--neon);
  border-radius: 3px;
}

/* ---------- 围巾横幅 ---------- */
.page-home .scarf-banner {
  margin: 0;
  border-block: var(--bw) solid var(--ink-black);
  clip-path: polygon(0 26px, 100% 0, 100% calc(100% - 26px), 0 100%);
  overflow: hidden;
  background: var(--ink-black);
}

.page-home .scarf-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  object-fit: cover;
  filter: saturate(.75) brightness(.7) contrast(1.1);
}

.page-home .scarf-banner figcaption {
  padding: 10px 20px 16px;
  font-size: 12px;
  color: var(--mist);
}

/* ---------- 反馈柜台 ---------- */
.page-home .desk.paper-zone {
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 104px);
  background: var(--paper);
  color: var(--paper-ink);
}

.page-home .desk .section-title {
  color: var(--paper-ink);
}

.page-home .desk-lede {
  max-width: 52em;
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(20, 17, 14, .82);
}

.page-home .desk-grid {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
}

.page-home .desk-card {
  padding: 20px;
  border: var(--bw) solid var(--paper-ink);
  border-radius: 6px;
  background: #fffaf1;
  box-shadow: 5px 5px 0 rgba(20, 17, 14, .82);
}

.page-home .desk-no {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--stand-orange);
}

.page-home .desk-card h3 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  color: var(--paper-ink);
}

.page-home .desk-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(20, 17, 14, .78);
}

.page-home .desk-contact {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: var(--bw) solid var(--paper-ink);
}

.page-home .desk-contact .contact-item {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(20, 17, 14, .22);
}

.page-home .desk-contact .contact-label {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(20, 17, 14, .58);
}

.page-home .desk-contact .contact-value {
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper-ink);
  overflow-wrap: anywhere;
}

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

.page-home .desk-actions .btn-ghost {
  color: var(--paper-ink);
  border-color: var(--paper-ink);
}

.page-home .desk-actions .btn-ghost:hover {
  background: var(--paper-ink);
  color: var(--paper);
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-home .desk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .desk-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .page-home .ticket-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .page-home .ticket {
    padding: 16px 16px 18px;
  }

  .page-home .ticket::before {
    right: 50%;
    top: -12px;
    transform: translateX(50%);
  }

  .page-home .ticket::after {
    right: 14px;
    top: auto;
    bottom: 14px;
    left: 14px;
    width: auto;
    height: 14px;
    background-image: repeating-linear-gradient(90deg, var(--lamp) 0 2px, transparent 2px 5px);
  }

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 44px;
  }

  .page-home .hero-visual {
    transform: translateY(18px);
  }

  .page-home .ticket-row {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 520px;
  }

  .page-home .ticket {
    padding: 18px 70px 18px 22px;
  }

  .page-home .ticket::before {
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
  }

  .page-home .ticket::after {
    right: 22px;
    top: 16px;
    bottom: 16px;
    left: auto;
    width: 26px;
    height: auto;
    background-image: repeating-linear-gradient(90deg, var(--lamp) 0 2px, transparent 2px 5px);
  }

  .page-home .commute-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }

  .page-home .changes-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 48px;
  }

  .page-home .desk-contact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 24px;
  }
}

@media (min-width: 1080px) {
  .page-home .seat-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 28px;
  }

  .page-home .seat {
    grid-column: span 4;
  }

  .page-home .seat:nth-child(1) {
    grid-column: span 5;
  }

  .page-home .seat:nth-child(2) {
    grid-column: span 3;
    margin-top: 46px;
  }

  .page-home .seat:nth-child(3) {
    grid-column: span 4;
    margin-top: 18px;
  }

  .page-home .seat:nth-child(4) {
    grid-column: span 3;
  }

  .page-home .seat:nth-child(5) {
    grid-column: span 5;
    margin-top: 36px;
  }

  .page-home .seat:nth-child(6) {
    grid-column: span 4;
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ticket,
  .page-home .seat,
  .page-home .ticket::after {
    transition: none;
  }

  .page-home .ticket:hover,
  .page-home .seat:hover {
    transform: none;
  }
}
