/* ============================================================
   朝圣仙门 · 主殿公示 / 天音阁悬浮 / 仙气云雾（hall.css）
   依赖 sect.css 变量与 sect-map.css 的图框
   ============================================================ */

/* ---------- 山门图：流动云气 ---------- */
body.sect .sect-map-mist {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}
body.sect .sect-map-mist span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(252, 249, 240, .72), rgba(238, 233, 220, .30) 46%, transparent 72%);
  filter: blur(24px);
  opacity: .64;
  will-change: transform;
}
body.sect .sect-map-mist .mist-a {
  left: -14%;
  top: 4%;
  width: 62%;
  height: 42%;
  animation: hall-mist-a 26s ease-in-out infinite alternate;
}
body.sect .sect-map-mist .mist-b {
  right: -12%;
  top: 42%;
  width: 56%;
  height: 38%;
  animation: hall-mist-b 32s ease-in-out infinite alternate;
}
body.sect .sect-map-mist .mist-c {
  left: 12%;
  bottom: -8%;
  width: 74%;
  height: 30%;
  animation: hall-mist-c 38s ease-in-out infinite alternate;
}
@keyframes hall-mist-a {
  from { transform: translate3d(-3%, 0, 0) scale(1); }
  to   { transform: translate3d(6%, 3%, 0) scale(1.12); }
}
@keyframes hall-mist-b {
  from { transform: translate3d(4%, 2%, 0) scale(1.06); }
  to   { transform: translate3d(-5%, -3%, 0) scale(.96); }
}
@keyframes hall-mist-c {
  from { transform: translate3d(-2%, 2%, 0) scale(1); }
  to   { transform: translate3d(4%, -2%, 0) scale(1.08); }
}

/* ---------- 天音阁：云中盘旋 ---------- */
body.sect .sect-music-orbit {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 112;
  pointer-events: none;
  will-change: transform;
}
body.sect .sect-music-float {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
body.sect .sect-music-halo {
  position: absolute;
  left: 50%;
  top: 22px;
  width: 152px;
  height: 70px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(208, 174, 108, .34), rgba(247, 243, 233, .18) 48%, transparent 72%);
  filter: blur(9px);
  animation: hall-music-halo 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes hall-music-halo {
  from { opacity: .55; transform: translate(-50%, -50%) scale(.92); }
  to   { opacity: .95; transform: translate(-50%, -50%) scale(1.10); }
}
body.sect .sect-music-disc {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #fffdf7 0%, #f3e9d2 46%, #e3d2ae 78%, #cbb98f 100%);
  border: 1px solid rgba(154, 116, 40, .62);
  box-shadow:
    0 0 0 4px rgba(247, 243, 233, .55),
    0 0 0 5px rgba(154, 116, 40, .20),
    0 10px 22px -10px rgba(35, 40, 33, .55),
    inset 0 0 14px rgba(176, 138, 69, .20);
  transition: transform .34s cubic-bezier(.2, .7, .2, 1), box-shadow .34s ease;
}
body.sect .sect-music-disc::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px dashed rgba(154, 116, 40, .36);
  animation: hall-music-ring 24s linear infinite;
}
body.sect .sect-music-disc::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 18%, rgba(200, 165, 92, .32) 26%, transparent 36% 74%, rgba(106, 126, 112, .22) 84%, transparent 94%);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%);
  mask: radial-gradient(circle, transparent 60%, #000 62%);
  animation: hall-music-ring 30s linear infinite reverse;
  pointer-events: none;
}
@keyframes hall-music-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
body.sect .sect-music-glyph {
  font-family: var(--font-kai);
  font-size: 29px;
  line-height: 1;
  color: var(--gold-deep);
  text-shadow: 0 1px 0 rgba(255, 253, 247, .8);
  animation: hall-music-glyph 24s linear infinite reverse;
}
@keyframes hall-music-glyph {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
body.sect .sect-music-note {
  position: absolute;
  font-family: var(--font-display);
  color: var(--gold-deep);
  opacity: 0;
  pointer-events: none;
}
body.sect .sect-music-note.n1 {
  left: -3px;
  top: 8px;
  font-size: 12px;
  animation: hall-music-note 7s ease-in-out infinite;
}
body.sect .sect-music-note.n2 {
  right: -2px;
  top: 16px;
  font-size: 10px;
  animation: hall-music-note 7s ease-in-out 3.4s infinite;
}
@keyframes hall-music-note {
  0%   { opacity: 0; transform: translate3d(0, 6px, 0) rotate(-8deg); }
  18%  { opacity: .85; }
  55%  { opacity: .55; transform: translate3d(-7px, -16px, 0) rotate(8deg); }
  100% { opacity: 0; transform: translate3d(-12px, -34px, 0) rotate(16deg); }
}
body.sect .sect-music-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 3px 10px 4px;
  background: linear-gradient(180deg, rgba(251, 248, 241, .95), rgba(240, 233, 219, .88));
  border: 1px solid var(--line-gold);
  box-shadow: 0 6px 14px -8px rgba(35, 40, 33, .55);
  white-space: nowrap;
}
body.sect .sect-music-label b {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink);
  text-indent: .14em;
}
body.sect .sect-music-label small {
  font-family: var(--font-kai);
  font-size: 8.5px;
  letter-spacing: .06em;
  color: var(--gold-deep);
  opacity: .9;
}
body.sect .sect-music-float:hover .sect-music-disc,
body.sect .sect-music-float:focus-visible .sect-music-disc {
  transform: translateY(-4px) scale(1.06);
  box-shadow:
    0 0 0 4px rgba(247, 243, 233, .7),
    0 0 0 5px rgba(154, 116, 40, .32),
    0 0 22px rgba(200, 165, 92, .45),
    0 16px 26px -12px rgba(35, 40, 33, .55),
    inset 0 0 16px rgba(176, 138, 69, .28);
}
body.sect .sect-music-float:hover .sect-music-label,
body.sect .sect-music-float:focus-visible .sect-music-label {
  border-color: var(--gold-soft);
}
body.sect .sect-orbit-puff {
  position: absolute;
  left: 50%;
  top: 22px;
  display: block;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(252, 250, 243, .85), rgba(240, 236, 224, .32) 52%, transparent 74%);
  filter: blur(10px);
  opacity: .62;
  pointer-events: none;
}
body.sect .sect-orbit-puff.p1 {
  width: 118px;
  height: 34px;
  transform: translate(-78%, -40%);
  animation: hall-puff-a 12s ease-in-out infinite alternate;
}
body.sect .sect-orbit-puff.p2 {
  width: 92px;
  height: 26px;
  transform: translate(-8%, 26%);
  animation: hall-puff-b 15s ease-in-out infinite alternate;
}
body.sect .sect-orbit-puff.p3 {
  width: 150px;
  height: 40px;
  transform: translate(-52%, 66%);
  opacity: .42;
  animation: hall-puff-a 18s ease-in-out 2s infinite alternate-reverse;
}
@keyframes hall-puff-a {
  from { transform: translate(-80%, -40%) scale(.94); opacity: .46; }
  to   { transform: translate(-70%, -46%) scale(1.10); opacity: .72; }
}
@keyframes hall-puff-b {
  from { transform: translate(-14%, 24%) scale(1.05); opacity: .58; }
  to   { transform: translate(2%, 30%) scale(.92); opacity: .38; }
}

/* ---------- 主殿公示 ---------- */
body.sect .hall-public {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 30px 0 8px;
}
body.sect .hall-public-head {
  position: relative;
  padding: 2px 2px 16px;
  border-bottom: 1px solid var(--line-soft);
}
body.sect .hall-public-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 86px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}
body.sect .hall-public-title {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.1;
  letter-spacing: .14em;
  color: var(--ink);
  text-indent: .14em;
}
body.sect .hall-public-sub {
  margin: 7px 0 0;
  font-family: var(--font-kai);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
body.sect .hall-public-block {
  position: relative;
  padding: 24px 26px 22px;
  background: linear-gradient(150deg, rgba(252, 249, 242, .92), rgba(243, 237, 224, .78));
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow);
}
body.sect .hall-public-block::before,
body.sect .hall-public-block::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  opacity: .55;
}
body.sect .hall-public-block::before {
  left: 6px;
  top: 6px;
  border-left: 1px solid var(--gold-soft);
  border-top: 1px solid var(--gold-soft);
}
body.sect .hall-public-block::after {
  right: 6px;
  bottom: 6px;
  border-right: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
}
body.sect .hall-block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
body.sect .hall-block-head .sect-sub {
  margin-top: 4px;
}

/* 此刻在宗 */
body.sect .hall-online-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  padding-bottom: 2px;
}
body.sect .hall-online-count b {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--gold-deep);
  letter-spacing: .02em;
}
body.sect .hall-online-count span {
  font-family: var(--font-kai);
  font-size: 12px;
  color: var(--ink-2);
}
body.sect .hall-online-time {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--ink-3);
}
body.sect .hall-online-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
body.sect .hall-online-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 14px;
  background: rgba(255, 253, 247, .68);
  border: 1px solid var(--line-soft);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
body.sect .hall-online-card:hover {
  border-color: var(--line-gold);
  background: rgba(255, 253, 247, .92);
  transform: translateY(-2px);
}
body.sect .hall-online-card.is-me {
  border-color: var(--gold-soft);
  background: linear-gradient(150deg, rgba(255, 251, 240, .95), rgba(246, 237, 218, .82));
}
body.sect .hall-online-card.is-seclusion {
  border-left: 3px solid var(--cinnabar);
}
body.sect .hall-online-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
}
body.sect .hall-online-seal {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #fdfaf2, #eee2c9);
  border: 1px solid var(--line-gold);
  font-family: var(--font-kai);
  font-size: 18px;
  color: var(--ink);
}
body.sect .hall-online-dot {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #7d9770;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px rgba(60, 70, 58, .12);
}
body.sect .hall-online-card.is-seclusion .hall-online-dot {
  background: var(--cinnabar);
  animation: hall-online-pulse 2.4s ease-in-out infinite;
}
body.sect .hall-online-card.is-study .hall-online-dot { background: var(--gold-deep); }
body.sect .hall-online-card.is-visit .hall-online-dot { background: #8b9a90; }
@keyframes hall-online-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(166, 70, 52, .42); }
  50%      { box-shadow: 0 0 0 5px rgba(166, 70, 52, 0); }
}
body.sect .hall-online-body {
  flex: 1;
  min-width: 0;
}
body.sect .hall-online-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
body.sect .hall-online-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
}
body.sect .hall-online-me {
  padding: 1px 5px;
  font-family: var(--font-kai);
  font-size: 9.5px;
  color: #f8eedb;
  background: var(--cinnabar);
}
body.sect .hall-online-rank {
  padding: 1px 6px;
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: .04em;
  color: var(--gold-deep);
  border: 1px solid rgba(176, 138, 69, .40);
  background: rgba(247, 243, 233, .6);
}
body.sect .hall-online-act {
  margin-top: 3px;
  font-family: var(--font-kai);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.sect .hall-online-last {
  margin-top: 1px;
  font-family: var(--font-body);
  font-size: 9.5px;
  color: var(--ink-3);
}
body.sect .hall-online-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 18px;
  border: 1px dashed var(--line-soft);
  background: rgba(255, 253, 247, .42);
  font-family: var(--font-kai);
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
}
body.sect .hall-online-empty b {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink-2);
  font-weight: 600;
}
body.sect .hall-online-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px dashed var(--line-soft);
}
body.sect .hall-online-hint {
  font-family: var(--font-kai);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* 七殿职能 */
body.sect .hall-directory-side {
  font-family: var(--font-kai);
  font-size: 11.5px;
  color: var(--ink-3);
  white-space: nowrap;
}
body.sect .hall-directory-side b {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--gold-deep);
  margin: 0 1px;
}
body.sect .hall-hall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
body.sect .hall-hall-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 16px 13px;
  background: rgba(255, 253, 247, .60);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--gold-soft);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}
body.sect .hall-hall-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 253, 247, .92);
  box-shadow: 0 14px 26px -20px rgba(35, 40, 33, .55);
}
body.sect .hall-hall-card.tone-jade { border-top-color: #8ba18c; }
body.sect .hall-hall-card.tone-fire { border-top-color: #b27155; }
body.sect .hall-hall-card.tone-ink  { border-top-color: #7b857e; }
body.sect .hall-hall-card.is-guest-locked { opacity: .74; }
body.sect .hall-hall-head {
  display: flex;
  align-items: center;
  gap: 9px;
}
body.sect .hall-hall-seal {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #fdfaf2, #ece0c7);
  border: 1px solid var(--line-gold);
  font-family: var(--font-kai);
  font-size: 16px;
  color: var(--ink);
}
body.sect .hall-hall-name {
  font-family: var(--font-display);
  font-size: 16.5px;
  letter-spacing: .08em;
  color: var(--ink);
}
body.sect .hall-hall-sub {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .16em;
  color: var(--ink-3);
}
body.sect .hall-hall-desc {
  flex: 1;
  margin: 0;
  font-family: var(--font-kai);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
body.sect .hall-hall-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
body.sect .hall-hall-feats span {
  padding: 1px 7px;
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: .02em;
  color: var(--ink-2);
  background: rgba(247, 243, 233, .72);
  border: 1px solid var(--line-soft);
}
body.sect .hall-hall-go {
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  font-family: var(--font-kai);
  font-size: 12px;
  color: var(--gold-deep);
  cursor: pointer;
  transition: border-color .22s ease, color .22s ease;
}
body.sect .hall-hall-go:hover {
  color: var(--cinnabar);
  border-bottom-color: currentColor;
}

/* 新手入道 */
body.sect .hall-guide-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 18px;
}
body.sect .hall-guide-step {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 16px 13px 13px;
  background: rgba(255, 253, 247, .58);
  border: 1px solid var(--line-soft);
}
body.sect .hall-guide-step::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 26px;
  width: 8px;
  height: 1px;
  background: var(--line-gold);
}
body.sect .hall-guide-step:last-child::after { display: none; }
body.sect .hall-guide-no {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1;
  color: var(--cinnabar);
  opacity: .78;
}
body.sect .hall-guide-body {
  flex: 1;
  min-width: 0;
}
body.sect .hall-guide-title {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
}
body.sect .hall-guide-desc {
  margin: 0;
  font-family: var(--font-kai);
  font-size: 11px;
  line-height: 1.65;
  color: var(--ink-2);
  min-height: 56px;
}
body.sect .hall-guide-go {
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-kai);
  font-size: 11.5px;
  color: var(--gold-deep);
  cursor: pointer;
}
body.sect .hall-guide-go:hover { color: var(--cinnabar); }

/* 关于与声明 */
body.sect .hall-about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
  margin-top: 16px;
}
body.sect .hall-about-card {
  padding: 20px 22px 18px;
  background: rgba(255, 253, 247, .58);
  border: 1px solid var(--line-soft);
}
body.sect .hall-about-card .sect-title {
  margin: 6px 0 0;
}
body.sect .hall-about-p {
  margin: 9px 0 0;
  font-family: var(--font-kai);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-2);
}
body.sect .hall-about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
}
body.sect .hall-about-stats > div {
  text-align: center;
}
body.sect .hall-about-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.1;
  color: var(--gold-deep);
}
body.sect .hall-about-stats span {
  font-family: var(--font-kai);
  font-size: 9.5px;
  color: var(--ink-3);
}
body.sect .hall-declare-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
body.sect .hall-declare-list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 15px;
  font-family: var(--font-kai);
  font-size: 11.5px;
  line-height: 1.72;
  color: var(--ink-2);
}
body.sect .hall-declare-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  top: -1px;
  color: var(--cinnabar);
  font-weight: 700;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  body.sect .hall-guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  body.sect .hall-guide-step:nth-child(3)::after { display: none; }
}
@media (max-width: 960px) {
  body.sect .hall-about-grid {
    grid-template-columns: 1fr;
  }
  body.sect .hall-public-block {
    padding: 20px 18px 18px;
  }
  body.sect .hall-guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  body.sect .hall-guide-step::after { display: none; }
}
@media (max-width: 900px) {
  body.sect .sect-map-mist span {
    filter: blur(16px);
    opacity: .45;
  }
  body.sect .sect-music-orbit {
    z-index: 113;
  }
  body.sect .sect-music-disc {
    width: 46px;
    height: 46px;
  }
  body.sect .sect-music-glyph { font-size: 21px; }
  body.sect .sect-music-label b { font-size: 11.5px; }
  body.sect .sect-music-label small { display: none; }
  body.sect .sect-music-halo {
    top: 18px;
    width: 96px;
    height: 46px;
  }
  body.sect .sect-music-note { display: none; }
  body.sect .hall-public {
    gap: 20px;
    margin-top: 22px;
  }
  body.sect .hall-online-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }
  body.sect .hall-hall-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
}
@media (max-width: 640px) {
  body.sect .hall-public-block {
    padding: 17px 14px 15px;
  }
  body.sect .hall-block-head {
    align-items: flex-start;
  }
  body.sect .hall-online-side {
    align-items: flex-start;
  }
  body.sect .hall-online-count b { font-size: 27px; }
  body.sect .hall-online-grid {
    grid-template-columns: 1fr;
  }
  body.sect .hall-online-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  body.sect .hall-hall-grid {
    grid-template-columns: 1fr;
  }
  body.sect .hall-guide-grid {
    grid-template-columns: 1fr;
  }
  body.sect .hall-guide-desc { min-height: 0; }
  body.sect .hall-about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 6px;
  }
  body.sect .hall-public-title {
    font-size: 24px;
  }
  body.sect .sect-music-label {
    padding: 2px 8px 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.sect .sect-map-mist span,
  body.sect .sect-music-halo,
  body.sect .sect-music-disc::before,
  body.sect .sect-music-disc::after,
  body.sect .sect-music-glyph,
  body.sect .sect-music-note,
  body.sect .sect-orbit-puff,
  body.sect .hall-online-card.is-seclusion .hall-online-dot {
    animation: none !important;
  }
}

/* ---------- 全局壳层：天音阁独立后，旧迷你播放条只在音乐殿内出现 ---------- */
body.sect:not([data-module="music"]) .mu-dock {
  display: none !important;
}

/* ---------- 山门图红日：淡朱砂、云气晕染 ---------- */
body.sect .sect-map-sun {
  opacity: .62;
  mix-blend-mode: normal;
  filter: blur(1.1px);
  background: radial-gradient(circle at 38% 34%, rgba(226, 132, 96, .98), rgba(190, 78, 55, .82) 58%, rgba(174, 64, 44, .38) 78%, rgba(174, 64, 44, 0) 100%);
  box-shadow: 0 0 46px 18px rgba(196, 96, 62, .16);
}
@media (max-width: 900px) {
  body.sect .sect-map-sun { opacity: .52; }
}

/* ---------- 建筑云台：底部薄雾，弱化贴图边缘 ---------- */
body.sect .sect-node::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.5%;
  width: 112%;
  height: 11%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 62%, rgba(247, 243, 233, .78), rgba(247, 243, 233, .30) 52%, rgba(247, 243, 233, 0) 78%);
  filter: blur(3px);
  pointer-events: none;
  z-index: 1;
}
body.sect .sect-node:hover::after,
body.sect .sect-node:focus-visible::after {
  background: radial-gradient(ellipse at 50% 62%, rgba(252, 248, 238, .88), rgba(250, 244, 231, .36) 52%, rgba(250, 244, 231, 0) 78%);
}

/* ---------- 山间云气缓慢流动 ---------- */
@keyframes sectMistDrift {
  0%   { transform: translate3d(-1.8%, 0, 0) scale(1); opacity: .46; }
  50%  { transform: translate3d(1.5%, -1.6%, 0) scale(1.035); opacity: .72; }
  100% { transform: translate3d(2.4%, -0.4%, 0) scale(1.02); opacity: .54; }
}
body.sect .sect-map-mist {
  animation: sectMistDrift 24s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
body.sect .sect-map-mist:nth-of-type(2) { animation-duration: 31s; animation-delay: -7s; }
body.sect .sect-map-mist:nth-of-type(3) { animation-duration: 38s; animation-delay: -15s; }
@media (prefers-reduced-motion: reduce) {
  body.sect .sect-map-mist { animation: none; }
}

/* 主殿公示锚点：跳转时预留固定顶栏高度 */
body.sect #hallPublic { scroll-margin-top: 92px; }

/* ---------- 同门图谱：学历 / 专业大类匿名统计 ---------- */
body.sect .hall-fellowship {
  position: relative;
  overflow: hidden;
}
body.sect .hall-fellowship::before {
  content: "";
  position: absolute;
  right: -6%;
  top: -18%;
  width: 46%;
  height: 66%;
  background: radial-gradient(ellipse at 50% 50%, rgba(154, 116, 40, .12), transparent 68%);
  pointer-events: none;
}
body.sect .hall-stats-head {
  align-items: flex-start;
}
body.sect .hall-stats-head-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}
body.sect .hall-stats-action {
  min-width: 104px;
  letter-spacing: .14em;
}
body.sect .hall-stats-updated {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--ink-4);
}
body.sect .hall-stats-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 16px;
  border: 1px solid var(--line);
  background: rgba(251, 248, 241, .74);
  box-shadow: var(--shadow);
}
body.sect .hall-stats-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 15px 10px 13px;
  border-left: 1px solid var(--line-soft);
}
body.sect .hall-stats-cell:first-child { border-left: 0; }
body.sect .hall-stats-cell b {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  color: var(--gold-deep);
}
body.sect .hall-stats-cell span {
  font-family: var(--font-kai);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--ink-3);
}
body.sect .hall-stats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 14px;
}
body.sect .hall-stat-panel {
  min-width: 0;
  padding: 16px 18px 14px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, .76), rgba(247, 242, 231, .64));
  box-shadow: var(--shadow);
}
body.sect .hall-stat-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
body.sect .hall-stat-panel-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink);
}
body.sect .hall-stat-panel-meta {
  font-family: var(--font-kai);
  font-size: 9.5px;
  letter-spacing: .06em;
  color: var(--ink-4);
}
body.sect .hall-edu-bars { display: flex; flex-direction: column; gap: 9px; }
body.sect .hall-edu-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 76px;
  align-items: center;
  gap: 10px;
}
body.sect .hall-edu-name {
  font-family: var(--font-kai);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--ink-2);
}
body.sect .hall-edu-track {
  position: relative;
  height: 8px;
  background: rgba(31, 37, 44, .06);
  overflow: hidden;
}
body.sect .hall-edu-track i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(200, 165, 92, .72), var(--gold));
  box-shadow: 0 0 10px rgba(154, 116, 40, .18);
  transition: width .7s cubic-bezier(.22, .8, .3, 1);
}
body.sect .hall-edu-val {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 5px;
  font-family: var(--font-mono);
  line-height: 1;
}
body.sect .hall-edu-val b { font-size: 12px; color: var(--ink-2); }
body.sect .hall-edu-val em { font-style: normal; font-size: 9px; color: var(--ink-4); }
body.sect .hall-major-bars { display: flex; flex-direction: column; gap: 6px; }
body.sect .hall-major-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 8px;
}
body.sect .hall-major-name {
  font-family: var(--font-kai);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--ink-2);
  white-space: nowrap;
}
body.sect .hall-major-track {
  position: relative;
  height: 5px;
  background: rgba(31, 37, 44, .055);
  overflow: hidden;
}
body.sect .hall-major-track i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(79, 127, 106, .42), var(--jade));
  transition: width .7s cubic-bezier(.22, .8, .3, 1);
}
body.sect .hall-major-val {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
}
body.sect .hall-major-rest {
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px dashed var(--line-soft);
  font-size: 9px;
  line-height: 1.7;
  color: var(--ink-4);
}
body.sect .hall-stat-empty {
  padding: 18px 8px;
  text-align: center;
  font-family: var(--font-kai);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .06em;
  color: var(--ink-4);
}
body.sect .hall-stats-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line-soft);
}
body.sect .hall-stats-note {
  font-size: 9.5px;
  line-height: 1.75;
  letter-spacing: .02em;
  color: var(--ink-4);
}
body.sect .hall-stats-slogan {
  flex: 0 0 auto;
  font-family: var(--font-kai);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--gold-deep);
  opacity: .86;
}
@media (max-width: 900px) {
  body.sect .hall-stats-head { flex-direction: column; gap: 12px; }
  body.sect .hall-stats-head-side { flex-direction: row; width: 100%; align-items: center; justify-content: space-between; }
  body.sect .hall-stats-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.sect .hall-stats-cell:nth-child(3) { border-left: 0; }
  body.sect .hall-stats-cell:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  body.sect .hall-stats-cell b { font-size: 26px; }
  body.sect .hall-stats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body.sect .hall-stats-cell { padding: 12px 8px 11px; }
  body.sect .hall-stats-cell b { font-size: 23px; }
  body.sect .hall-stat-panel { padding: 14px 13px 12px; }
  body.sect .hall-edu-row { grid-template-columns: 34px minmax(0, 1fr) 62px; gap: 7px; }
  body.sect .hall-edu-name { font-size: 10.5px; }
  body.sect .hall-major-row { grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 6px; }
  body.sect .hall-stats-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  body.sect .hall-stats-slogan { font-size: 10px; }
}

