/**
 * AsherLab · Lesser Lord Kusanali (Nahida) Birthday Tribute Styling
 * 纳西妲生日应援专属华美视效样式库 · 花神诞祭特别篇
 */

:root {
  --nh-dendro: #67b346;
  --nh-dendro-light: #8bd45a;
  --nh-dendro-bright: #d8f45c;
  --nh-dendro-dark: #1d4d4a;
  --nh-gold: #f0db93;
  --nh-gold-deep: #c99c3e;
  --nh-pink: #f2a8b8;
  --nh-pink-soft: #fcecef;
  --nh-cream: #faf7ef;
  --nh-cream-deep: #ece4d2;
  --nh-text-dark: #1c2b29;
  --nh-text-muted: #5e7370;
  --nh-shadow-leaf: rgba(103, 179, 70, 0.28);
  --nh-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --nh-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --nh-mono: 'DM Mono', monospace;
}

* {
  box-sizing: border-box;
}

body.nahida-tribute-page {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #0b1a19;
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(139, 212, 90, 0.18), transparent 55%),
    radial-gradient(circle at 20% 60%, rgba(240, 219, 147, 0.12), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(242, 168, 184, 0.14), transparent 50%),
    linear-gradient(180deg, #091615 0%, #0c1e1d 40%, #0d2422 100%);
  color: #ebf5f0;
  font-family: var(--nh-sans);
  overflow-x: hidden;
  position: relative;
}

/* 粒子全屏画布 */
#nahida-particle-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* 顶部导航与控制栏 */
.nh-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 42px);
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(9, 22, 21, 0.72);
  border-bottom: 1px solid rgba(139, 212, 90, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.nh-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nh-gold);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(240, 219, 147, 0.35);
  background: rgba(240, 219, 147, 0.08);
  transition: all 0.25s ease;
}

.nh-back-link:hover {
  background: rgba(139, 212, 90, 0.2);
  border-color: var(--nh-dendro-light);
  color: #fff;
  transform: translateX(-2px);
}

.nh-topbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(235, 245, 240, 0.9);
  text-transform: uppercase;
  font-family: var(--nh-mono);
}

.nh-topbar-title .sigil-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nh-dendro-bright);
  box-shadow: 0 0 10px var(--nh-dendro-bright);
}

.nh-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(103, 179, 70, 0.14);
  border: 1px solid rgba(103, 179, 70, 0.4);
  color: var(--nh-dendro-light);
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  font-family: var(--nh-sans);
  transition: all 0.25s ease;
}

.nh-audio-btn:hover {
  background: rgba(103, 179, 70, 0.28);
  border-color: var(--nh-dendro-bright);
  color: #fff;
}

.nh-audio-btn.is-playing {
  background: rgba(103, 179, 70, 0.35);
  border-color: var(--nh-dendro-bright);
  color: var(--nh-dendro-bright);
  box-shadow: 0 0 12px rgba(139, 212, 90, 0.35);
}

/* 主内容容器 */
.nh-main-shell {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}

/* 顶部浪漫横幅 */
.nh-banner-hero {
  text-align: center;
  padding: 30px 10px 45px;
  position: relative;
}

.nh-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(103, 179, 70, 0.16);
  border: 1px solid rgba(139, 212, 90, 0.35);
  color: var(--nh-dendro-bright);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 0 18px rgba(103, 179, 70, 0.22);
}

.nh-hero-h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}

.nh-title-line-1 {
  display: block;
  font-size: clamp(34px, 5.6vw, 62px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 15%, #f7f3d9 55%, var(--nh-dendro-light) 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(139, 212, 90, 0.28);
}

.nh-title-line-2 {
  display: block;
  font-size: clamp(20px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  background: linear-gradient(135deg, #f0db93 30%, #8bd45a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 24px rgba(240, 219, 147, 0.22);
}

.nh-hero-poem {
  font-size: clamp(13px, 1.4vw, 17.5px);
  line-height: 1.6;
  color: rgba(235, 245, 240, 0.92);
  max-width: 1100px;
  margin: 0 auto 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .nh-hero-poem {
    white-space: normal;
    font-size: 14px;
    max-width: 580px;
  }
}

.nh-hero-poem em {
  font-style: normal;
  color: var(--nh-gold);
  font-weight: 500;
}

/* 用户专属献词高亮卡 */
.nh-dedication-box {
  display: inline-block;
  padding: 18px 32px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(29, 77, 74, 0.45), rgba(103, 179, 70, 0.18));
  border: 1px solid rgba(240, 219, 147, 0.32);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 24px rgba(139, 212, 90, 0.12);
  margin-top: 6px;
  position: relative;
}

.nh-dedication-years {
  font-family: var(--nh-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--nh-dendro-bright);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.nh-dedication-quote {
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 600;
  color: var(--nh-gold);
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin: 0;
}

/* 核心舞台：官方立绘与梦境秋千 */
.nh-stage-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  margin: 40px 0 65px;
  padding: 34px;
  border-radius: 28px;
  background: radial-gradient(circle at 60% 40%, rgba(29, 77, 74, 0.35), rgba(9, 22, 21, 0.85));
  border: 1px solid rgba(139, 212, 90, 0.26);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), inset 0 0 40px rgba(139, 212, 90, 0.05);
}

.nh-stage-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 212, 90, 0.2);
  border: 1px solid rgba(240, 219, 147, 0.4);
  background: #0d2220;
}

.nh-stage-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
}

.nh-stage-visual:hover .nh-stage-img {
  transform: scale(1.035);
}

.nh-stage-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(to top, rgba(9, 22, 21, 0.95), transparent);
  font-size: 13px;
  color: rgba(240, 219, 147, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 舞台右侧互动信息 */
.nh-stage-narrative {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nh-narrative-tag {
  font-family: var(--nh-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--nh-dendro-light);
  text-transform: uppercase;
}

.nh-narrative-title {
  font-size: clamp(24px, 3.2vw, 36px);
  margin: 0;
  color: #fff;
  line-height: 1.25;
}

.nh-narrative-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(235, 245, 240, 0.82);
  margin: 0;
}

.nh-stage-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.nh-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.nh-action-btn.primary {
  background: linear-gradient(135deg, var(--nh-dendro-light), var(--nh-dendro));
  color: #0b1a19;
  box-shadow: 0 6px 20px rgba(103, 179, 70, 0.4);
}

.nh-action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(139, 212, 90, 0.6);
}

.nh-action-btn.secondary {
  background: rgba(240, 219, 147, 0.12);
  border: 1px solid rgba(240, 219, 147, 0.4);
  color: var(--nh-gold);
}

.nh-action-btn.secondary:hover {
  background: rgba(240, 219, 147, 0.22);
  color: #fff;
  transform: translateY(-2px);
}

/* 四年时光回廊 (2022-2026 Timeline Cards) */
.nh-section-title-wrap {
  text-align: center;
  margin: 70px 0 35px;
}

.nh-section-kicker {
  font-family: var(--nh-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--nh-dendro-light);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.nh-section-h2 {
  font-size: clamp(26px, 3.8vw, 42px);
  margin: 0 0 12px;
  color: #ffffff;
}

.nh-timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 70px;
}

.nh-timeline-card {
  background: rgba(13, 36, 34, 0.65);
  border: 1px solid rgba(139, 212, 90, 0.22);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.nh-timeline-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 219, 147, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(103, 179, 70, 0.22);
}

.nh-card-year {
  font-family: var(--nh-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--nh-dendro-bright);
  margin-bottom: 4px;
}

.nh-card-phase {
  font-size: 16px;
  font-weight: 600;
  color: var(--nh-gold);
  margin-bottom: 14px;
}

.nh-card-body {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(235, 245, 240, 0.85);
  margin-bottom: 16px;
  flex: 1;
}

.nh-card-quote {
  font-size: 12.5px;
  line-height: 1.6;
  font-style: italic;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(103, 179, 70, 0.08);
  border-left: 3px solid var(--nh-dendro-light);
  color: rgba(240, 219, 147, 0.95);
}

/* 互动专区：点亮帕蒂沙兰与生日回礼盒 */
.nh-interactive-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  margin-bottom: 70px;
}

.nh-interactive-card {
  background: rgba(13, 36, 34, 0.7);
  border: 1px solid rgba(139, 212, 90, 0.25);
  border-radius: 24px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.nh-wish-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.nh-wish-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.nh-wish-counter {
  font-family: var(--nh-mono);
  font-size: 12px;
  color: var(--nh-dendro-bright);
  background: rgba(103, 179, 70, 0.15);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(103, 179, 70, 0.3);
}

.nh-wish-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.nh-wish-input {
  flex: 1;
  background: rgba(9, 22, 21, 0.85);
  border: 1px solid rgba(139, 212, 90, 0.35);
  border-radius: 999px;
  padding: 11px 20px;
  color: #fff;
  font-size: 13.5px;
  outline: none;
  font-family: var(--nh-sans);
  transition: border-color 0.2s ease;
}

.nh-wish-input:focus {
  border-color: var(--nh-dendro-bright);
  box-shadow: 0 0 12px rgba(139, 212, 90, 0.25);
}

.nh-wish-submit {
  background: linear-gradient(135deg, var(--nh-dendro-light), var(--nh-dendro));
  border: none;
  color: #0b1a19;
  font-weight: 600;
  padding: 0 22px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13.5px;
  transition: transform 0.2s ease;
}

.nh-wish-submit:hover {
  transform: translateY(-1px);
}

.nh-preset-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.nh-preset-tag {
  font-size: 12px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(240, 219, 147, 0.08);
  border: 1px solid rgba(240, 219, 147, 0.25);
  color: rgba(240, 219, 147, 0.9);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nh-preset-tag:hover {
  background: rgba(139, 212, 90, 0.2);
  border-color: var(--nh-dendro-light);
  color: #fff;
}

.nh-wishes-board {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 6px;
}

.nh-wishes-board::-webkit-scrollbar {
  width: 4px;
}
.nh-wishes-board::-webkit-scrollbar-thumb {
  background: rgba(139, 212, 90, 0.35);
  border-radius: 4px;
}

.nh-wish-bubble {
  background: rgba(9, 22, 21, 0.65);
  border: 1px solid rgba(139, 212, 90, 0.18);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(235, 245, 240, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeInWish 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes fadeInWish {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 礼物盒交互卡 (Gift Box) */
.nh-gift-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
}

.nh-gift-box {
  width: 140px;
  height: 140px;
  position: relative;
  cursor: pointer;
  margin: 15px 0 25px;
  transition: transform 0.3s ease;
}

.nh-gift-box:hover {
  transform: scale(1.06) rotate(-2deg);
}

.nh-gift-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 24px rgba(103, 179, 70, 0.3));
}

.nh-gift-hint {
  font-size: 14px;
  color: var(--nh-dendro-light);
  margin-bottom: 8px;
}

/* 礼物展开状态 */
.nh-gift-reveal {
  display: none;
  animation: giftReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  flex-direction: column;
  align-items: center;
}

.nh-gift-reveal.is-open {
  display: flex;
}

@keyframes giftReveal {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.nh-dish-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(240, 219, 147, 0.45));
  margin-bottom: 12px;
}

.nh-dish-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--nh-gold);
  margin: 0 0 6px;
}

.nh-dish-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(235, 245, 240, 0.88);
  max-width: 440px;
  margin: 0 auto;
  text-align: justify;
}

/* 底部祝辞与归航 */
.nh-footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(139, 212, 90, 0.18);
  color: rgba(235, 245, 240, 0.6);
  font-size: 13px;
  line-height: 1.8;
}

.nh-footer a {
  color: var(--nh-dendro-light);
  text-decoration: none;
}

.nh-footer a:hover {
  text-decoration: underline;
}

/* 响应式适配 */
@media (max-width: 900px) {
  .nh-stage-wrap {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }
  .nh-interactive-row {
    grid-template-columns: 1fr;
  }
  .nh-banner-hero {
    padding-top: 15px;
  }
}


/* 官方三张生贺图并排专区 (2022 / 2023 / 2024) */
.nh-triptych-section {
  margin: 25px 0 65px;
}

.nh-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.nh-triptych-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.nh-art-card {
  background: rgba(13, 36, 34, 0.72);
  border: 1px solid rgba(139, 212, 90, 0.28);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(103, 179, 70, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.nh-art-card:hover {
  transform: translateY(-8px);
  border-color: rgba(240, 219, 147, 0.6);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 32px rgba(139, 212, 90, 0.25);
}

.nh-art-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0d2220;
  cursor: zoom-in;
}

.nh-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.nh-art-card:hover .nh-art-img {
  transform: scale(1.05);
}

.nh-art-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(9, 22, 21, 0.85);
  border: 1px solid rgba(240, 219, 147, 0.45);
  color: var(--nh-gold);
  font-family: var(--nh-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nh-art-expand-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(9, 22, 21, 0.8);
  color: rgba(235, 245, 240, 0.9);
  font-size: 11.5px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.25s ease;
  pointer-events: none;
  border: 1px solid rgba(139, 212, 90, 0.3);
}

.nh-art-card:hover .nh-art-expand-hint {
  opacity: 1;
  transform: translateY(0);
}

.nh-art-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.nh-art-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.nh-art-year {
  font-family: var(--nh-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--nh-dendro-bright);
}

.nh-art-phase {
  font-size: 15px;
  font-weight: 600;
  color: var(--nh-gold);
}

.nh-art-quote {
  font-size: 13px;
  line-height: 1.6;
  font-style: italic;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(103, 179, 70, 0.08);
  border-left: 3px solid var(--nh-dendro-light);
  color: rgba(240, 219, 147, 0.95);
  margin: 0;
}

.nh-art-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(235, 245, 240, 0.8);
  margin: 0;
  flex: 1;
}

/* 官图高清查看 Lightbox */
.nh-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 12, 11, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nh-lightbox-modal.is-active {
  display: flex;
  opacity: 1;
}

.nh-lightbox-content {
  position: relative;
  max-width: min(92vw, 780px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nh-lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  border-radius: 18px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(139, 212, 90, 0.35);
  border: 1px solid rgba(240, 219, 147, 0.5);
  object-fit: contain;
}

.nh-lightbox-caption {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--nh-gold);
  text-align: center;
  font-weight: 500;
}

.nh-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nh-lightbox-close:hover {
  background: rgba(139, 212, 90, 0.35);
  border-color: var(--nh-dendro-bright);
}

@media (max-width: 980px) {
  .nh-triptych-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 520px;
    margin: 0 auto;
  }
}


/* --- 花神诞祭动态视频壁纸背景 --- */
.nh-video-bg-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.nh-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  opacity: 0.92;
}

.nh-video-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 12%, rgba(7, 18, 17, 0.42), rgba(7, 18, 17, 0.72) 75%),
    linear-gradient(180deg, rgba(7, 18, 17, 0.45) 0%, rgba(7, 18, 17, 0.58) 40%, rgba(7, 18, 17, 0.88) 100%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

/* 当年画卷居中置顶，历年四张画卷保持原有网格。 */
.nh-current-year-row {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.nh-art-card-current {
  width: min(100%, 400px);
}

.nh-art-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--nh-gold);
  font-family: var(--nh-serif);
  font-size: 14px;
  letter-spacing: .08em;
  background: radial-gradient(ellipse at center, rgba(103, 179, 70, .16), transparent 70%);
}

.nh-art-placeholder-year {
  font: 500 clamp(48px, 8vw, 72px)/1 var(--nh-mono);
  color: var(--nh-dendro-light);
  letter-spacing: -.06em;
}

.nh-art-img-wrap.is-art-pending {
  cursor: default;
}

.is-art-pending .nh-art-placeholder {
  display: flex;
}

.is-art-pending .nh-art-img,
.is-art-pending .nh-art-expand-hint {
  display: none;
}

.nh-art-card-current .nh-art-img-wrap:focus-visible {
  outline: 2px solid var(--nh-gold);
  outline-offset: -4px;
}

.nh-art-card-current .nh-art-img-wrap:focus-visible .nh-art-expand-hint {
  opacity: 1;
  transform: translateY(0);
}

.nh-art-card-current .nh-art-desc {
  text-wrap: pretty;
}

@media (prefers-reduced-motion: reduce) {
  .nahida-tribute-page *,
  .nahida-tribute-page *::before,
  .nahida-tribute-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .nh-video-bg { visibility: hidden; }
}

/* 四列画卷并排网格 (2022, 2023, 2024, 2025) */
.nh-quad-grid,
.nh-triptych-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}

@media (max-width: 1180px) and (min-width: 768px) {
  .nh-quad-grid,
  .nh-triptych-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 767px) {
  .nh-quad-grid,
  .nh-triptych-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* 祝福提交状态（v2.0） */
.nh-wish-status { min-height:18px; margin:8px 2px 0; color:var(--nh-dendro-light); font:12px/1.5 var(--nh-mono); }
.nh-wish-status.is-error { color:#ff9b8a; }
.nh-wish-empty span { color:var(--nh-dendro-light); opacity:.85; }
