/* 운세 탭 추가 스타일 (기본은 /fun/assets/menu.css) */
.disclaimer { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }
.field { margin-top: 16px; text-align: left; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field .input, .field select { margin-top: 0; }
select.input { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238b8b8b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; color: var(--text); }
.date-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; }

/* 사주 네 기둥 */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.pillar { border-radius: 14px; background: var(--soft); padding: 10px 4px; text-align: center; }
.pillar .pl { font-size: 12px; color: var(--muted); }
.pillar .hj { font-family: 'Jua', serif; font-size: 26px; line-height: 1.2; }
.pillar .hg { font-size: 12px; color: #555; }
.pillar.me { outline: 2px solid var(--primary); }
.pillar.empty { opacity: .45; }
.el-wood { color: #2f9e44; } .el-fire { color: #e03131; } .el-earth { color: #c08a00; } .el-metal { color: #868e96; } .el-water { color: #1c7ed6; }
.bg-wood { background: #2f9e44; } .bg-fire { background: #e03131; } .bg-earth { background: #e0a800; } .bg-metal { background: #adb5bd; } .bg-water { background: #1c7ed6; }

.el-bars { margin-top: 6px; }
.el-bar { display: grid; grid-template-columns: 78px 1fr 24px; align-items: center; gap: 10px; margin: 8px 0; font-size: 14px; }
.el-bar .lab { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.el-bar .lab .ic { width: 20px; height: 20px; font-size: 16px; }
.el-bar .track { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; }
.el-bar .fill { height: 100%; border-radius: 99px; }
.el-bar .n { text-align: right; color: var(--muted); }

.luck { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.luck div { background: var(--soft); border-radius: 14px; padding: 12px 6px; text-align: center; font-size: 13px; color: var(--muted); }
.luck b { display: block; font-family: 'Jua', sans-serif; font-weight: 400; font-size: 17px; color: var(--text); }
.fortune-list { list-style: none; padding: 0; margin: 14px 0 0; text-align: left; }
.fortune-list li { padding: 12px 2px; border-top: 1px solid var(--line); font-size: 15px; word-break: keep-all; }
.fortune-list li b { display: block; font-family: 'Jua', sans-serif; font-weight: 400; font-size: 15px; margin-bottom: 2px; }
.stars { color: var(--primary); letter-spacing: 1px; font-size: 13px; margin-left: 6px; }
.tag-line { display: inline-block; margin-top: 6px; padding: 4px 10px; border-radius: 8px; background: var(--tint); color: var(--primary); font-size: 13px; }

/* 타로 카드 */
.tcard {
  position: relative; width: 132px; aspect-ratio: 2 / 3.2; margin: 0 auto;
  border-radius: 14px; background: #fff; border: 1.5px solid #e2dcf5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px #d9d0f5;
}
.tcard .num { position: absolute; top: 12px; left: 0; right: 0; text-align: center; font-size: 12px; color: #9a8fc4; letter-spacing: 1px; }
.tcard .ic { width: 64px; height: 64px; font-size: 52px; }
.tcard .nm { font-family: 'Jua', sans-serif; font-size: 16px; }
.tcard.rev .ic { transform: rotate(180deg); }
.tcard.big { width: 168px; }
.tcard.big .ic { width: 88px; height: 88px; font-size: 70px; }
.tcard.big .nm { font-size: 20px; }
.tback {
  width: 100%; aspect-ratio: 2 / 3.2; border-radius: 10px; border: 0; padding: 0;
  background: var(--primary) radial-gradient(circle at 50% 50%, rgba(255,255,255,.25) 0 18%, transparent 19%) center / 100% 100%;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.35);
  transition: transform .15s ease, opacity .2s;
}
.tback:active { transform: scale(.96); }
.tback.picked { opacity: .2; pointer-events: none; }
.deck { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 16px; }
.spread { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 4px; }
.spread .tcard { width: 100%; }
.spread .tcard .ic { width: 48px; height: 48px; font-size: 40px; }
.spread .tcard .nm { font-size: 14px; }
.spread .pos { text-align: center; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.flip { animation: flip .45s ease both; }
@keyframes flip { from { transform: rotateY(90deg); opacity: 0; } to { transform: none; opacity: 1; } }
.reading { text-align: left; margin-top: 18px; }
.reading h4 { font-family: 'Jua', sans-serif; font-weight: 400; font-size: 17px; margin: 18px 0 4px; }
.reading h4 small { font-family: 'Gowun Dodum', sans-serif; color: var(--muted); font-size: 13px; margin-left: 4px; }
.reading p { word-break: keep-all; color: #333; }
.kw { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.kw span { background: var(--soft); color: #555; padding: 4px 10px; border-radius: 8px; font-size: 13px; }
.seg3 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg3 .choice { justify-content: center; }
