/* PoNovinite – horoscope */
.nn-horo { --hz-fire: #e8590c; --hz-earth: #2f9e44; --hz-air: #6741d9; --hz-water: #1c7ed6; }
.nn-horo__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.nn-horo__tabs { display: inline-flex; background: var(--nn-surface); border: 1px solid var(--nn-border); border-radius: 999px; padding: 4px; gap: 2px; }
.nn-horo__tab { border: 0; background: transparent; color: var(--nn-text); font: inherit; font-weight: 700; font-size: 15px; padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.nn-horo__tab.is-on { background: var(--nn-accent); color: #fff; }
.nn-horo__mine { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--nn-muted); }
.nn-horo__mine select { border: 1px solid var(--nn-border); background: var(--nn-bg); color: var(--nn-text); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 14px; }
.nn-horo__period { font-size: 20px; margin: 0 0 14px; }
.nn-horo__period a { color: inherit; text-decoration: none; }
.nn-horo__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.nn-horo__card { scroll-margin-top: 90px; --c: var(--hz-air); background: var(--nn-surface); border: 1px solid var(--nn-border); border-radius: 16px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.nn-horo--fire { --c: var(--hz-fire); } .nn-horo--earth { --c: var(--hz-earth); } .nn-horo--water { --c: var(--hz-water); }
.nn-horo__card.is-open { grid-column: 1 / -1; border-color: var(--c); box-shadow: 0 8px 28px rgba(0,0,0,.08); }
.nn-horo__card.is-mine { border-color: var(--c); box-shadow: 0 0 0 2px var(--c); }
.nn-horo__head { display: grid; grid-template-columns: 76px 1fr 24px; grid-template-areas: "img id chev" "img peek chev"; gap: 2px 14px; align-items: center; width: 100%; text-align: left; border: 0; background: transparent; color: inherit; font: inherit; padding: 12px; cursor: pointer; }
.nn-horo__head img { grid-area: img; width: 76px; height: 76px; border-radius: 14px; object-fit: cover; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.nn-horo__id { grid-area: id; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.nn-horo__id b { font-size: 18px; }
.nn-horo__id small { color: var(--nn-muted); font-size: 12.5px; }
.nn-horo__mood { color: #f59f00; font-size: 13px; letter-spacing: 1px; }
.nn-horo__mood i { color: var(--nn-border); font-style: normal; }
.nn-horo__peek { grid-area: peek; color: var(--nn-muted); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nn-horo__chev { grid-area: chev; font-size: 20px; color: var(--nn-muted); transition: transform .2s; }
.nn-horo__card.is-open .nn-horo__chev { transform: rotate(180deg); }
.nn-horo__card.is-open .nn-horo__peek { display: none; }
.nn-horo__card.is-open .nn-horo__head { grid-template-columns: 120px 1fr 24px; grid-template-areas: "img id chev"; }
.nn-horo__card.is-open .nn-horo__head img { width: 120px; height: 120px; }
.nn-horo__card.is-open .nn-horo__id b { font-size: 24px; }
.nn-horo__body { padding: 0 18px 18px; border-top: 3px solid var(--c); }
.nn-horo__listen { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 4px; border: 0; background: var(--c); color: #fff; font: inherit; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.nn-horo__listen .nn-horo__li-stop, .nn-horo__listen.is-on .nn-horo__li-play { display: none; }
.nn-horo__listen.is-on .nn-horo__li-stop { display: inline; }
.nn-horo__listen.is-wait { opacity: .7; cursor: progress; }
.nn-horo__text p { font-size: 16.5px; line-height: 1.7; margin: 12px 0; }
.nn-horo__facts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.nn-horo__facts li { background: color-mix(in srgb, var(--c) 8%, var(--nn-bg)); border-radius: 12px; padding: 10px 12px 10px 42px; position: relative; font-size: 15px; line-height: 1.5; }
.nn-horo__facts li span { position: absolute; left: 13px; top: 9px; }
.nn-horo__facts b { margin-right: 4px; }
.nn-horo__luck { margin: 12px 0 0; font-size: 15px; }
.nn-horo__note, .nn-horo__empty { color: var(--nn-muted); font-size: 13px; text-align: center; margin: 18px 0 0; }
@media (max-width: 720px) {
	.nn-horo__grid { grid-template-columns: 1fr; }
	.nn-horo__head { grid-template-columns: 64px 1fr 20px; gap: 2px 12px; padding: 10px; }
	.nn-horo__head img { width: 64px; height: 64px; }
	.nn-horo__card.is-open .nn-horo__head { grid-template-columns: 88px 1fr 20px; }
	.nn-horo__card.is-open .nn-horo__head img { width: 88px; height: 88px; }
	.nn-horo__bar { flex-direction: column; align-items: stretch; }
	.nn-horo__tabs { justify-content: center; }
}
