.page-home{
  --home-edge: rgba(201, 162, 74, 0.34);
  --home-line: 1px solid rgba(201, 162, 74, 0.22);
  --home-card: linear-gradient(158deg, rgba(18, 42, 68, 0.97) 0%, rgba(11, 27, 43, 0.97) 100%);
  display: block;
  background: var(--ink-800);
  color: var(--ivory);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home h1,
.page-home h2,
.page-home h3{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.01em;
  margin: 0;
}

.page-home p{
  margin: 0 0 1rem;
  line-height: 1.85;
  color: rgba(242, 234, 217, 0.84);
}

/* ---------- 首屏 ---------- */
.page-home .hero{
  position: relative;
  isolation: isolate;
  padding-top: clamp(2.75rem, 8vw, 6rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  background:
    repeating-linear-gradient(90deg, rgba(201, 162, 74, 0.07) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(201, 162, 74, 0.05) 0 1px, transparent 1px 92px),
    linear-gradient(178deg, var(--ink-900) 0%, var(--ink-800) 58%, var(--ink-700) 100%);
}

.page-home .hero::before{
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8% -18% auto -18%;
  height: clamp(220px, 42vw, 520px);
  background: linear-gradient(104deg, rgba(196, 75, 63, 0.24) 0%, rgba(196, 75, 63, 0) 62%);
  clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 68%);
  pointer-events: none;
}

.page-home .hero__grid{
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: end;
}

.page-home .hero__tag{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  margin: 0 0 1.1rem;
}

.page-home .hero__tagline{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .hero h1{
  font-size: clamp(2rem, 6.2vw, 4.2rem);
  color: var(--ivory);
  margin-bottom: 1.1rem;
  text-wrap: balance;
}

.page-home .hero__deck{
  max-width: 34em;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: rgba(242, 234, 217, 0.86);
  margin-bottom: 1.5rem;
}

.page-home .hero__stats{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.9rem 1.25rem;
  margin: 0;
  padding: 1.1rem 0 0;
  list-style: none;
  border-top: var(--home-line);
}

.page-home .hero__stats li{
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.page-home .hero__num{
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 700;
  color: var(--gold-soft);
}

.page-home .hero__label{
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .hero__figure{
  margin: 0;
  position: relative;
}

.page-home .hero__figure img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--home-edge);
  box-shadow: var(--shadow-block);
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.page-home .hero__figure figcaption{
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--mist);
  text-align: right;
}

/* ---------- 快捷操作 ---------- */
.page-home .quick-actions{
  display: grid;
  margin-top: clamp(2rem, 5vw, 3.25rem);
  border: 1px solid var(--home-edge);
  background: rgba(18, 42, 68, 0.55);
}

.page-home .quick-actions__item{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num desc";
  gap: 0.2rem 0.9rem;
  padding: 1.05rem 1.2rem;
  text-decoration: none;
  color: var(--ivory);
  border-top: 1px solid rgba(201, 162, 74, 0.18);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .quick-actions__item:first-child{
  border-top: 0;
}

.page-home .quick-actions__item:hover,
.page-home .quick-actions__item:focus-visible{
  background: rgba(201, 162, 74, 0.1);
}

.page-home .quick-actions__num{
  grid-area: num;
  align-self: center;
  font-size: 0.95rem;
}

.page-home .quick-actions__title{
  grid-area: title;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gold-soft);
}

.page-home .quick-actions__desc{
  grid-area: desc;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--mist);
}

/* ---------- 本期目录 ---------- */
.page-home .home-index{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 1.4rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: 1rem;
  border-top: var(--home-line);
}

.page-home .home-index__label{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--celadon);
}

.page-home .home-index a{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(242, 234, 217, 0.72);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-home .home-index a:hover,
.page-home .home-index a:focus-visible{
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

.page-home .home-index__num{
  color: var(--gold);
  margin-right: 0.4rem;
}

/* ---------- 横向长条 ---------- */
.page-home .band{
  margin-block: clamp(2.25rem, 5.5vw, 4.5rem);
}

.page-home .band__inner{
  display: grid;
  gap: clamp(1.25rem, 3.5vw, 2.5rem);
  padding: clamp(1.15rem, 3vw, 2.4rem);
  border: 2px solid var(--bronze);
  background: var(--home-card);
  box-shadow: var(--shadow-block);
}

.page-home .band__figure{
  margin: 0;
}

.page-home .band__figure img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--home-edge);
}

.page-home .band__figure figcaption{
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--celadon);
}

.page-home .band h2{
  font-size: clamp(1.45rem, 3.4vw, 2.35rem);
  color: var(--ivory);
  margin: 0.35rem 0 0.9rem;
}

.page-home .band__body p{
  font-size: 0.98rem;
}

.page-home .chips{
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .chips li{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.32rem 0.68rem;
  border: 1px solid var(--home-edge);
  color: var(--gold-soft);
  background: rgba(201, 162, 74, 0.07);
}

.page-home .fields{
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--home-line);
}

.page-home .fields__row{
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 0.5rem 1rem;
  padding: 0.65rem 0;
  border-bottom: var(--home-line);
}

.page-home .fields__key{
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.page-home .fields__val{
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(242, 234, 217, 0.82);
}

.page-home .band__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

/* ---------- 规则栏目 ---------- */
.page-home .rules{
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background:
    linear-gradient(180deg, rgba(6, 17, 28, 0.55) 0%, rgba(11, 27, 43, 0) 100%),
    repeating-linear-gradient(90deg, rgba(201, 162, 74, 0.06) 0 1px, transparent 1px 120px);
  border-top: var(--home-line);
  border-bottom: var(--home-line);
}

.page-home .rules__grid{
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.page-home .rules__figure{
  margin: 0;
  align-self: start;
}

.page-home .rules__figure img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--home-edge);
  box-shadow: 8px 8px 0 -2px rgba(6, 17, 28, 0.85);
}

.page-home .rules__figure figcaption{
  margin-top: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .rules h2{
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  color: var(--ivory);
  margin: 0.35rem 0 0.9rem;
}

.page-home .rules__counts{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0.9rem 0;
  list-style: none;
  border-top: var(--home-line);
  border-bottom: var(--home-line);
}

.page-home .rules__counts li{
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.page-home .rules__count{
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-weight: 700;
  color: var(--gold-soft);
}

.page-home .rules__countlabel{
  font-size: 0.74rem;
  color: var(--mist);
  line-height: 1.5;
}

.page-home .rules__list{
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.page-home .rule-entry{
  border-bottom: var(--home-line);
}

.page-home .rule-entry summary{
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ivory);
  list-style: none;
  transition: color 0.22s var(--ease);
}

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

.page-home .rule-entry summary::after{
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--gold);
}

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

.page-home .rule-entry summary:hover,
.page-home .rule-entry summary:focus-visible{
  color: var(--gold-soft);
}

.page-home .rule-entry__code{
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(127, 174, 156, 0.5);
  color: var(--celadon);
}

.page-home .rule-entry__body{
  padding: 0 0 1rem 0.1rem;
}

.page-home .rule-entry__body p{
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- 会馆档案 ---------- */
.page-home .archive{
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

.page-home .archive__grid{
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .archive h2{
  font-size: clamp(1.5rem, 3.8vw, 2.6rem);
  color: var(--ivory);
  margin: 0.35rem 0 1rem;
}

.page-home .archive__lead p{
  font-size: 0.96rem;
}

.page-home .archive__lead .btn{
  margin-top: 0.6rem;
}

.page-home .archive__figures{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--home-edge);
  border: 1px solid var(--home-edge);
}

.page-home .archive__cell{
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem 1.1rem;
  background: rgba(18, 42, 68, 0.78);
}

.page-home .archive__num{
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
}

.page-home .archive__cap{
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 找到我们 ---------- */
.page-home .reach{
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem);
  background: linear-gradient(180deg, var(--ink-900) 0%, rgba(6, 17, 28, 0.6) 100%);
  border-top: 2px solid var(--bronze);
}

.page-home .reach__grid{
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
}

.page-home .reach h2{
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  color: var(--ivory);
  margin: 0.35rem 0 0.9rem;
}

.page-home .reach__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.page-home .reach__panel{
  background: rgba(18, 42, 68, 0.85);
  border: 2px solid var(--bronze);
  box-shadow: 10px 10px 0 -2px rgba(6, 17, 28, 0.85);
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
}

.page-home .reach__panel .panel__title{
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-soft);
  margin: 0 0 0.9rem;
}

.page-home .reach__panel .contact-list{
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.page-home .reach__panel .contact-list__item{
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.5rem 1rem;
  padding: 0.6rem 0;
  border-bottom: var(--home-line);
}

.page-home .reach__panel .contact-list__label{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .reach__panel .contact-list__value{
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ivory);
  overflow-wrap: anywhere;
}

.page-home .reach__note{
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--mist);
}

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

  .page-home .quick-actions__item{
    border-top: 0;
    border-left: 1px solid rgba(201, 162, 74, 0.18);
  }

  .page-home .quick-actions__item:first-child{
    border-left: 0;
  }
}

@media (min-width: 900px){
  .page-home .hero__grid{
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  .page-home .band__inner{
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: center;
  }

  .page-home .band--flip .band__inner{
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }

  .page-home .band--flip .band__figure{
    order: 2;
  }

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

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

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

@media (prefers-reduced-motion: reduce){
  .page-home .quick-actions__item,
  .page-home .home-index a,
  .page-home .rule-entry summary{
    transition: none;
  }
}
