/*
 * 오늘의 운(2026-11-16 리뉴얼, 배치는 11/13 시안 #v-today). 그리는 곳: 사주/사주/index.html renderTodayResult(2안 .tv2).
 * 값은 모두 기준표(umsh-tokens.css) 이름, 모양 기준은 저장소 루트 DESIGN.md. 주황 테두리·윤곽 없음(사용자 11/16).
 * 순서: 3:4 반복 영상(아래쪽에 오늘의 한 줄, 2026-11-25) → 그 아래 날짜·인사·날씨 → 오늘 요약(점수·밝은 쪽·약한 쪽·오늘 색·기억할 것·조심할 것 · 공유 · 저장)
 *       → 분야 설명 → 점수 모양(오각형, 사용자 11/16 "그래프도 남겨") → 약한 분야 묻기 → 오늘 만날 사람
 *       → 네 운명록에 찍힌 표시 → 매력지수 → 오늘 고민 → 평생운 확인.
 * 2026-11-24 사용자 "글이 너무 많아 · 선이 꼭 필요할까": 구역 사이 40 · 제목→내용 16, 카드 안 가는 선은 빼고 여백 · 옅은 면으로 나눈다.
 */
.tv2 {
  display: grid;
  gap: var(--umsh-space-3);
  margin: calc(-1 * var(--umsh-space-4)) calc(-1 * var(--umsh-space-4)) 0;
  color: var(--umsh-ink);
}

.tv2-body {
  display: grid;
  gap: var(--umsh-space-3);
  padding: 0 var(--umsh-space-gutter);
}

/* ── 맨 위 영상 카드 ──
   2026-11-25 사용자 "상단 이미지를 영상컷으로 · 천명이 앉아서 상담하듯 반복되는 영상 · 카피를 앞에 얹어": 3:4 세로 반복 영상.
   영상 뒤에 같은 그림(img)이 깔려 있어 영상이 없거나 못 틀면 그림이 그대로 보인다(index.html bindTodayHeroVideo).
   오늘의 한 줄은 아래쪽 그늘 위에(얼굴 위에는 글을 두지 않는다). 날짜 · 인사 · 날씨는 카드 아래 글 묶음.
   잠긴 동안(.is-adlocked)에도 이 묶음(.tv2-hero)은 보인다. */
.tv2-hero {
  display: grid;
  gap: var(--umsh-space-4);
  margin: var(--umsh-space-2) var(--umsh-space-gutter) 0;
}

.tv2-pic {
  position: relative;
  aspect-ratio: var(--umsh-today-hero-ratio);
  overflow: hidden;
  border-radius: var(--umsh-radius-4xl);
  background: var(--umsh-surface-3);
  isolation: isolate;
}

.tv2-pic .tv2-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--umsh-today-hero-focus);
}

.tv2-pic .tv2-video[hidden] {
  display: none;
}

/* 오늘의 한 줄: 카드 아래쪽, 위에서 아래로 짙어지는 그늘 위 */
.tv2-pic-copy {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: var(--umsh-space-1);
  padding: var(--umsh-today-hero-copy-top) var(--umsh-space-5) var(--umsh-space-5);
  background: var(--umsh-today-hero-scrim);
}

.tv2-pic-copy h1 {
  margin: 0;
  color: var(--umsh-ink);
  font: var(--umsh-font-today-hero);
  letter-spacing: var(--umsh-tracking-tight);
  text-shadow: var(--umsh-today-hero-shadow);
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.tv2-pic-copy .tv2-lead {
  margin: 0;
  color: var(--umsh-promo-gold);
  text-shadow: var(--umsh-today-hero-shadow);
}

/* 그림 가장자리 아주 옅은 선(유리 카드와 같은 선, 그림 위에 그린다) */
.tv2-pic::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--umsh-glass-edge);
  pointer-events: none;
}

/* 날짜 · 인사 · 날씨: 그림 아래 글 묶음(왼쪽 맞춤) */
.tv2-greet {
  display: grid;
  gap: var(--umsh-space-1);
  padding: 0 var(--umsh-space-1);
}

.tv2-greet small {
  color: var(--umsh-muted);
  font: var(--umsh-font-meta);
}

.tv2-greet b {
  color: var(--umsh-ink);
  font: var(--umsh-font-say);
  letter-spacing: var(--umsh-tracking-tight);
  word-break: keep-all;
  text-wrap: balance;
}

.tv2-weather {
  color: var(--umsh-ink-2);
  font: var(--umsh-font-sub);
  word-break: keep-all;
}

.tv2-weather[hidden] {
  display: none;
}

/* ── 오늘 요약(2026-11-25, 예전 '천명의 한마디' · 오늘의 한 줄 카드 자리) ──
   사용자 "천명의 한마디는 이해하기 어려워 · 내 오늘운 써머리를 멋지게": 점수(크게) · 한마디 → 같은 크기 세 칸(밝은 쪽 · 약한 쪽 · 오늘 색)
   → 기억할 것 · 조심할 것 → 공유 · 저장 버튼. 같은 내용을 1080×1350 그림으로 그려 공유한다(today-share-card.js). */
.tv2-sum {
  display: grid;
  gap: var(--umsh-space-4);
  padding: var(--umsh-space-5) var(--umsh-space-4) var(--umsh-space-4);
  border-radius: var(--umsh-radius-3xl);
}

.tv2-sum-title {
  margin: 0;
  color: var(--umsh-ink);
  font: var(--umsh-font-item);
}

.tv2-sum-score {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: var(--umsh-space-1);
  margin: 0;
  color: var(--umsh-ink-2);
  font: var(--umsh-font-item);
}

.tv2-sum-score b {
  color: var(--umsh-ink);
  font: var(--umsh-font-today-score);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--umsh-tracking-tight);
}

.tv2-sum-score em {
  margin-left: var(--umsh-space-2);
  color: var(--umsh-promo-gold);
  font: var(--umsh-font-meta);
  font-style: normal;
  word-break: keep-all;
}

/* 같은 크기 세 칸(밝은 쪽 · 약한 쪽 · 오늘 색): 가는 선 없이 옅은 면 */
.tv2-sum-cells {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: var(--umsh-space-2);
  margin: 0;
}

.tv2-sum-cell {
  display: grid;
  align-content: start;
  gap: var(--umsh-space-1);
  padding: var(--umsh-space-3);
  border-radius: var(--umsh-radius-lg);
  background: var(--umsh-today-sum-cell-bg);
}

.tv2-sum-cell dt {
  color: var(--umsh-muted);
  font: var(--umsh-font-caption-strong);
}

.tv2-sum-cell dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--umsh-space-1);
  margin: 0;
  color: var(--umsh-ink);
  font: var(--umsh-font-item);
  word-break: keep-all;
}

.tv2-sum-cell dd span {
  color: var(--umsh-ink-2);
  font: var(--umsh-font-meta);
  font-variant-numeric: tabular-nums;
}

.tv2-sum-dot {
  flex: none;
  width: var(--umsh-space-3);
  height: var(--umsh-space-3);
  border-radius: var(--umsh-radius-full);
  background: var(--tv-swatch);
  box-shadow: var(--umsh-pub-dot-edge);
}

.tv2-sum .tv2-memo {
  margin: 0;
}

.tv2-sum-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--umsh-space-2);
}

.tv2-sum-actions .umsh-cta[aria-busy="true"] {
  opacity: var(--umsh-today-busy-opacity);
  cursor: progress;
}

.tv2-total {
  display: inline-flex;
  align-items: baseline;
  gap: var(--umsh-space-2);
  color: var(--umsh-muted);
  font: var(--umsh-font-meta);
}

.tv2-total b {
  color: var(--umsh-ink);
  font: var(--umsh-font-count);
  font-variant-numeric: tabular-nums;
}

/* 2026-11-24 사용자 "요약 줄바꿈 · 한눈에": 큰 한 줄은 마디째 줄을 바꾸고(낱말 안에서 끊지 않음) 두 줄이면 길이를 고르게.
   ' · ' 로 이은 제목은 앞 마디를 위 작은 머리말(.tv2-lead)로 뗀다(index.html headLead). */
.tv2-lead {
  margin: 0 0 var(--umsh-space-1);
  color: var(--umsh-accent-text);
  font: var(--umsh-font-meta);
  word-break: keep-all;
  text-wrap: balance;
}

/* 행운색·오늘 걸린 기운: 공용 가는 테두리 칩(.umsh-chip-line.is-sm), 누르는 칩이 아니라 정보 */
.tv2-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--umsh-space-2);
  margin-top: var(--umsh-space-3);
}

.tv2-chips .umsh-chip-line {
  gap: var(--umsh-space-2);
  cursor: default;
}

.tv2-chips em {
  color: var(--umsh-muted);
  font: var(--umsh-font-caption);
  font-style: normal;
}

.tv2-swatch {
  width: var(--umsh-space-3);
  height: var(--umsh-space-3);
  border-radius: var(--umsh-radius-full);
  background: var(--tv-swatch);
}

.tv2-memo {
  /* 요약 두 칸: 큰 한 줄(어떤 날) 아래 작은 이름표 '기억할 것'과 해 볼 것 한 줄(2026-11-24, 가는 선 대신 여백) */
  display: grid;
  gap: var(--umsh-space-1);
  margin: var(--umsh-space-4) 0 0;
  color: var(--umsh-ink-2);
  font: var(--umsh-font-sub);
  word-break: keep-all;
  text-wrap: pretty;
}

.tv2-memo small {
  color: var(--umsh-muted);
  font: var(--umsh-font-caption-strong);
}

/* 다섯 분야 점수 탭(시안 .minis.five): 고른 칸은 반투명 흰 면(DESIGN.md — 주황으로 선택을 표시하지 않는다) */
.tv2-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--umsh-space-1);
  margin-top: var(--umsh-space-4);
}

.tv2-tab {
  display: grid;
  justify-items: center;
  gap: var(--umsh-space-1);
  min-height: var(--umsh-tap-min);
  padding: var(--umsh-space-2) 0;
  border: 0;
  border-radius: var(--umsh-radius-lg);
  background: transparent;
  color: var(--umsh-muted);
  font: var(--umsh-font-caption-strong);
  cursor: pointer;
}

.tv2-tab .umsh-hanja {
  display: none;
}

.tv2-tab b {
  color: var(--umsh-ink);
  font: var(--umsh-font-item);
  font-variant-numeric: tabular-nums;
}

.tv2-tab[aria-selected="true"] {
  background: var(--umsh-chip-active-bg);
  color: var(--umsh-chip-active-text);
}

/* 2026-11-23: 선택 칸이 라이트 그레이라 점수 숫자도 어두운 글자 */
.tv2-tab[aria-selected="true"] b {
  color: inherit;
}

.tv2-tab:focus-visible,
.tv2-lowtip:focus-visible,
.tv2 a:focus-visible {
  outline: var(--umsh-focus-ring);
  outline-offset: var(--umsh-focus-offset);
}

/* 강한 쪽 · 약한 쪽 묻기(시안 .lowtip): 점수 카드 안 맨 아래 두 줄. 누르면 그 질문을 채운 천명상담으로.
   2026-11-24: 줄 위 가는 선 대신 옅은 면 두 줄(.tv2-asks) */
.tv2-asks {
  display: grid;
  gap: var(--umsh-space-2);
  margin-top: var(--umsh-space-4);
}

.tv2-lowtip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--umsh-space-3);
  min-height: var(--umsh-tap-min);
  padding: var(--umsh-space-2) var(--umsh-space-4);
  border-radius: var(--umsh-radius-lg);
  background: var(--umsh-surface-2);
  color: var(--umsh-ink);
  font: var(--umsh-font-sub);
  text-decoration: none;
}

.tv2-lowtip em {
  flex: none;
  color: var(--umsh-ink);
  font: var(--umsh-font-caption-strong);
  font-style: normal;
  text-decoration: underline;
  text-underline-offset: var(--umsh-underline-offset);
}

/* 분야 설명: 점수 탭 바로 아래 같은 카드 안(사용자 11/16 "왜 칸이 나뉘어져 있어" — 탭을 누르면 바뀌는 글이라 한 카드) */
.tv2-field {
  padding-top: var(--umsh-space-4);
}

.tv2-panel[hidden] {
  display: none;
}

.tv2-panel h2 {
  margin: 0;
  color: var(--umsh-ink-2);
  font: var(--umsh-font-meta);
}

.tv2-panel p {
  margin: var(--umsh-space-1) 0 0;
  color: var(--umsh-ink);
  font: var(--umsh-font-body);
  word-break: keep-all;
  text-wrap: pretty;
}

.tv2-field > small {
  display: block;
  margin-top: var(--umsh-space-2);
  color: var(--umsh-muted);
  font: var(--umsh-font-caption);
}

/* 곁에 둘 사람·거리 둘 사람(시안 .tpeople).
   2026-11-24 사용자 "2분할로 하니까 읽기도 어려워": 두 칸 대신 한 줄씩 위아래로(왼쪽 뜻 아이콘 동그라미 · 오른쪽 이름표 · 이름 · 한마디) */
.tv2-people {
  display: grid;
  gap: var(--umsh-space-2);
}

/* 2026-11-25 사용자 "아이콘 위치와 텍스트 배열 등을 신경써줘": 글 묶음(.tv2-person-text)을 칸 안 줄로 풀어(display: contents)
   아이콘(48 동그라미 · 24 선 아이콘)은 이름표 · 이름 두 줄의 가운데, 한마디 · 링크는 글 칸 왼쪽 선에 맞춰 아래로. */
.tv2-person {
  display: grid;
  grid-template-columns: var(--umsh-today-person-ico) minmax(0, 1fr);
  /* 2026-11-25 사용자 "아이콘 위치가 조금 위에 있어서 불안한 UI": 아이콘은 칸 전체(이름표 ~ 한마디) 세로 가운데. */
  grid-template-areas: "ico label" "ico name" "ico desc" "ico more";
  column-gap: var(--umsh-space-3);
  align-items: center;
  padding: var(--umsh-space-4);
  border-radius: var(--umsh-radius-2xl);
}

.tv2-person-text {
  display: contents;
}

.tv2-person-ico {
  grid-area: ico;
  align-self: center;
  display: grid;
  place-items: center;
  width: var(--umsh-today-person-ico);
  height: var(--umsh-today-person-ico);
  border-radius: var(--umsh-radius-full);
  background: var(--umsh-promo-gold-soft);
  box-shadow: inset 0 0 0 var(--umsh-hairline) var(--umsh-today-person-ring-good);
  color: var(--umsh-promo-gold);
}

.tv2-person.is-bad .tv2-person-ico {
  background: var(--umsh-surface-3);
  box-shadow: inset 0 0 0 var(--umsh-hairline) var(--umsh-today-person-ring-bad);
  color: var(--umsh-ink-2);
}

.tv2-person-ico svg {
  width: var(--umsh-icon-md);
  height: var(--umsh-icon-md);
}

.tv2-person span {
  grid-area: label;
  align-self: end;
  display: block;
  color: var(--umsh-muted);
  font: var(--umsh-font-caption-strong);
}

.tv2-person.is-good span {
  color: var(--umsh-promo-gold);
}

.tv2-person b {
  grid-area: name;
  align-self: start;
  display: block;
  margin-top: 0;
  color: var(--umsh-ink);
  font: var(--umsh-font-item);
  word-break: keep-all;
}

.tv2-person .tv2-links {
  grid-area: more;
  justify-self: start;
  margin-top: var(--umsh-space-2);
}

/* 좁은 칸에서는 링크 글이 줄을 바꾼다(320px 넘침, 점검 11/16) */
.tv2-person .umsh-chip-line.is-sm {
  white-space: normal;
}

.tv2-person p {
  grid-area: desc;
  margin: var(--umsh-space-2) 0 0;
  color: var(--umsh-ink-2);
  font: var(--umsh-font-sub);
  word-break: keep-all;
}

/* 구역 제목(점수 모양·네 운명록 표시·매력지수·운명점).
   2026-11-24 여백 리듬: 앞 구역과 40(본문 간격 12 + 28) · 제목→내용 16(간격 12 + 4) */
.tv2-title {
  margin: calc(var(--umsh-space-section) - var(--umsh-space-3)) 0 var(--umsh-space-1);
  color: var(--umsh-ink);
  font: var(--umsh-font-section);
  letter-spacing: var(--umsh-tracking-tight);
}

/* 제목 바로 아래 뜻 한 줄(매력지수가 무엇인지). 제목과 4, 내용과 16 */
.tv2-sub {
  margin: calc(-1 * var(--umsh-space-3)) 0 var(--umsh-space-1);
  color: var(--umsh-muted);
  font: var(--umsh-font-sub);
  word-break: keep-all;
}

/* 점수 모양(오각형) 카드 */
.tv2-card {
  padding: var(--umsh-space-5) var(--umsh-space-4);
  border-radius: var(--umsh-radius-3xl);
}

.tv2-score-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--umsh-space-3);
}

.tv2-score-head small {
  color: var(--umsh-muted);
  font: var(--umsh-font-meta);
}

.tv2-radar {
  max-width: var(--umsh-today-radar-w);
  margin: var(--umsh-space-2) auto 0;
}

.tv2-radar svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.tv2-radar .tv2-ring {
  fill: none;
  stroke: var(--umsh-line);
}

.tv2-radar .tv2-ring.is-outer {
  stroke: var(--umsh-line-2);
}

.tv2-radar .tv2-shape {
  fill: var(--umsh-accent-a32); /* 2026-11-20 선택 칩이 보라 꽉 찬 색이 되어 레이더 면은 옅은 보라로 따로 */
  stroke: var(--umsh-ink);
  stroke-width: var(--umsh-icon-stroke);
}

.tv2-radar .tv2-axis {
  fill: var(--umsh-muted);
  font: var(--umsh-font-caption);
}

.tv2-radar .tv2-axis.is-top {
  fill: var(--umsh-ink);
}

.tv2-radar .tv2-axis-val {
  fill: var(--umsh-ink);
  font: var(--umsh-font-caption-strong);
}

.tv2-note {
  margin: var(--umsh-space-3) 0 0;
  color: var(--umsh-ink-2);
  font: var(--umsh-font-sub);
  word-break: keep-all;
}

.tv2-fine {
  margin: var(--umsh-space-2) 0 0;
  color: var(--umsh-muted);
  font: var(--umsh-font-caption);
}

/* 네 운명록에 찍힌 표시(신살) 카드 */
.tv2-flag {
  position: relative;
  padding: var(--umsh-space-5) var(--umsh-space-4) var(--umsh-space-4);
  border-radius: var(--umsh-radius-3xl);
}

.tv2-flag .tv2-flag-ico {
  position: absolute;
  top: var(--umsh-space-4);
  right: var(--umsh-space-4);
  display: grid;
  place-items: center;
  width: var(--umsh-tap-min);
  height: var(--umsh-tap-min);
  border-radius: var(--umsh-glyph-radius);
  background: var(--umsh-surface-3);
  color: var(--umsh-ink);
}

.tv2-flag em {
  color: var(--umsh-ink-2);
  font: var(--umsh-font-caption-strong);
  font-style: normal;
}

.tv2-flag h3 {
  margin: var(--umsh-space-2) calc(var(--umsh-tap-min) + var(--umsh-space-3)) var(--umsh-space-2) 0;
  color: var(--umsh-ink);
  font: var(--umsh-font-card);
  word-break: keep-all;
}

.tv2-flag p {
  margin: 0;
  color: var(--umsh-ink-2);
  font: var(--umsh-font-sub);
  word-break: keep-all;
}

.tv2-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--umsh-space-2);
  margin-top: var(--umsh-space-3);
}

/* 매력지수: 매일 따로 보여 주는 지표. 오늘의 색과 계산 근거가 달라 분리(사용자 11/16).
   2026-11-24 사용자 "매력지수가 뭔지도 모르겠어": 제목 아래 뜻 한 줄(.tv2-sub) · 숫자 / 100 · 오늘 어느 쪽인지 알약 · 막대 양끝 이름 · 오른 이유 */
.tv2-charm {
  padding: var(--umsh-space-5) var(--umsh-space-4);
  border-radius: var(--umsh-radius-3xl);
}

.tv2-charm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--umsh-space-3);
}

.tv2-charm-num {
  display: inline-flex;
  align-items: baseline;
  gap: var(--umsh-space-1);
  color: var(--umsh-muted);
  font: var(--umsh-font-meta);
}

.tv2-charm-num b {
  color: var(--umsh-ink);
  font: var(--umsh-font-count);
  font-variant-numeric: tabular-nums;
}

.tv2-scale {
  display: flex;
  justify-content: space-between;
  gap: var(--umsh-space-3);
  margin: var(--umsh-space-2) 0 0;
  color: var(--umsh-muted);
  font: var(--umsh-font-caption);
}

/* 2026-11-22 매력지수 막대(숫자만 덩그러니 있던 칸) */
.tv2-meter {
  height: var(--umsh-today-meter-h);
  margin-top: var(--umsh-space-3);
  overflow: hidden;
  border-radius: var(--umsh-radius-full);
  background: var(--umsh-surface-3);
}

.tv2-meter i {
  display: block;
  width: var(--tv-meter);
  height: 100%;
  border-radius: inherit;
  background: var(--umsh-accent-grad);
}

.tv2-basis {
  margin: var(--umsh-space-4) 0 0;
  color: var(--umsh-ink-2);
  font: var(--umsh-font-sub);
  word-break: keep-all;
}

.tv2-basis small {
  margin-right: var(--umsh-space-2);
  color: var(--umsh-accent-text);
  font: var(--umsh-font-caption-strong);
}

/* 오늘의 색: 큰 색 띠(나중에 배경화면으로 받기 — 사용자 11/16 "그렇게 줄이면 안 돼"). 매력지수와는 따로.
   2026-11-24 사용자 "색상만 있으니까 허전해 · 운명상회 컨셉에 맞게": 물들인 비단 한 폭(올 결 · 아래 접힌 그늘 · 오른쪽 위 기운 도장)
   + 아래 글 묶음(색 이름 명조 · 기운 알약 · 뜻 한 줄 · '이렇게 써' 칩). 글은 색 위에 올리지 않는다(밝은 색에서도 읽히게). */
/* 2026-11-25 사용자 "오늘의 색도 색상의 영역이 너무 많은 공간을 차지해 조금 줄여줘(공백처럼 느껴지지 않게)":
   위 큰 띠 대신 왼쪽 비단 한 폭(카드 높이만큼) + 오른쪽 글 묶음. 색이 글과 나란히 있어 빈 곳이 생기지 않는다. */
.tv2-color {
  display: grid;
  grid-template-columns: var(--umsh-today-silk-w) minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--umsh-radius-3xl);
}

.tv2-silk {
  position: relative;
  min-height: var(--umsh-today-silk-min-h);
  background: var(--umsh-today-silk-sheen), var(--umsh-today-silk-weave), var(--umsh-today-silk-fold), var(--tv-swatch);
  box-shadow: var(--umsh-today-silk-ring);
}

/* 족자처럼 두른 안쪽 가는 테(흰 테 + 옅은 그늘 한 겹, 밝은 색 · 어두운 색 모두 보이게) */
.tv2-silk::after {
  content: "";
  position: absolute;
  inset: var(--umsh-space-2);
  border-radius: var(--umsh-radius-lg);
  box-shadow: inset 0 0 0 var(--umsh-hairline) var(--umsh-today-silk-frame), 0 0 0 var(--umsh-hairline) var(--umsh-today-silk-frame-shade);
  pointer-events: none;
}

.tv2-silk .umsh-seal {
  position: absolute;
  top: var(--umsh-today-seal-inset);
  right: var(--umsh-today-seal-inset);
}

.tv2-color-body {
  display: grid;
  align-content: center;
  gap: var(--umsh-space-2);
  padding: var(--umsh-space-4);
}

.tv2-color-name {
  display: flex;
  align-items: center;
  gap: var(--umsh-space-2);
  margin: 0;
}

.tv2-color-name b {
  color: var(--umsh-ink);
  font: var(--umsh-font-say);
  letter-spacing: var(--umsh-tracking-tight);
}

.tv2-color-line {
  margin: 0;
  color: var(--umsh-ink-2);
  font: var(--umsh-font-sub);
  word-break: keep-all;
}

.tv2-color-use {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--umsh-space-2);
  margin: var(--umsh-space-1) 0 0;
}

.tv2-color-use small {
  color: var(--umsh-muted);
  font: var(--umsh-font-caption-strong);
}

.tv2-color-use .umsh-chip-line {
  cursor: default;
}

/* 매력지수 아래 연결 줄(지금은 올해 연애운, 새 콘텐츠가 생기면 그쪽으로) */
.tv2-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--umsh-tap-min);
  margin-top: var(--umsh-space-3);
  padding: var(--umsh-space-3) var(--umsh-space-4);
  border-radius: var(--umsh-radius-lg);
  background: var(--umsh-surface-2);
  color: var(--umsh-ink);
  font: var(--umsh-font-sub);
  text-decoration: none;
}

/* 오늘의 운명점(시안 .pick3): 홈 세 칸 부품(.umsh-tiles) 그대로 */
.tv2-ask .umsh-sec-head,
.tv2-ask .umsh-tiles {
  margin-right: 0;
  margin-left: 0;
}

.tv2-ask .umsh-sec-head {
  margin-top: calc(var(--umsh-space-section) - var(--umsh-space-3));
}

/* 2026-11-17 출석 이벤트 줄(오늘의 운명점 아래). 홈 줄 부품(.umsh-row) 그대로, 좌우 여백만 이 칸에 맞춤 */
.tv2-ask .today-att {
  margin-right: 0;
  margin-left: 0;
  margin-top: var(--umsh-space-3);
  /* 2026-11-23: 글자에 링크 밑줄 · 링크 색이 남아 있었다 */
  color: var(--umsh-ink);
  text-decoration: none;
}

/* 2026-11-24 피드백 12: 부적 · 출석 줄 아이콘은 선 아이콘이라 한자용 아래 밀기(--umsh-hanja-nudge)를 쓰지 않는다 */
.tv2 .umsh-row-glyph {
  padding-top: 0;
}

/* 나타나기(움직임 줄이기면 그대로) */
.tv2-reveal {
  opacity: 0;
  transform: translateY(var(--umsh-space-2));
  animation: tv2-up var(--umsh-today-reveal-time) ease forwards var(--umsh-today-reveal-delay);
}

@keyframes tv2-up { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .tv2-reveal { animation: none; opacity: 1; transform: none; }
}

/* ── 2026-11-18 rn37-b 광고 자리(리뉴얼 화면 v40 #tAdGate · 이달의 운): 회원 무료 · 광고 ──
   오늘의 운이 잠겨 있으면 위 그림 · 천명 한마디 아래 잠긴 칸 하나만 보이고, 광고를 끝까지 보면 본문이 열린다. */
.tv2.is-adlocked > :not(.tv2-hero, .tv2-adgate) {
  display: none;
}

.tv2-adgate {
  display: grid;
  justify-items: start;
  gap: var(--umsh-space-2);
  margin: var(--umsh-space-4) var(--umsh-space-gutter) 0;
  padding: var(--umsh-space-5) var(--umsh-space-4);
  border-radius: var(--umsh-radius-3xl);
}

.tv2-adgate small {
  color: var(--umsh-muted);
  font: var(--umsh-font-caption-strong);
}

.tv2-adgate h2 {
  margin: 0;
  color: var(--umsh-ink);
  font: var(--umsh-font-section);
}

.tv2-adgate p {
  margin: 0;
  color: var(--umsh-ink-2);
  font: var(--umsh-font-body);
}

.tv2-adgate .umsh-cta {
  margin-top: var(--umsh-space-2);
}

/* ── 2026-11-24 이달의 운 · 평생운 카드(출석 이벤트 줄 아래, 피드백 13) ──
   이달의 운은 따로 여는 콘텐츠(/today/month), 평생운은 천명사주(/cmdg/?entry=lifelong). 예전 맨 아래 보라 버튼을 같은 카드로 바꿨다.
   두 장 모두 홈 기능 배너(.home-promo-card)와 같은 결: 높이 112 · 둥근 24 · 왼쪽 글(금빛 머리말 알약 · 제목 · 한 줄) · 오른쪽 작은 그림.
   바탕만 다르다(이달 = 보랏빛 밤 --umsh-promo-month-bg, 평생 = 천명 붉은 밤 --umsh-promo-life-bg). 아래(바닥 메뉴 앞)는 40. */
.tv2-promos {
  display: grid;
  gap: var(--umsh-space-3);
  margin: var(--umsh-space-3) 0 var(--umsh-space-section);
}

.tv2-promo {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: var(--umsh-promo-h);
  padding: 0 0 0 var(--umsh-space-5);
  overflow: hidden;
  border-radius: var(--umsh-radius-3xl);
  background: var(--umsh-promo-month-bg);
  box-shadow: var(--umsh-glass-edge);
  color: var(--umsh-ink);
  text-decoration: none;
  transition: transform var(--umsh-promo-press-time) ease;
}

/* 왼쪽 위 옅은 빛 한 겹(두 장 같은 결) */
.tv2-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--umsh-promo-sheen);
  pointer-events: none;
}

.tv2-promo.is-life {
  background: var(--umsh-promo-life-bg);
}

.tv2-promo:active {
  transform: scale(var(--umsh-promo-press-scale));
}

.tv2-promo:focus-visible {
  outline: var(--umsh-focus-ring);
  outline-offset: var(--umsh-focus-offset);
}

.tv2-promo-text {
  display: grid;
  flex: 1;
  justify-items: start;
  gap: var(--umsh-space-1);
  min-width: 0;
  padding: var(--umsh-space-4) 0;
}

/* 머리말: 금빛 글자의 작은 알약 */
.tv2-promo-text small {
  padding: 0 var(--umsh-space-2);
  border-radius: var(--umsh-radius-full);
  background: var(--umsh-promo-gold-soft);
  color: var(--umsh-promo-gold);
  font: var(--umsh-font-caption-strong);
}

.tv2-promo-text strong {
  margin-top: var(--umsh-space-1);
  font: var(--umsh-font-section);
  letter-spacing: var(--umsh-tracking-tight);
}

.tv2-promo-text > span {
  color: var(--umsh-ink-2);
  font: var(--umsh-font-promo-line);
  word-break: keep-all;
}

/* 오른쪽 작은 그림 자리(두 장 같은 폭 · 같은 기울기) */
/* 2026-11-25 사용자 "왜 이달의 운도 그렇고 삐뚤게 해 놓은 거야": 기울기 없이 세로 가운데, 두 장 같은 크기 */
.tv2-month-art {
  display: grid;
  flex: none;
  place-items: center;
  align-self: stretch;
  width: var(--umsh-promo-art-w);
  padding-right: var(--umsh-space-4);
}


@media (prefers-reduced-motion: reduce) {
  .tv2-promo { transition: none; }
  .tv2-promo:active { transform: none; }
}

.tv2-month-sheet {
  display: grid;
  align-content: start;
  gap: var(--umsh-space-2);
  width: var(--umsh-month-art-w);
  min-height: var(--umsh-month-art-h);
  padding: var(--umsh-space-2);
  border-radius: var(--umsh-radius-md);
  background: var(--umsh-month-art-bg);
  box-shadow: var(--umsh-month-art-shadow);
}

/* 평생 한 장: 다섯 기운 점 한 줄 + 풀이 줄 세 개 */
.tv2-life-dots {
  display: flex;
  justify-content: space-between;
  padding: 0 var(--umsh-space-1);
}

.tv2-life-dots i {
  width: var(--umsh-month-life-dot);
  height: var(--umsh-month-life-dot);
  border-radius: var(--umsh-radius-full);
}

.tv2-life-dots .is-wood { background: var(--umsh-el-wood); }
.tv2-life-dots .is-fire { background: var(--umsh-el-fire); }
.tv2-life-dots .is-earth { background: var(--umsh-el-earth); }
.tv2-life-dots .is-metal { background: var(--umsh-el-metal); }
.tv2-life-dots .is-water { background: var(--umsh-el-water); }

.tv2-life-lines {
  display: grid;
  gap: var(--umsh-month-art-gap);
}

.tv2-life-lines i {
  height: var(--umsh-month-art-gap);
  border-radius: var(--umsh-radius-full);
  background: var(--umsh-month-art-dot);
}

.tv2-life-lines i:last-child {
  width: 60%;
}

.tv2-month-sheet b {
  color: var(--umsh-month-art-ink);
  font: var(--umsh-font-caption-strong);
  text-align: center;
}

.tv2-month-dots {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--umsh-month-art-gap);
}

.tv2-month-dots i {
  aspect-ratio: 1;
  border-radius: var(--umsh-radius-full);
  background: var(--umsh-month-art-dot);
}

.tv2-month-dots i.is-good {
  background: var(--umsh-promo-gold);
}

/* 2026-11-19 리뉴얼 화면 v42 오늘의 부적 줄(시안 .mrow.tali): 한마디 카드 바로 아래, 공용 줄 모양(.umsh-row). 회원이 연 뒤에만(광고 자리 동안은 위 규칙으로 숨는다). */
.tv2-tali {
  margin: 0;
  color: var(--umsh-ink);
  text-decoration: none;
}

.tv2-tali:focus-visible {
  outline: var(--umsh-focus-ring);
  outline-offset: var(--umsh-focus-offset);
}

/* 2026-11-27 귀인 · 조심할 사람 이름 초성 두 글자(예: ㅁㅂ). 사용자 "여기에 조심스럽게": 칸 오른쪽 위 구석에 작게(작은 이름표 위, 초성 아래, 오른쪽 맞춤).
   이름표 · 이름 줄은 오른쪽을 비워 두어 긴 이름(나랑 비교하게 만드는 사람)과 겹치지 않게. */
.tv2-person {
  position: relative;
}

.tv2-person:has(.tv2-person-initials) > .tv2-person-text > span,
.tv2-person:has(.tv2-person-initials) > .tv2-person-text > b {
  padding-right: var(--umsh-space-10);
}

.tv2-person .tv2-person-initials {
  position: absolute;
  top: var(--umsh-space-4);
  right: var(--umsh-space-4);
  display: grid;
  justify-items: end;
  gap: var(--umsh-hairline);
  text-align: right;
}

.tv2-person .tv2-person-initials small {
  color: var(--umsh-muted);
  font: var(--umsh-font-caption);
}

.tv2-person .tv2-person-initials strong {
  color: var(--umsh-ink-2);
  font: var(--umsh-font-item);
  letter-spacing: var(--umsh-tracking-label);
}

.tv2-person.is-good .tv2-person-initials strong {
  color: var(--umsh-promo-gold);
}
