/* ============================================================
   十二殿总览 —— 悬停放大版
   ============================================================ */
:root {
  --gold: #d9b45b;
  --gold-bright: #f6dfa4;
  --paper: #f6efdd;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --pop: cubic-bezier(0.34, 1.4, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  overflow: hidden;
  background: #0d1218;
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* ---------- 舞台：整图完整显示，四周用同一张图的模糊版填充 ---------- */
#stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #10161c;
}
/* 模糊底：只在需要留边时露出，做成"画面淡出到雾里" */
#stage::before {
  content: '';
  position: absolute;
  inset: -60px;
  background-image: url("../Assets/bg-twelve.webp");
  background-image: image-set(
    url("../Assets/bg-twelve.avif") type("image/avif"),
    url("../Assets/bg-twelve.webp") type("image/webp")
  );
  background-position: center;
  background-size: cover;
  filter: blur(64px) brightness(0.34) saturate(1.25);
  transform: scale(1.14);
  pointer-events: none;
}
/* 边缘镜像延展：让留边看起来是画面的自然延续，而不是一块糊 */
#stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(8, 12, 16, 0.92), rgba(8, 12, 16, 0.35) 12%, transparent 26%),
    linear-gradient(to left, rgba(8, 12, 16, 0.92), rgba(8, 12, 16, 0.35) 12%, transparent 26%),
    linear-gradient(to bottom, rgba(8, 12, 16, 0.75), transparent 14%),
    linear-gradient(to top, rgba(8, 12, 16, 0.8), transparent 16%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
#stage[data-fit="contain"]::after { opacity: 1; }
#bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
  pointer-events: none;
}

/* ---------- 热点：每座殿一块，悬停时自身放大 ---------- */
/* 聚焦遮罩：hover 时压暗四周，只留该殿亮着，彻底掩盖放大接缝 */
#dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  background: radial-gradient(
    ellipse var(--dw, 34%) var(--dh, 34%) at var(--dx, 50%) var(--dy, 50%),
    transparent 52%,
    rgba(6, 10, 14, 0.34) 78%,
    rgba(4, 8, 11, 0.62) 100%
  );
}
#dim.on { opacity: 1; }

#hotspots { position: absolute; inset: 0; z-index: 3; }

.hotspot {
  position: absolute;
  overflow: hidden;
  cursor: pointer;
  background-image: url("../Assets/bg-twelve.webp");
  background-image: image-set(
    url("../Assets/bg-twelve.avif") type("image/avif"),
    url("../Assets/bg-twelve.webp") type("image/webp")
  );
  background-repeat: no-repeat;
  transition: transform 0.55s var(--pop), filter 0.45s var(--ease);
  transform-origin: var(--ox, 50%) var(--oy, 55%);
  will-change: transform;
  /* 羽化：边缘彻底化开，不留硬边与叠影 */
  -webkit-mask-image: radial-gradient(ellipse 50% 48% at 50% 50%, #000 28%, rgba(0,0,0,0.92) 52%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0.12) 86%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 48% at 50% 50%, #000 28%, rgba(0,0,0,0.92) 52%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0.12) 86%, transparent 100%);
  filter: brightness(0.97) saturate(1);
}
.hotspot:hover {
  transform: scale(var(--zoom, 1.1)) translateY(-3px);
  filter: brightness(1.26) saturate(1.2) contrast(1.06) drop-shadow(0 10px 26px rgba(255, 200, 110, 0.28));
  z-index: 20;
}
.hotspot.active {
  transform: scale(var(--zoom, 1.1)) translateY(-3px);
  filter: brightness(1.28) saturate(1.22) contrast(1.07) drop-shadow(0 10px 28px rgba(255, 200, 110, 0.32));
  z-index: 21;
}
/* 悬停时外面套一圈光 */
.hotspot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 60px 18px rgba(255, 220, 140, 0);
  transition: box-shadow 0.45s var(--ease);
  pointer-events: none;
}
.hotspot:hover::after,
.hotspot.active::after {
  box-shadow: 0 0 70px 22px rgba(255, 220, 140, 0.22);
}

/* ---------- 空气感 ---------- */
#atmos { position: fixed; inset: 0; pointer-events: none; z-index: 4; }

.veil {
  position: absolute;
  mix-blend-mode: screen;
  will-change: transform;
}
.v1 {
  inset: -14% -8%;
  background-image:
    radial-gradient(ellipse 40% 22% at 22% 70%, rgba(255,255,255,0.30), transparent 70%),
    radial-gradient(ellipse 34% 18% at 72% 78%, rgba(255,255,255,0.24), transparent 72%);
  filter: blur(30px);
  animation: drift1 54s ease-in-out infinite alternate;
  opacity: 0.55;
}
.v2 {
  inset: -10% -4%;
  background-image:
    radial-gradient(ellipse 46% 26% at 52% 88%, rgba(255,252,244,0.34), transparent 70%),
    radial-gradient(ellipse 30% 16% at 14% 84%, rgba(255,255,255,0.26), transparent 72%);
  filter: blur(40px);
  animation: drift2 72s ease-in-out infinite alternate;
  opacity: 0.45;
}
@keyframes drift1 {
  0% { transform: translate3d(-2%, 1%, 0) scale(1); }
  100% { transform: translate3d(2.2%, -1.2%, 0) scale(1.05); }
}
@keyframes drift2 {
  0% { transform: translate3d(1.6%, -0.8%, 0) scale(1.03); }
  100% { transform: translate3d(-2%, 1.4%, 0) scale(1); }
}

.sunbeam {
  position: absolute;
  left: 34%;
  top: -34%;
  width: 66%;
  height: 150%;
  background: linear-gradient(102deg, transparent 36%, rgba(255,242,206,0.13) 46%, rgba(255,248,224,0.22) 51%, rgba(255,242,206,0.11) 57%, transparent 68%);
  filter: blur(26px);
  mix-blend-mode: screen;
  animation: beamSway 22s ease-in-out infinite alternate;
}
@keyframes beamSway {
  0% { transform: translateX(-2.5%) rotate(-1deg); opacity: 0.65; }
  100% { transform: translateX(2.5%) rotate(1.2deg); opacity: 1; }
}

#vignette {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10, 16, 22, 0.42) 0%, transparent 18%, transparent 76%, rgba(8, 12, 18, 0.52) 100%),
    radial-gradient(ellipse 98% 90% at 50% 50%, transparent 58%, rgba(8, 12, 18, 0.38) 100%);
}

/* ---------- 顶栏 ---------- */
#topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  padding: 18px clamp(16px, 3vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
#topbar > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; }
.seal {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 5px;
  background: linear-gradient(160deg, #9e2a20, #651310);
  color: var(--gold-bright); font-family: var(--serif); font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(246, 223, 164, 0.35), 0 4px 16px rgba(0, 0, 0, 0.55);
}
.brand-text {
  font-family: var(--serif); font-size: 13px; letter-spacing: 0.22em;
  color: rgba(255, 250, 236, 0.92);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}
.ghost {
  appearance: none;
  border: 1px solid rgba(217, 180, 91, 0.38);
  background: rgba(12, 14, 18, 0.42);
  backdrop-filter: blur(8px);
  color: rgba(255, 250, 236, 0.86);
  font-family: var(--serif); font-size: 12.5px; letter-spacing: 0.12em;
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  transition: all 0.35s var(--ease);
}
.ghost:hover {
  border-color: rgba(246, 223, 164, 0.85);
  color: #fff8e6;
  box-shadow: 0 0 22px rgba(217, 180, 91, 0.28);
}

/* ---------- 标题 ---------- */
#hero {
  position: fixed; left: 50%; top: 5vh;
  transform: translateX(-50%);
  z-index: 20; text-align: center; pointer-events: none;
  padding: 8px 34px 8px;
  border-radius: 10px;
  background: radial-gradient(ellipse 60% 92% at 50% 50%, rgba(8, 16, 24, 0.5), rgba(8, 16, 24, 0.16) 64%, transparent 84%);
  transition: opacity 0.8s var(--ease), transform 1s var(--ease);
}
#hero.hide { opacity: 0; transform: translateX(-50%) translateY(-14px); }
.hero-kicker {
  font-family: var(--serif); font-size: 12px; letter-spacing: 0.5em;
  color: rgba(255, 246, 220, 0.78); margin-bottom: 14px; text-indent: 0.5em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}
#hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(20px, 2vw, 30px);
  letter-spacing: 0.2em; text-indent: 0.2em;
  color: #fff8e2;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.85), 0 0 56px rgba(255, 230, 170, 0.42);
}
.hero-lede {
  margin-top: 3px; font-family: var(--serif);
  font-size: clamp(10px, 0.8vw, 12px); letter-spacing: 0.2em;
  color: rgba(255, 250, 236, 0.74); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

/* ---------- 殿名提示（悬停跟随） ---------- */
#hoverName {
  position: fixed;
  z-index: 40;
  pointer-events: none;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(246, 223, 164, 0.5);
  background: rgba(12, 18, 14, 0.52);
  backdrop-filter: blur(10px);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #fff6dc;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -140%) scale(0.94);
  transition: opacity 0.28s var(--ease), transform 0.32s var(--pop);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 24px rgba(217, 180, 91, 0.22);
}
#hoverName.on { opacity: 1; transform: translate(-50%, -150%) scale(1); }

/* ---------- 选中面板 ---------- */
#hud {
  position: fixed; left: 50%; bottom: 5vh;
  transform: translate(-50%, 30px);
  z-index: 45; width: min(470px, 90vw);
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--pop);
}
#hud.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.hud-inner {
  position: relative; padding: 22px 26px 20px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(24, 18, 12, 0.92), rgba(10, 8, 6, 0.96));
  border: 1px solid rgba(217, 180, 91, 0.4);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  text-align: center;
}
.hud-palace { font-family: var(--serif); font-size: 10.5px; letter-spacing: 0.3em; color: rgba(255, 220, 150, 0.8); margin-bottom: 8px; }
.hud-name { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: 0.22em; text-indent: 0.22em; color: #fff8e6; margin-bottom: 6px; }
.hud-deity { font-family: var(--serif); font-size: 12.5px; letter-spacing: 0.16em; color: rgba(255, 232, 180, 0.82); }
.hud-tag { margin-top: 12px; font-family: var(--serif); font-size: 12.5px; line-height: 1.9; color: rgba(255, 248, 232, 0.68); }
.hud-actions { margin-top: 18px; display: flex; gap: 10px; justify-content: center; align-items: center; }
.enter {
  appearance: none;
  border: 1px solid rgba(246, 214, 140, 0.65);
  background: linear-gradient(180deg, rgba(140, 42, 28, 0.72), rgba(52, 16, 10, 0.72));
  color: #fff2cf; font-family: var(--serif);
  font-size: 14px; letter-spacing: 0.34em; text-indent: 0.34em;
  padding: 12px 34px; border-radius: 3px; cursor: pointer;
  transition: all 0.45s var(--ease);
}
.enter:hover { border-color: #fff0c0; box-shadow: 0 0 46px rgba(255, 210, 120, 0.5); color: #fff; }
#btn-close { padding: 10px 14px; border-radius: 3px; }

/* ---------- 底部提示 ---------- */
#tip {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 26px;
  border-radius: 999px;
  background: rgba(6, 8, 10, 0.62);
  border: 1px solid rgba(217, 180, 91, 0.24);
  backdrop-filter: blur(10px);
  text-align: center;
  pointer-events: none;
  transition: opacity 0.6s;
}

#tip b {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(255, 250, 236, 0.9);
  white-space: nowrap;
}

#tip i {
  font-style: normal;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(242, 217, 154, 0.75);
  white-space: nowrap;
}
#tip.hide { opacity: 0; }

@media (max-aspect-ratio: 1/1) {
  #hero { top: 3vh; padding: 14px 26px 12px; }
  #hud { bottom: 3vh; width: 92vw; }
  .hud-inner { padding: 18px 18px 16px; }
  #tip { font-size: 10.5px; }
}

/* 铺满模式下，模糊底完全藏起来 */
#stage[data-fit="cover"]::before { opacity: 0; }
/* 超宽屏：标题移到左上，避免压住中央的殿 */
@media (min-aspect-ratio: 21/9) {
  #hero {
    left: clamp(16px, 3vw, 40px);
    top: 74px;
    transform: none;
    text-align: left;
    padding: 0;
    background: none;
  }
  #hero.hide { transform: translateY(-10px); }
  #hero h1 { text-indent: 0; letter-spacing: 0.14em; }
  .hero-kicker { text-indent: 0; }
}
/* ============================================================
   入山门：生辰登记
   ============================================================ */
#birth {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 70% 70% at 50% 45%, rgba(10, 8, 14, 0.78), rgba(4, 4, 8, 0.94));
  backdrop-filter: blur(10px);
}
#birth[hidden] { display: none; }

.birth-inner {
  width: min(520px, 90vw);
  padding: 36px 40px 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(30, 24, 20, 0.96), rgba(16, 13, 11, 0.98));
  border: 1px solid rgba(217, 180, 91, 0.32);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 70px rgba(217, 180, 91, 0.12);
  font-family: "Songti SC", "STSong", serif;
  text-align: center;
}

.birth-kicker {
  font-size: 22px;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  color: #f2d99a;
  margin-bottom: 10px;
}
.birth-note {
  font-size: 12.5px;
  color: rgba(240, 232, 214, 0.6);
  margin-bottom: 26px;
  letter-spacing: 0.06em;
}

.birth-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.birth-row > label {
  flex: 0 0 72px;
  font-size: 13px;
  color: rgba(240, 232, 214, 0.72);
  text-align: right;
}
.birth-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(217, 180, 91, 0.26);
  background: rgba(10, 8, 7, 0.7);
  color: #fdf6e6;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.birth-row input:focus { border-color: rgba(242, 217, 154, 0.7); }
.birth-row input::placeholder { color: rgba(240, 232, 214, 0.34); }

.shichen {
  flex: 0 0 auto;
  font-size: 12.5px;
  color: rgba(242, 217, 154, 0.85);
  font-style: normal;
  padding: 5px 10px;
  border: 1px solid rgba(217, 180, 91, 0.28);
  border-radius: 999px;
}

.gender { display: flex; gap: 10px; flex: 1; }
.gender-btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(217, 180, 91, 0.26);
  background: rgba(10, 8, 7, 0.7);
  color: rgba(240, 232, 214, 0.72);
  font-family: inherit;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.25s;
}
.gender-btn.on {
  border-color: rgba(242, 217, 154, 0.85);
  background: rgba(80, 52, 20, 0.55);
  color: #ffeec0;
  box-shadow: 0 0 22px rgba(217, 180, 91, 0.3);
}

.birth-err {
  min-height: 18px;
  font-size: 12.5px;
  color: #ff9a8a;
  margin-bottom: 6px;
}

#birth-submit {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(242, 217, 154, 0.6);
  background: linear-gradient(180deg, rgba(96, 62, 22, 0.85), rgba(54, 34, 12, 0.9));
  color: #ffeec0;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  cursor: pointer;
  transition: all 0.3s;
}
#birth-submit:hover {
  border-color: rgba(255, 240, 190, 0.95);
  box-shadow: 0 0 34px rgba(217, 180, 91, 0.4);
}

.birth-skip {
  margin-top: 16px;
  background: none;
  border: none;
  color: rgba(240, 232, 214, 0.42);
  font-family: inherit;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.birth-skip:hover { color: rgba(240, 232, 214, 0.75); }

/* ============================================================
   总览页可读性：和殿内一个标准
   ============================================================ */
#tip {
  font-size: 14px !important;
  letter-spacing: 0.24em !important;
  color: rgba(255, 250, 236, 0.92) !important;
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(6, 8, 10, 0.55);
  border: 1px solid rgba(217, 180, 91, 0.22);
  backdrop-filter: blur(8px);
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 1),
    0 0 20px rgba(0, 0, 0, 0.9) !important;
  bottom: 22px !important;
}

/* 标题区 */
.hero-kicker {
  font-size: 14px !important;
  color: rgba(255, 236, 198, 0.85) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}
.hero-lede, h1 + p {
  font-size: 15px !important;
  color: rgba(255, 248, 232, 0.85) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* 顶栏品牌 */
.brand-text {
  font-size: 16px !important;
  color: #fff8e4 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

/* 右上 EN 按钮 */
.ghost {
  font-size: 15px !important;
  letter-spacing: 0.1em;
  padding: 10px 18px !important;
  border-radius: 999px;
  color: #fff8e4 !important;
  background: rgba(10, 10, 14, 0.72) !important;
  border: 1px solid rgba(246, 214, 140, 0.55) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}
.ghost:hover {
  border-color: rgba(255, 240, 190, 0.95) !important;
  background: rgba(48, 32, 14, 0.9) !important;
}

/* 悬停殿名的浮标 */
#hoverName {
  font-size: 15px !important;
  color: #fff6dd !important;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(6, 8, 10, 0.72);
  border: 1px solid rgba(217, 180, 91, 0.4);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

/* 信息卡 */
.hud-palace {
  font-size: 12.5px !important;
  color: rgba(242, 217, 154, 0.9) !important;
}
.hud-name {
  font-size: 30px !important;
  color: #fff8e4 !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95);
}
.hud-deity {
  font-size: 15px !important;
  color: rgba(255, 244, 214, 0.92) !important;
}
.hud-tag {
  font-size: 14px !important;
  color: rgba(255, 248, 232, 0.78) !important;
  line-height: 1.7;
}
.enter {
  font-size: 16px !important;
  letter-spacing: 0.3em !important;
  padding: 13px 34px !important;
}
#btn-close {
  font-size: 18px !important;
  min-width: 44px;
}


/* ============================================================
   移动端适配
   ============================================================ */

/* ---- 手机竖屏：图保持全高，左右可拖 ---- */
@media (max-width: 820px) and (orientation: portrait) {
  }


/* 手机横屏 */
@media (max-height: 500px) and (orientation: landscape) {
          

}
/* 今日卡双语 */
#today-head b {
  font-weight: 400;
  display: block;
  color: rgba(255, 248, 232, 0.9);
}


/* 标签：英文主、中文副 */
#today-tags span b {
  font-weight: 500;
  display: inline;
}


/* ============================================================
   全站双语基础样式
   ============================================================ */
[data-i18n] > b {
  font-weight: inherit;
  display: block;
}
[data-i18n] > i {
  font-style: normal;
  display: block;
  margin-top: 3px;
  font-size: 0.8em;
  letter-spacing: 0.06em;
  opacity: 0.76;
  text-transform: none;
}

/* 内联场景（按钮、短标签）保持单行 */
button[data-i18n] > b,
button[data-i18n] > i,
.hud-deity[data-i18n] > b,
.hud-deity[data-i18n] > i {
  display: inline;
}
button[data-i18n] > i,
.hud-deity[data-i18n] > i {
  margin-left: 6px;
  margin-top: 0;
  font-size: 0.82em;
}



/* 说明浮层：双语 */
.what-kicker b, .what-title b { display: block; font-weight: inherit; }
.what-kicker i {
  font-style: normal;
  display: block;
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(242, 217, 154, 0.72);
}
.what-title i {
  font-style: normal;
  display: block;
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 248, 232, 0.6);
}
.what-h b { display: block; }
.what-h i {
  font-style: normal;
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 217, 154, 0.6);
}
.what-p.en {
  margin-top: 5px;
  font-size: 12.5px;
  color: rgba(255, 248, 232, 0.66);
  line-height: 1.85;
}
.what-foot b { display: block; font-style: normal; }
.what-foot i {
  font-style: normal;
  display: block;
  margin-top: 9px;
  font-size: 12.5px;
  color: rgba(255, 244, 214, 0.6);
  line-height: 1.85;
}




/* ============================================================
   横屏引导
   ============================================================ */
#rotate-hint {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 6, 10, 0.96);
  backdrop-filter: blur(10px);
}

.rotate-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 320px;
}

.rotate-icon {
  width: 62px;
  height: 40px;
  border: 1.5px solid rgba(217, 180, 91, 0.7);
  border-radius: 9px;
  margin-bottom: 26px;
  animation: rotateWobble 2.4s ease-in-out infinite;
}

@keyframes rotateWobble {
  0%, 100% { transform: rotate(0deg); }
  35% { transform: rotate(-90deg); }
  65% { transform: rotate(-90deg); }
}

.rotate-kicker {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(242, 217, 154, 0.7);
  margin-bottom: 14px;
}

.rotate-kicker b, .rotate-title b, .rotate-sub b { display: block; font-weight: inherit; }
.rotate-kicker i, .rotate-title i, .rotate-sub i {
  font-style: normal;
  display: block;
  margin-top: 4px;
  font-size: 0.8em;
  letter-spacing: 0.1em;
  color: rgba(242, 217, 154, 0.55);
}

.rotate-title {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.16em;
  color: #fff6dd;
  margin-bottom: 18px;
}

.rotate-sub {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 248, 232, 0.7);
  margin: 0 0 26px;
}

.rotate-skip {
  appearance: none;
  padding: 9px 26px;
  border-radius: 999px;
  border: 1px solid rgba(217, 180, 91, 0.45);
  background: rgba(20, 16, 10, 0.7);
  color: rgba(255, 246, 221, 0.85);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.25s;
}
.rotate-skip:hover { border-color: rgba(255, 240, 190, 0.9); }

/* 只在竖屏手机上出现（且宽度不足以横躺） */
@media (max-width: 820px) and (orientation: portrait) and (max-height: 900px) {
  #rotate-hint.show { display: flex; }
}


/* ============ 竖屏重排 ============ */
@media (max-width: 820px) and (orientation: portrait) {
  /* 标题：只留一行中文 + 一行英文，左右铺满 */
  #hero {
    top: 64px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    transform: none !important;
    padding: 6px 10px 8px !important;
    text-align: text-align;
    max-width: none !important;
    background: none !important;
  }
  #hero.hide { transform: translateY(-10px) !important; }

  #hero .hero-kicker { display: none !important; }

  #hero h1 {
    font-size: 26px !important;
    letter-spacing: 0.14em !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    margin: 0 0 4px !important;
  }
  #hero h1 b { display: inline !important; }
  #hero h1 i {
    display: block !important;
    margin-top: 4px !important;
    font-size: 11px !important;
    letter-spacing: 0.24em !important;
    opacity: 0.6 !important;
  }

  #hero .hero-lede {
    font-size: 11px !important;
    line-height: 1.6 !important;
    margin: 2px 0 0 !important;
  }
  #hero .hero-lede b { display: block !important; }
  #hero .hero-lede i { display: block !important; margin-top: 2px !important; font-size: 9.5px !important; opacity: 0.5 !important; }

  /* 殿宇图：全屏铺满，标题与卡片浮在上面 */
  #stage {
    position: fixed !important;
    inset: 0 !important;
    height: auto !important;
  }
  #bg {
    object-fit: cover !important;
    object-position: 50% 46% !important;
  }

  /* 今日卡：图下方 */
  
  /* 提示条：最底，单行 */
  #tip {
    bottom: 10px !important;
    padding: 6px 14px !important;
    max-width: 94vw !important;
  }
  #tip b { font-size: 11px !important; letter-spacing: 0.04em !important; white-space: normal !important; }
  #tip i { font-size: 9.5px !important; letter-spacing: 0.02em !important; white-space: normal !important; }

  /* 顶部品牌区压缩 */
  #brand-text, .brand-text { font-size: 13px !important; }
}

/* ============================================================
   排版终调：双语副行的字号底线
   ============================================================ */
#hero .hero-kicker i {
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  opacity: 0.6 !important;
  margin-top: 4px !important;
}
#hero h1 i {
  font-size: 13.5px !important;
  letter-spacing: 0.26em !important;
  opacity: 0.74 !important;
  margin-top: 7px !important;
  font-weight: 400 !important;
}
#hero .hero-lede i {
  font-size: 11.5px !important;
  letter-spacing: 0.05em !important;
  opacity: 0.64 !important;
  margin-top: 5px !important;
  line-height: 1.7 !important;
}

#today-tags span {
  font-size: 11.5px !important;
  padding: 4px 10px !important;
}

#tip b { font-size: 13px !important; }
#tip i { font-size: 11.5px !important; opacity: 0.78 !important; }

/* ============================================================
   今日运势卡（最终版）
   ============================================================ */
#today {
  position: fixed !important;
  left: 22px !important;
  bottom: 62px !important;
  z-index: 12 !important;
  width: min(700px, 44vw) !important;
  pointer-events: none !important;
}
#today[hidden] { display: none !important; }

.today-inner {
  position: relative;
  padding: 16px 22px 17px 20px;
  border-radius: 13px;
  background: rgba(9, 9, 13, 0.86);
  border: 1px solid rgba(217, 180, 91, 0.38);
  backdrop-filter: blur(18px) saturate(1.1);
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.7);
}

.today-top {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 9px;
  padding-right: 60px;
}

.today-kicker {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(242, 217, 154, 0.8);
  white-space: nowrap;
}

.today-gz {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff3d6;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  line-height: 1.1;
}

.today-word {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(242, 217, 154, 0.88);
  white-space: nowrap;
}

.today-head {
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 248, 232, 0.92);
  margin-bottom: 12px;
}
.today-head b { font-weight: 400; display: block; }
#today-head i {
  font-style: normal;
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 244, 214, 0.66);
}

.today-tags {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 8px;
  align-items: flex-start;
}

.today-tags span {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 10px;
  white-space: nowrap;
  flex: 0 0 auto;
  line-height: 1.3;
  display: inline-block !important;
}
.today-tags span b {
  font-weight: 500;
  display: block;
  font-size: 11.5px;
}
#today-tags span i {
  font-style: normal;
  display: block;
  font-size: 10px;
  opacity: 0.66;
  margin-top: 2px;
}

.t-good  { color: #b8e6a0; background: rgba(80, 130, 55, 0.26); border: 1px solid rgba(150, 200, 110, 0.36); }
.t-bad   { color: #f0b0a0; background: rgba(140, 62, 45, 0.26); border: 1px solid rgba(210, 130, 110, 0.34); }
.t-plain { color: rgba(242, 217, 154, 0.9); background: rgba(217, 180, 91, 0.14); border: 1px solid rgba(217, 180, 91, 0.28); }

.today-share {
  position: absolute;
  right: 14px;
  top: 13px;
  appearance: none;
  background: none;
  border: none;
  padding: 2px 4px;
  font-family: var(--serif);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(242, 217, 154, 0.55);
  cursor: pointer;
  pointer-events: auto;
  transition: color 0.2s;
}
.today-share:hover { color: rgba(255, 240, 190, 0.95); }

/* ============================================================
   标题区：让文字压在图上也能读清
   ============================================================ */

#hero h1 {
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.95),
    0 4px 28px rgba(0, 0, 0, 0.85) !important;
}

#hero .hero-kicker,
#hero .hero-lede {
  text-shadow:
    0 1px 6px rgba(0, 0, 0, 1),
    0 2px 16px rgba(0, 0, 0, 0.9) !important;
}

#hero .hero-kicker i,
#hero h1 i,
#hero .hero-lede i {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95) !important;
}

/* ============================================================
   标题区：柔和暗晕，不留硬边
   ============================================================ */
#hero {
  left: 26px !important;
  top: 66px !important;
  transform: none !important;
  padding: 16px 30px 18px !important;
  text-align: left !important;
  max-width: 380px !important;
  background: radial-gradient(
    ellipse 74% 62% at 46% 44%,
    rgba(4, 8, 12, 0.72) 0%,
    rgba(4, 8, 12, 0.44) 56%,
    rgba(4, 8, 12, 0.12) 80%,
    transparent 96%
  ) !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
}
#hero.hide { transform: translateY(-8px) !important; }

#hero h1 {
  font-size: 34px !important;
  letter-spacing: 0.16em !important;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 1),
    0 6px 32px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(0, 0, 0, 0.6) !important;
}

#hero h1 i {
  font-size: 14px !important;
  letter-spacing: 0.28em !important;
  opacity: 0.8 !important;
  margin-top: 8px !important;
}

#hero .hero-kicker {
  font-size: 13px !important;
  letter-spacing: 0.22em !important;
  color: rgba(242, 217, 154, 0.82) !important;
  margin-bottom: 6px !important;
}
#hero .hero-kicker i {
  font-size: 10.5px !important;
  letter-spacing: 0.2em !important;
  opacity: 0.62 !important;
  margin-top: 3px !important;
}

#hero .hero-lede {
  font-size: 14px !important;
  line-height: 1.85 !important;
  color: rgba(255, 248, 232, 0.88) !important;
  margin-top: 8px !important;
}
#hero .hero-lede i {
  font-size: 11.5px !important;
  letter-spacing: 0.04em !important;
  opacity: 0.7 !important;
  margin-top: 4px !important;
}

#hero .hero-kicker,
#hero .hero-lede,
#hero .hero-kicker i,
#hero .hero-lede i {
  text-shadow:
    0 1px 8px rgba(0, 0, 0, 1),
    0 3px 22px rgba(0, 0, 0, 0.92) !important;
}

/* ============================================================
   标题区：左上角，左对齐
   ============================================================ */
#hero .hero-kicker {
  font-size: 12px !important;
  letter-spacing: 0.18em !important;
  color: rgba(242, 217, 154, 0.8) !important;
  margin: 0 0 6px !important;
  text-align: left !important;
}
#hero .hero-kicker i {
  display: block !important;
  font-size: 10px !important;
  letter-spacing: 0.14em !important;
  opacity: 0.6 !important;
  margin-top: 3px !important;
}

#hero h1 {
  font-size: 33px !important;
  letter-spacing: 0.1em !important;
  line-height: 1.2 !important;
  margin: 0 0 6px !important;
  text-align: left !important;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.95),
    0 6px 30px rgba(0, 0, 0, 0.85) !important;
}
#hero h1 b { display: block !important; }
#hero h1 i {
  display: block !important;
  font-size: 13px !important;
  letter-spacing: 0.24em !important;
  opacity: 0.78 !important;
  margin-top: 6px !important;
}

#hero .hero-lede {
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: rgba(255, 248, 232, 0.85) !important;
  margin: 10px 0 0 !important;
  text-align: left !important;
}
#hero .hero-lede b { display: block !important; }
#hero .hero-lede i {
  display: block !important;
  font-size: 10.5px !important;
  letter-spacing: 0.04em !important;
  opacity: 0.65 !important;
  margin-top: 4px !important;
}

#hero .hero-kicker,
#hero .hero-lede,
#hero .hero-kicker i,
#hero .hero-lede i {
  text-shadow:
    0 1px 8px rgba(0, 0, 0, 1),
    0 3px 20px rgba(0, 0, 0, 0.9) !important;
}

/* 手机竖屏：回到居中 */
@media (max-width: 820px) and (orientation: portrait) {
  #hero {
    left: 14px !important;
    right: 14px !important;
    top: 62px !important;
    max-width: none !important;
    text-align: center !important;
  }
  #hero h1, #hero .hero-kicker, #hero .hero-lede { text-align: center !important; }
  #hero h1 { font-size: 25px !important; }
  #hero h1 i { font-size: 11px !important; }
  #hero .hero-lede { font-size: 11px !important; }
  #hero .hero-kicker { display: none !important; }
}

/* 左上标题：提亮 */
#hero .hero-kicker {
  color: rgba(248, 226, 168, 0.92) !important;
}
#hero h1 b {
  color: #fff8e8 !important;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 1),
    0 6px 34px rgba(0, 0, 0, 0.95),
    0 0 70px rgba(0, 0, 0, 0.8) !important;
}
#hero h1 i {
  color: rgba(255, 244, 216, 0.82) !important;
}
#hero .hero-lede b {
  color: rgba(255, 250, 238, 0.92) !important;
}
#hero .hero-lede i {
  color: rgba(255, 244, 216, 0.7) !important;
}

/* 左上标题：副题一行 */
#hero .hero-lede {
  white-space: nowrap !important;
  font-size: 12.5px !important;
}
#hero .hero-lede i {
  font-size: 11px !important;
  opacity: 0.72 !important;
  letter-spacing: 0.03em !important;
}
#hero h1 i {
  color: rgba(255, 248, 232, 0.88) !important;
  opacity: 0.9 !important;
}
#hero .hero-kicker i { color: rgba(242, 217, 154, 0.68) !important; opacity: 0.85 !important; }

/* ============================================================
   标题区：只留「一宫一殿…」两行
   ============================================================ */
#hero .hero-kicker { display: none !important; }
#hero h1 { display: none !important; }

#hero {
  left: 30px !important;
  top: 84px !important;
  padding: 14px 22px 15px !important;
  max-width: 340px !important;
  background: radial-gradient(
    ellipse 78% 66% at 40% 48%,
    rgba(4, 8, 12, 0.72) 0%,
    rgba(4, 8, 12, 0.42) 58%,
    rgba(4, 8, 12, 0.1) 82%,
    transparent 96%
  ) !important;
}

#hero .hero-lede {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
  white-space: normal !important;
}
#hero .hero-lede b {
  display: block;
  color: rgba(255, 250, 238, 0.95) !important;
  letter-spacing: 0.08em;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 1),
    0 5px 26px rgba(0, 0, 0, 0.92) !important;
}
#hero .hero-lede i {
  display: block;
  margin-top: 8px !important;
  font-size: 12.5px !important;
  letter-spacing: 0.05em !important;
  opacity: 0.82 !important;
  color: rgba(248, 234, 200, 0.88) !important;
  text-shadow:
    0 1px 8px rgba(0, 0, 0, 1),
    0 3px 20px rgba(0, 0, 0, 0.9) !important;
}

/* 手机竖屏 */
@media (max-width: 820px) and (orientation: portrait) {
  #hero {
    left: 16px !important;
    right: 16px !important;
    top: 58px !important;
    max-width: none !important;
    text-align: center !important;
  }
  #hero .hero-lede { text-align: center !important; font-size: 13px !important; }
  #hero .hero-lede i { font-size: 11px !important; }
}

/* ============================================================
   左上品牌：加粗加大
   ============================================================ */
.brand {
  gap: 13px !important;
}

.brand .seal {
  width: 40px !important;
  height: 40px !important;
  border-radius: 7px !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  box-shadow:
    inset 0 0 0 1.5px rgba(246, 223, 164, 0.45),
    0 6px 22px rgba(0, 0, 0, 0.6) !important;
}

.brand-text {
  font-family: var(--serif) !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  color: #fffaf0 !important;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 1),
    0 4px 22px rgba(0, 0, 0, 0.9) !important;
  line-height: 1.2 !important;
}

.brand-text b {
  display: block !important;
  font-weight: 700 !important;
  font-size: 19px !important;
  letter-spacing: 0.14em !important;
  color: #fffaf0 !important;
}

.brand-text i {
  display: block !important;
  margin-top: 3px !important;
  font-style: normal !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(242, 217, 154, 0.8) !important;
}

/* 手机 */
@media (max-width: 820px) and (orientation: portrait) {
  .brand .seal { width: 32px !important; height: 32px !important; font-size: 17px !important; }
  .brand-text, .brand-text b { font-size: 15.5px !important; letter-spacing: 0.1em !important; }
  .brand-text i { font-size: 9.5px !important; }
}

/* ============================================================
   定位语：下移 + 朱砂红
   ============================================================ */
#hero {
  top: 112px !important;
}

#hero .hero-lede b {
  color: #ff6f4d !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 1),
    0 3px 16px rgba(0, 0, 0, 0.95),
    0 0 30px rgba(180, 40, 20, 0.35) !important;
}

#hero .hero-lede i {
  color: #e8604a !important;
  opacity: 0.95 !important;
  letter-spacing: 0.06em !important;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 1),
    0 3px 16px rgba(0, 0, 0, 0.95) !important;
}

@media (max-width: 820px) and (orientation: portrait) {
  #hero { top: 78px !important; }
  #hero .hero-lede b { font-size: 14px !important; }
  #hero .hero-lede i { font-size: 11px !important; }
}

/* 朱砂红：加强可读性 */
#hero {
  background: none !important;
  padding: 0 !important;
}

#hero .hero-lede b {
  color: #ff7a55 !important;
  font-weight: 600 !important;
  -webkit-text-stroke: 0.6px rgba(60, 8, 0, 0.75);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 1),
    0 2px 8px rgba(0, 0, 0, 1),
    0 4px 22px rgba(0, 0, 0, 0.95),
    0 0 38px rgba(255, 95, 55, 0.35) !important;
}

#hero .hero-lede i {
  color: #f06a4a !important;
  opacity: 1 !important;
  -webkit-text-stroke: 0.4px rgba(60, 8, 0, 0.6);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 1),
    0 2px 8px rgba(0, 0, 0, 1),
    0 4px 18px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(255, 95, 55, 0.28) !important;
}

/* ============================================================
   左上品牌：朱砂红
   ============================================================ */
.brand-text,
.brand-text b {
  color: #ff7a55 !important;
  -webkit-text-stroke: 0.5px rgba(60, 8, 0, 0.6);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 1),
    0 2px 10px rgba(0, 0, 0, 1),
    0 4px 24px rgba(0, 0, 0, 0.92),
    0 0 36px rgba(255, 95, 55, 0.32) !important;
}

.brand-text i {
  color: #e8604a !important;
  -webkit-text-stroke: 0.35px rgba(60, 8, 0, 0.5);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 1),
    0 2px 8px rgba(0, 0, 0, 1),
    0 3px 18px rgba(0, 0, 0, 0.9),
    0 0 28px rgba(255, 95, 55, 0.26) !important;
}

/* 标题区：彻底无背景 */
#hero,
#hero.hide {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

/* ============================================================
   左上角：品牌 + 定位语 统一排版
   ============================================================ */
#hero {
  left: 30px !important;
  top: 74px !important;
  padding: 0 !important;
  max-width: 320px !important;
  background: none !important;
}

/* 定位语中文：朱砂红，行距收紧 */
#hero .hero-lede {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  white-space: normal !important;
}

#hero .hero-lede b {
  display: block !important;
  color: #ff6a43 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0.1em !important;
  -webkit-text-stroke: 0.55px rgba(70, 10, 0, 0.55);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 1),
    0 2px 9px rgba(0, 0, 0, 1),
    0 5px 26px rgba(0, 0, 0, 0.95) !important;
}

/* 英文：暗金，小字宽距 */
#hero .hero-lede i {
  display: block !important;
  margin-top: 7px !important;
  font-size: 11px !important;
  font-style: normal !important;
  letter-spacing: 0.1em !important;
  color: rgba(226, 196, 138, 0.82) !important;
  opacity: 1 !important;
  -webkit-text-stroke: 0 !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 1),
    0 2px 10px rgba(0, 0, 0, 0.95) !important;
}

/* 品牌：跟标题同基线 */
.brand {
  gap: 12px !important;
  align-items: flex-start !important;
}
.brand .seal {
  width: 42px !important;
  height: 42px !important;
  font-size: 22px !important;
  margin-top: 1px !important;
}
.brand-text {
  padding-top: 1px !important;
}
.brand-text, .brand-text b {
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.15 !important;
  color: #ff6a43 !important;
  -webkit-text-stroke: 0.55px rgba(70, 10, 0, 0.5);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 1),
    0 3px 14px rgba(0, 0, 0, 1),
    0 6px 30px rgba(0, 0, 0, 0.9) !important;
}
.brand-text i {
  margin-top: 4px !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.24em !important;
  color: rgba(226, 196, 138, 0.85) !important;
  -webkit-text-stroke: 0 !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 1),
    0 2px 10px rgba(0, 0, 0, 0.9) !important;
}

/* 手机 */
@media (max-width: 820px) and (orientation: portrait) {
  #hero { top: 72px !important; }
  #hero .hero-lede b { font-size: 13.5px !important; }
  #hero .hero-lede i { font-size: 10.5px !important; }
  .brand .seal { width: 32px !important; height: 32px !important; font-size: 16px !important; }
  .brand-text, .brand-text b { font-size: 15px !important; }
  .brand-text i { font-size: 9px !important; }
}

/* 左上角微调：间距与英文大小 */
#hero {
  top: 80px !important;
}

#hero .hero-lede b {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

#hero .hero-lede i {
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  margin-top: 9px !important;
  color: rgba(232, 205, 152, 0.88) !important;
}

#hero .hero-lede b + b {
  margin-top: 2px;
}

/* ============================================================
   左上角最终版：只留品牌，文字用暗金
   ============================================================ */
#hero { display: none !important; }

/* 品牌回到暗金色，只有印章是朱砂 */
.brand .seal {
  width: 38px !important;
  height: 38px !important;
  font-size: 20px !important;
  border-radius: 6px !important;
  background: linear-gradient(160deg, #a8301f, #6b1410) !important;
  box-shadow:
    inset 0 0 0 1.5px rgba(246, 223, 164, 0.45),
    0 5px 20px rgba(0, 0, 0, 0.6) !important;
}

.brand-text, .brand-text b {
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  line-height: 1.2 !important;
  color: rgba(255, 248, 232, 0.94) !important;
  -webkit-text-stroke: 0 !important;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 1),
    0 3px 16px rgba(0, 0, 0, 0.92) !important;
}

.brand-text i {
  margin-top: 3px !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  letter-spacing: 0.26em !important;
  color: rgba(226, 196, 138, 0.78) !important;
  -webkit-text-stroke: 0 !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 1),
    0 2px 10px rgba(0, 0, 0, 0.9) !important;
}

@media (max-width: 820px) and (orientation: portrait) {
  .brand .seal { width: 30px !important; height: 30px !important; font-size: 15px !important; }
  .brand-text, .brand-text b { font-size: 14.5px !important; letter-spacing: 0.1em !important; }
  .brand-text i { font-size: 8.5px !important; letter-spacing: 0.18em !important; }
}

/* ============================================================
   今日卡：收起时一行，点击展开
   ============================================================ */
#today {
  width: min(560px, 38vw) !important;
  pointer-events: auto !important;
}

.today-inner {
  padding: 11px 18px 12px 16px !important;
  cursor: pointer;
  transition: padding 0.25s ease, background 0.25s ease;
  background: rgba(9, 9, 13, 0.7) !important;
}
#today:hover .today-inner {
  background: rgba(9, 9, 13, 0.86) !important;
}

/* 收起态：只留顶部一行 */
#today:not(.expanded) .today-head,
#today:not(.expanded) .today-tags,
#today:not(.expanded) .today-share {
  display: none !important;
}
#today:not(.expanded) .today-top {
  margin-bottom: 0 !important;
  padding-right: 52px !important;
}
#today:not(.expanded) .today-gz {
  font-size: 19px !important;
}
#today:not(.expanded) .today-word {
  font-size: 11.5px !important;
}

/* 展开态 */
#today.expanded .today-inner {
  padding: 15px 20px 16px 18px !important;
  background: rgba(9, 9, 13, 0.9) !important;
}
#today.expanded .today-more {
  transform: rotate(180deg);
}

/* 展开箭头 */
.today-more {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  background: none;
  border: none;
  color: rgba(242, 217, 154, 0.55);
  font-size: 11px;
  padding: 3px 5px;
  cursor: pointer;
  transition: transform 0.25s, color 0.2s;
}
.today-more:hover { color: rgba(255, 240, 190, 0.95); }

#today.expanded .today-share {
  position: absolute;
  right: 14px;
  bottom: 12px;
  top: auto;
}

/* 手机：默认展开（屏幕小，收起会看不到内容） */
@media (max-width: 820px) and (orientation: portrait) {
  #today .today-head,
  #today .today-tags,
  #today .today-share { display: block !important; }
  #today .today-tags { display: flex !important; }
  #today .today-more { display: none !important; }
  #today .today-top { margin-bottom: 8px !important; }
}

/* ============================================================
   今日卡：移到左上角（品牌下方）
   ============================================================ */
#today {
  position: fixed !important;
  left: 30px !important;
  top: 92px !important;
  bottom: auto !important;
  width: min(430px, 30vw) !important;
  z-index: 12 !important;
  pointer-events: auto !important;
}

.today-inner {
  padding: 10px 16px 11px 15px !important;
  border-radius: 10px !important;
  background: rgba(9, 9, 13, 0.72) !important;
  border: 1px solid rgba(217, 180, 91, 0.3) !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55) !important;
}

#today:not(.expanded) .today-gz { font-size: 17px !important; }
#today:not(.expanded) .today-kicker { font-size: 10px !important; }
#today:not(.expanded) .today-word { font-size: 10.5px !important; }
#today:not(.expanded) .today-top { gap: 7px !important; padding-right: 40px !important; }

#today.expanded {
  width: min(470px, 33vw) !important;
}

/* 手机：回到底部铺满 */
@media (max-width: 820px) and (orientation: portrait) {
  #today {
    left: 3vw !important;
    right: auto !important;
    top: auto !important;
    bottom: 92px !important;
    width: 94vw !important;
  }
}
@media (max-height: 500px) and (orientation: landscape) {
  #today {
    left: 14px !important;
    top: auto !important;
    bottom: 40px !important;
    width: min(400px, 44vw) !important;
  }
}

/* ============================================================
   今日卡：朱砂色条 + 两行
   ============================================================ */
#today {
  position: fixed !important;
  left: 30px !important;
  top: 92px !important;
  bottom: auto !important;
  width: min(330px, 24vw) !important;
  z-index: 12 !important;
  pointer-events: auto !important;
}

.today-inner {
  position: relative !important;
  padding: 10px 42px 11px 15px !important;
  border-radius: 0 9px 9px 0 !important;
  background: linear-gradient(90deg, rgba(9, 9, 13, 0.86), rgba(9, 9, 13, 0.58)) !important;
  border: none !important;
  border-left: 3px solid #a8301f !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(12px) !important;
  cursor: pointer;
  transition: background 0.25s;
}
#today:hover .today-inner {
  background: linear-gradient(90deg, rgba(14, 12, 10, 0.92), rgba(10, 10, 14, 0.7)) !important;
}

/* 干支：主信息 */
.today-gz {
  display: block !important;
  font-family: var(--serif) !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2 !important;
  color: #fff3d6 !important;
  white-space: nowrap !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
}

/* 第二行：今日 · 生发 */
.today-meta {
  display: flex !important;
  align-items: baseline;
  gap: 6px;
  margin-top: 3px;
  white-space: nowrap;
}

.today-kicker {
  font-family: var(--serif) !important;
  font-size: 9.5px !important;
  letter-spacing: 0.16em !important;
  color: rgba(242, 217, 154, 0.62) !important;
  white-space: nowrap !important;
}

.today-word {
  font-family: var(--serif) !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  color: rgba(242, 217, 154, 0.9) !important;
  white-space: nowrap !important;
}

/* 箭头 */
.today-more {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: rgba(242, 217, 154, 0.45) !important;
  font-size: 10px !important;
}
#today.expanded .today-more {
  transform: translateY(-50%) rotate(180deg) !important;
}

/* 展开态 */
#today.expanded {
  width: min(470px, 33vw) !important;
}
#today.expanded .today-inner {
  padding: 14px 20px 15px 17px !important;
  background: rgba(9, 9, 13, 0.92) !important;
}
#today.expanded .today-gz { font-size: 22px !important; }
#today.expanded .today-meta { margin-top: 4px; }
#today.expanded .today-head { display: block !important; margin-top: 10px; }
#today.expanded .today-tags { display: flex !important; margin-top: 10px; }

/* 收起态隐藏 */
#today:not(.expanded) .today-head,
#today:not(.expanded) .today-tags,
#today:not(.expanded) .today-share {
  display: none !important;
}

@media (max-width: 820px) and (orientation: portrait) {
  #today {
    left: 3vw !important;
    top: auto !important;
    bottom: 168px !important;
    width: 94vw !important;
  }
  #today .today-head, #today .today-tags, #today .today-share { display: block !important; }
  #today .today-tags { display: flex !important; }
  #today .today-more { display: none !important; }
}

/* 今日卡：收窄 + 实底 */
#today {
  width: auto !important;
  max-width: min(340px, 26vw) !important;
}

.today-inner {
  background: rgba(10, 10, 14, 0.88) !important;
  border-left: 3.5px solid #b6331f !important;
  padding: 10px 34px 11px 14px !important;
  box-shadow:
    0 8px 26px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(217, 180, 91, 0.1) !important;
}

#today:hover .today-inner {
  background: rgba(16, 13, 11, 0.94) !important;
}

.today-gz {
  font-size: 18px !important;
  letter-spacing: 0.03em !important;
}

.today-meta {
  gap: 5px !important;
  margin-top: 2px !important;
}

.today-kicker {
  font-size: 9px !important;
  letter-spacing: 0.14em !important;
}

.today-word {
  font-size: 10.5px !important;
  letter-spacing: 0.08em !important;
}

.today-more {
  right: 11px !important;
  font-size: 9px !important;
}

#today.expanded {
  max-width: min(470px, 33vw) !important;
}

/* 今日卡：墨绿底 + 金边（呼应匾额） */
.today-inner {
  background: linear-gradient(
    135deg,
    rgba(20, 32, 26, 0.9) 0%,
    rgba(14, 22, 18, 0.92) 100%
  ) !important;
  border-left: 3px solid #c9a24d !important;
  box-shadow:
    0 8px 26px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(201, 162, 77, 0.28) !important;
}

#today:hover .today-inner {
  background: linear-gradient(
    135deg,
    rgba(26, 41, 33, 0.94) 0%,
    rgba(18, 29, 23, 0.96) 100%
  ) !important;
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(224, 190, 120, 0.42) !important;
}

.today-gz {
  color: #fff6e2 !important;
}

.today-kicker {
  color: rgba(201, 162, 77, 0.72) !important;
}

.today-word {
  color: rgba(232, 205, 152, 0.95) !important;
}

.today-more {
  color: rgba(201, 162, 77, 0.55) !important;
}
#today:hover .today-more {
  color: rgba(240, 214, 160, 0.95) !important;
}

/* ============================================================
   今日卡：无彩色，只压暗画面
   ============================================================ */
.today-inner {
  background: rgba(16, 20, 26, 0.56) !important;
  backdrop-filter: blur(26px) saturate(1.1) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-left: none !important;
  border-radius: 11px !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.42) !important;
}

#today:hover .today-inner {
  background: rgba(16, 20, 26, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.today-gz {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7) !important;
}

.today-kicker {
  color: rgba(255, 255, 255, 0.5) !important;
}

.today-word {
  color: rgba(255, 255, 255, 0.82) !important;
}

.today-more {
  color: rgba(255, 255, 255, 0.4) !important;
}
#today:hover .today-more {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* 展开后的断语、标签也统一为白灰 */
#today.expanded .today-inner {
  background: rgba(16, 20, 26, 0.8) !important;
}
.today-head, #today-head i {
  color: rgba(255, 255, 255, 0.8) !important;
}
#today-head i { color: rgba(255, 255, 255, 0.55) !important; }

.t-good {
  color: #c8e8b0 !important;
  background: rgba(120, 170, 90, 0.2) !important;
  border: 1px solid rgba(160, 210, 120, 0.28) !important;
}
.t-bad {
  color: #f0bcac !important;
  background: rgba(180, 90, 70, 0.2) !important;
  border: 1px solid rgba(220, 140, 120, 0.26) !important;
}
.t-plain {
  color: rgba(255, 255, 255, 0.75) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

/* ============================================================
   今日卡：精致化
   ============================================================ */
#today {
  left: 32px !important;
  top: 94px !important;
}

.today-inner {
  padding: 13px 38px 13px 17px !important;
  border-radius: 10px !important;
  background: rgba(16, 20, 26, 0.52) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  backdrop-filter: blur(30px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(30px) saturate(1.15) !important;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#today:hover .today-inner {
  background: rgba(16, 20, 26, 0.68) !important;
  transform: translateY(-1px);
  box-shadow:
    0 16px 46px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
}

.today-gz {
  font-size: 19.5px !important;
  letter-spacing: 0.03em !important;
  line-height: 1.25 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6) !important;
}

.today-meta {
  margin-top: 4px !important;
  gap: 0 !important;
}

.today-kicker {
  font-size: 9.5px !important;
  letter-spacing: 0.2em !important;
  color: rgba(255, 255, 255, 0.42) !important;
}

/* 用中点分隔 */
.today-kicker::after {
  content: '·';
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.28);
}

.today-word {
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.today-more {
  right: 13px !important;
  font-size: 9px !important;
  color: rgba(255, 255, 255, 0.3) !important;
  transition: color 0.25s, transform 0.3s !important;
}
#today:hover .today-more {
  color: rgba(255, 255, 255, 0.75) !important;
}

#today.expanded .today-inner {
  background: rgba(16, 20, 26, 0.78) !important;
}

/* 移动端：今日卡与底部提示留出安全间距 */
@media (max-width: 820px) and (orientation: portrait) {
  #today {
    bottom: 172px !important;
  }
  #tip {
    bottom: 8px !important;
  }
}
@media (max-width: 400px) and (orientation: portrait) {
  #today { bottom: 164px !important; }
  .today-inner { padding: 9px 14px 10px !important; }
}

/* ============================================================
   悬停浮标：实底、无模糊、不压建筑
   ============================================================ */
#hoverName {
  background: rgba(8, 10, 14, 0.94) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(217, 180, 91, 0.5) !important;
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 1) !important;
  transform: translate(-50%, -190%) scale(0.96) !important;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

#hoverName.on {
  transform: translate(-50%, -190%) scale(1) !important;
}

#hoverName b {
  color: #fff6dd !important;
  letter-spacing: 0.16em !important;
}
#hoverName i {
  color: rgba(242, 217, 154, 0.75) !important;
}

/* 浮标：放在建筑下方，不遮匾额 */
#hoverName {
  transform: translate(-50%, 34px) scale(0.96) !important;
}
#hoverName.on {
  transform: translate(-50%, 42px) scale(1) !important;
}

/* 手机端：所有可点元素 ≥44px */
@media (max-width: 820px) {
  #btn-what {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
  }
  #btn-lang {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 12px !important;
  }
  .hotspot { min-width: 44px; min-height: 44px; }
}

/* ============================================================
   说明浮层：边界与声明
   ============================================================ */
.what-limits {
  margin-top: 18px !important;
  padding: 14px 16px !important;
  border-radius: 8px !important;
  background: rgba(182, 51, 31, 0.07) !important;
  border-left: 2.5px solid rgba(182, 51, 31, 0.6) !important;
}

.what-limits-title {
  display: block !important;
  margin-bottom: 8px !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  color: #f0b878 !important;
}

.what-limits ul {
  margin: 0 !important;
  padding-left: 16px !important;
}

.what-limits li {
  margin-bottom: 6px !important;
  font-size: 12px !important;
  line-height: 1.75 !important;
  color: rgba(255, 248, 232, 0.68) !important;
}

.what-legal {
  margin-top: 16px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(217, 180, 91, 0.14) !important;
  font-size: 10.5px !important;
  letter-spacing: 0.04em !important;
  color: rgba(255, 248, 232, 0.38) !important;
}

.what-legal a {
  color: rgba(217, 180, 91, 0.62) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(217, 180, 91, 0.25) !important;
}

.what-legal a:hover {
  color: rgba(246, 214, 140, 0.95) !important;
}

/* 底部声明（极淡，不干扰画面） */
#legal-line {
  position: fixed !important;
  right: 14px !important;
  bottom: 10px !important;
  left: auto !important;
  transform: none !important;
  z-index: 12 !important;
  font-family: var(--serif) !important;
  font-size: 9px !important;
  letter-spacing: 0.06em !important;
  color: rgba(255, 248, 232, 0.3) !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95) !important;
  pointer-events: auto !important;
  white-space: nowrap !important;
}

#legal-line a {
  color: rgba(217, 180, 91, 0.45) !important;
  text-decoration: none !important;
}

#legal-line a:hover {
  color: rgba(246, 214, 140, 0.9) !important;
}

@media (max-width: 820px) {
  #legal-line { font-size: 8px !important; bottom: 4px !important; }
  .what-limits li { font-size: 11.5px !important; }
}
