/* ============ 首页 · 夜间牌室前台 ============ */

.page-home .hero {
  padding-top: clamp(36px, 6vw, 84px);
  padding-bottom: clamp(64px, 9vw, 132px);
  background: var(--ivory);
}

.page-home .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px);
}

@media (min-width: 940px) {
  .page-home .hero-inner {
    grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
    align-items: start;
  }
}

/* ---- 左栏：品牌叙事 ---- */

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

.page-home .hero-title {
  margin: 14px 0 0;
  color: var(--felt);
}

.page-home .hero-lede {
  margin: 22px 0 0;
  max-width: 32ch;
  color: var(--ink);
}

.page-home .hero-note {
  margin: 18px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--chip);
  max-width: 30ch;
  font-size: clamp(.92rem, 1.05vw, 1rem);
  line-height: 1.85;
  color: var(--score);
}

.page-home .hero-figure {
  margin: clamp(28px, 4vw, 44px) 0 0;
}

.page-home .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 2px solid var(--felt);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

/* ---- 右栏：框景入口带 ---- */

.page-home .hero-frame {
  margin: 0;
  background: var(--ivory-soft);
}

.page-home .entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .entry-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2vw, 20px);
  padding: clamp(20px, 3vw, 30px) 0;
  border-bottom: 1px dashed var(--paper-line);
}

.page-home .entry-item:first-child {
  padding-top: 6px;
}

.page-home .entry-item:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.page-home .entry-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(216, 162, 74, .18);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--felt);
}

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

.page-home .entry-title {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--felt);
}

.page-home .entry-item p {
  margin: 0 0 12px;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--score);
}

.page-home .entry-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--chip);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, transform .2s ease;
}

.page-home .entry-link::after {
  content: "→";
  font-family: var(--font-mono);
}

.page-home .entry-link:hover,
.page-home .entry-link:focus-visible {
  border-bottom-color: var(--chip);
  transform: translateX(3px);
}

/* ---- 三步入座 ---- */

.page-home .section--steps {
  background: var(--ivory);
}

.page-home .steps-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

@media (min-width: 900px) {
  .page-home .steps-head {
    grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
    align-items: end;
  }
}

.page-home .steps-lede {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--score);
  border-left: 3px solid var(--gold);
  padding-left: 16px;
}

.page-home .step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 30px);
}

@media (min-width: 840px) {
  .page-home .step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .step:nth-child(2) {
    margin-top: 24px;
  }
  .page-home .step:nth-child(3) {
    margin-top: 48px;
  }
}

.page-home .step {
  position: relative;
  background: var(--ivory-soft);
  border: 2px solid var(--felt-line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px) clamp(20px, 2.6vw, 30px);
}

.page-home .step-no {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--chip);
}

.page-home .step-title {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--felt);
}

.page-home .step-text {
  margin: 0;
  font-size: .95rem;
  line-height: 1.85;
  color: var(--score);
}

.page-home .fold {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--paper-line);
}

.page-home .fold summary {
  list-style: none;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--felt);
}

.page-home .fold summary::-webkit-details-marker {
  display: none;
}

.page-home .fold summary::after {
  content: " +";
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--chip);
}

.page-home .fold[open] summary::after {
  content: " −";
}

.page-home .fold-body {
  margin-top: 10px;
  font-size: .88rem;
  line-height: 1.85;
  color: var(--score);
}

/* ---- 本季更新：记分纸条目 ---- */

.page-home .section--updates {
  overflow: hidden;
}

.page-home .updates-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 900px) {
  .page-home .updates-grid {
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  }
}

.page-home .updates-lede {
  margin: clamp(16px, 2vw, 24px) 0 0;
  max-width: 34ch;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 249, 236, .78);
}

.page-home .score-list {
  list-style: none;
  margin: clamp(26px, 3.4vw, 40px) 0 0;
  padding: 0;
}

.page-home .score-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 16px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(244, 239, 227, .22);
}

.page-home .score-list li:last-child {
  border-bottom: 0;
}

@media (min-width: 640px) {
  .page-home .score-list li {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}

.page-home .score-no {
  font-family: var(--font-mono);
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--gold);
}

.page-home .score-text {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--lamp);
}

.page-home .score-tag {
  grid-column: 2;
  justify-self: start;
  padding: 2px 10px;
  border: 1px solid var(--status-on-dark);
  border-radius: 999px;
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--status-on-dark);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .page-home .score-tag {
    grid-column: auto;
    justify-self: end;
  }
}

.page-home .updates-figure {
  margin: 0;
}

.page-home .updates-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 2px solid var(--felt-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard-dark);
}

.page-home .updates-figure figcaption {
  margin-top: 14px;
  font-size: .82rem;
  letter-spacing: .06em;
  line-height: 1.8;
  color: rgba(255, 249, 236, .62);
}

/* ---- 六个入口 ---- */

.page-home .section--channels {
  background: var(--ivory-soft);
}

.page-home .channels-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: clamp(32px, 4.4vw, 56px);
}

@media (min-width: 900px) {
  .page-home .channels-head {
    grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
    align-items: end;
  }
}

.page-home .channels-lede {
  margin: 0;
  max-width: 32ch;
  font-size: .98rem;
  line-height: 1.9;
  color: var(--score);
}

.page-home .channel-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}

@media (min-width: 640px) {
  .page-home .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-home .channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .channel-card:nth-child(4) {
    margin-top: 30px;
  }
  .page-home .channel-card:nth-child(5) {
    margin-top: 12px;
  }
  .page-home .channel-card:nth-child(6) {
    margin-top: 42px;
  }
}

.page-home .channel-card {
  position: relative;
  background: var(--ivory);
  border: 2px solid var(--felt);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-home .channel-card:hover,
.page-home .channel-card:focus-within {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 rgba(14, 46, 38, .9);
}

.page-home .channel-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: clamp(22px, 2.6vw, 30px);
  text-decoration: none;
  color: inherit;
}

.page-home .card-index {
  align-self: flex-start;
  padding: 3px 10px;
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--score);
}

.page-home .card-index--chip {
  border-color: var(--chip);
  background: var(--chip);
  color: var(--ivory);
}

.page-home .channel-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--felt);
}

.page-home .channel-desc {
  margin: 0;
  flex: 1 1 auto;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--score);
}

.page-home .channel-more {
  align-self: flex-start;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--chip);
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}

.page-home .channel-card:hover .channel-more,
.page-home .channel-card:focus-within .channel-more {
  border-bottom-color: var(--chip);
}

.page-home .channel-figure {
  margin: 4px 0 0;
}

.page-home .channel-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 25 / 16;
  object-fit: cover;
  border: 2px solid var(--felt-line);
  border-radius: var(--radius);
}

/* ---- 手机端反馈 ---- */

.page-home .section--mobile {
  background: var(--ivory);
}

.page-home .mobile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

@media (min-width: 900px) {
  .page-home .mobile-grid {
    grid-template-columns: minmax(0, 36fr) minmax(0, 64fr);
    gap: clamp(44px, 6vw, 88px);
  }
}

.page-home .phone-figure {
  margin: 0;
  justify-self: start;
}

.page-home .phone-figure img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 2px solid var(--felt);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

.page-home .phone-figure figcaption {
  max-width: 280px;
  margin-top: 14px;
  font-size: .82rem;
  line-height: 1.8;
  color: var(--score);
}

.page-home .mobile-body {
  min-width: 0;
}

.page-home .mobile-lede {
  margin: 18px 0 0;
  max-width: 36ch;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink);
}

.page-home .mobile-sub {
  margin: clamp(26px, 3.4vw, 38px) 0 0;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--felt);
}

.page-home .fill-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
  max-width: 44ch;
}

.page-home .fill-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .96rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .fill-list .chip-dot {
  flex: 0 0 auto;
  margin-top: .55em;
}

.page-home .mobile-note {
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding: 14px 18px;
  max-width: 46ch;
  border-left: 3px solid var(--gold);
  background: var(--ivory-soft);
  font-size: .9rem;
  line-height: 1.85;
  color: var(--score);
}

.page-home .mobile-body .btn {
  margin-top: clamp(22px, 3vw, 32px);
}

/* ---- 信任区 ---- */

.page-home .section--trust {
  overflow: hidden;
}

.page-home .trust-head {
  max-width: 46ch;
}

.page-home .trust-lede {
  margin: 18px 0 0;
  color: rgba(255, 249, 236, .78);
}

.page-home .trust-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin: clamp(34px, 4.6vw, 58px) 0 0;
  border: 2px solid var(--felt-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--felt-line);
}

@media (min-width: 840px) {
  .page-home .trust-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-home .trust-stat {
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--felt-2);
}

.page-home .trust-label {
  font-size: .74rem;
  letter-spacing: .18em;
  color: rgba(255, 249, 236, .6);
}

.page-home .trust-value {
  margin: 10px 0 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.5;
  color: var(--lamp);
}

.page-home .trust-value .num {
  font-size: 1.35em;
  color: var(--gold);
}

.page-home .trust-foot {
  margin: clamp(28px, 3.6vw, 42px) 0 0;
  font-size: .95rem;
  line-height: 1.9;
  color: rgba(255, 249, 236, .72);
}

.page-home .trust-foot a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---- 焦点与动效 ---- */

.page-home a:focus-visible,
.page-home summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
