/* 신년운세 SEO 페이지(/unse/) 전용. style.css 의 .article 위에 얹는다. tools/gen-unse.mjs 가 쓰는 클래스만. */

.u-crumb {
  margin: 22px 0 0; font-size: 0.82rem; color: var(--text-dim);
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0;
}
.u-crumb a { color: var(--text-2); }
.u-crumb .sep { margin: 0 7px; color: var(--text-faint); }
.u-crumb [aria-current] { color: var(--gold-lit); }

/* 주인공 그림: 띠 동물 한 마리. 뒤에 금빛 달무리 */
.u-hero {
  position: relative; margin: 18px auto 0; max-width: 300px; text-align: center;
}
.u-hero::before {
  content: ''; position: absolute; left: 50%; top: 46%; width: 92%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(241, 220, 163, 0.20) 0%, rgba(207, 166, 80, 0.08) 45%, transparent 70%);
}
.u-hero img {
  width: 76%; height: auto; display: block; margin: 0 auto;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
  animation: u-float 3.2s ease-in-out infinite alternate;
}
.u-hero figcaption {
  margin-top: 6px; font-family: var(--serif); font-size: 0.92rem; color: var(--gold-lit); letter-spacing: 0.02em;
}
@keyframes u-float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* 띠 페이지: 같은 띠의 생년별 그림 줄 */
.u-strip {
  display: flex; justify-content: center; gap: 4px; margin: 22px 0 0; padding: 0;
}
.u-pal { flex: 1 1 0; max-width: 112px; text-align: center; text-decoration: none; }
.u-pal img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.5));
  transition: transform .2s ease;
}
.u-pal:nth-child(odd) img { animation: u-float 2.6s ease-in-out infinite alternate; }
.u-pal:nth-child(even) img { animation: u-float 3.1s ease-in-out .6s infinite alternate; }
.u-pal span { display: block; font-size: 0.78rem; color: var(--text-2); margin-top: 2px; }
.u-pal:hover { text-decoration: none; }
.u-pal:hover span { color: var(--gold-lit); }

.unse h1 { margin-top: 12px; }

/* 한눈에 보기 */
.u-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 22px 0 6px;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line);
}
.u-facts > div { background: var(--ink-2); padding: 12px 14px; min-width: 0; }
.u-facts dt { font-size: 0.78rem; color: var(--text-dim); margin: 0 0 2px; }
.u-facts dd { margin: 0; color: var(--hanji); font-weight: 700; font-size: 0.98rem; line-height: 1.45; }

/* 허브: 열두 띠 */
.u-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 8px; }
.u-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 10px 6px 12px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(180deg, rgba(23, 29, 51, 0.9), rgba(13, 18, 34, 0.9));
  border: 1px solid var(--line-soft);
}
.u-card img { width: 82%; height: auto; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5)); }
.u-card b { font-family: var(--serif); color: var(--hanji); font-size: 1rem; margin-top: 4px; }
.u-card span { font-size: 0.76rem; color: var(--text-2); line-height: 1.45; margin-top: 2px; }
.u-card:hover { text-decoration: none; border-color: var(--gold-deep); }
@media (min-width: 560px) { .u-grid { grid-template-columns: repeat(4, 1fr); } }

.u-yeartbl th { width: 5.6em; }
.u-yeartbl td a { display: inline-block; margin: 0 10px 4px 0; }
tr.on td { background: rgba(207, 166, 80, 0.08); }

/* 함께 보기 */
.u-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.u-chips a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text); font-size: 0.92rem; background: rgba(10, 13, 23, 0.5);
}
.u-chips a:hover { border-color: var(--gold-deep); color: var(--gold-lit); text-decoration: none; }

.u-cta { margin-top: 30px; }
.u-cta .btn { margin-top: 12px; }
.u-cta .btn.kakao { margin-top: 10px; }
.u-cta .faint { margin-top: 12px; font-size: 0.84rem; }
.article .u-cta h2 { border-bottom: none; padding-bottom: 0; margin-top: 0; }

.u-faq { margin-top: 40px; }
