/* 신년운세 (/fortune/2027/) -- fortune.css 의 모양을 같이 쓴다. */
.ny-top {
  margin-top: 14px;
  background: linear-gradient(135deg, #fff1ec, #fff8f0);
}
.ny-top h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.ny-top ol {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.ny-top a {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-areas: 'rank ico name' 'rank ico sub';
  align-items: center;
  column-gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.ny-top a:hover {
  border-color: #d8404d;
}
.ny-rank {
  grid-area: rank;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d8404d;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}
.ny-top a > span[aria-hidden] {
  grid-area: ico;
  display: grid;
}
.ny-top a > span[aria-hidden] .ico {
  width: 44px;
  height: 44px;
}
.ny-top b {
  grid-area: name;
}
.ny-top small {
  grid-area: sub;
  color: var(--muted);
  font-size: 0.8rem;
}
.ny-tag {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  color: #b4232a;
  background: #ffe9e6;
  border-radius: 999px;
  padding: 1px 8px;
  margin-left: 4px;
  vertical-align: 2px;
}
.ny-list .fx-li-score {
  color: #d8404d;
}
.ny-box .fx-ring {
  background:
    radial-gradient(closest-side, var(--surface) 78%, transparent 79% 100%),
    conic-gradient(#d8404d calc(var(--p) * 1%), var(--surface-2) 0);
}
.ny-total {
  margin: 16px 0 0;
  line-height: 1.75;
}

/* 월별 */
.ny-months-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.ny-k {
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.9rem;
  font-weight: 700;
}
.ny-k.good {
  background: #e3f6ea;
  color: #11804a;
}
.ny-k.care {
  background: #ffece8;
  color: #b4232a;
}
.ny-months {
  list-style: none;
  margin: 0;
  display: grid;
}
.ny-months li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
}
.ny-months li:last-child {
  border-bottom: 0;
}
.ny-months b {
  font-variant-numeric: tabular-nums;
}
.ny-months em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 6px;
  padding: 1px 6px;
  margin-right: 2px;
}
.ny-m-good em {
  background: #e3f6ea;
  color: #11804a;
}
.ny-m-care em {
  background: #ffece8;
  color: #b4232a;
}
