/* NoComment Home Cards — САМО .nchc-* (нула глобални селектори за темата). */

.nchc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 4px 0 22px;
  grid-column: 1 / -1;   /* пълна ширина в grid-а на витрината (не се свива в една колона) */
}
.nchc-row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .nchc-row--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .nchc-row, .nchc-row--3 { grid-template-columns: 1fr; } }

.nchc-card {
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  padding: 14px 16px;
  color: #ececf1;
  font-family: inherit;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  min-width: 0;          /* grid item да може да се свива под съдържанието */
  overflow: hidden;      /* почасовата лента/списъкът да не разпъват картата */
}
.nchc-card > * { min-width: 0; }

.nchc-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #f3f3f6;
}
.nchc-card__head .nchc-ico { font-size: 18px; line-height: 1; }
.nchc-card__head .nchc-spacer { margin-left: auto; }

/* ---- общи контроли ---- */
.nchc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.nchc-chip {
  cursor: pointer; border: 1px solid rgba(255,255,255,.18); background: transparent;
  color: inherit; border-radius: 999px; padding: 4px 11px; font: inherit; font-size: 12.5px;
  opacity: .8; transition: opacity .15s, background-color .15s, border-color .15s;
}
.nchc-chip:hover { opacity: 1; background: rgba(255,255,255,.08); }
.nchc-chip.is-active { opacity: 1; border-color: #DC2626; color: #fff; background: rgba(220,38,38,.16); }

.nchc-search { display: flex; gap: 6px; margin-bottom: 8px; }
.nchc-search input {
  flex: 1 1 auto; min-width: 0; background: rgba(0,0,0,.25); color: #fff;
  border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 13px;
}
.nchc-search input::placeholder { color: #9a9aa6; }
.nchc-search button {
  cursor: pointer; border: 0; border-radius: 8px; background: #DC2626; color: #fff;
  padding: 0 12px; font: inherit; font-weight: 600;
}

.nchc-muted { color: #a2a2ad; font-size: 12.5px; }
.nchc-err { color: #ff8f8f; font-size: 12.5px; }

/* ---- Време ---- */
.nchc-wx__now { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.nchc-wx__temp { font-size: 40px; font-weight: 800; line-height: 1; }
.nchc-wx__emoji { font-size: 38px; line-height: 1; }
.nchc-wx__desc { font-size: 13.5px; color: #d5d5dd; }
.nchc-wx__sub { font-size: 12px; color: #a2a2ad; margin-top: 2px; }
.nchc-wx__hours { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; margin-top: auto; }
.nchc-wx__h { flex: 0 0 auto; text-align: center; min-width: 46px; }
.nchc-wx__h b { display: block; font-size: 13px; font-weight: 700; }
.nchc-wx__h span { display: block; font-size: 18px; line-height: 1.3; }
.nchc-wx__h small { display: block; font-size: 11px; color: #9a9aa6; }

/* ---- Радио ---- */
.nchc-radio__list { display: flex; flex-direction: column; gap: 2px; max-height: 190px; overflow-y: auto; margin-top: 4px; }
.nchc-station {
  display: flex; align-items: center; gap: 9px; cursor: pointer; width: 100%;
  background: transparent; border: 0; color: inherit; text-align: left;
  padding: 7px 8px; border-radius: 8px; font: inherit; font-size: 13.5px;
}
.nchc-station:hover { background: rgba(255,255,255,.06); }
.nchc-station.is-playing { background: rgba(220,38,38,.16); color: #fff; }
.nchc-station__dot { width: 8px; height: 8px; border-radius: 50%; background: #6a6a74; flex: 0 0 auto; }
.nchc-station.is-playing .nchc-station__dot { background: #DC2626; box-shadow: 0 0 0 3px rgba(220,38,38,.25); }
.nchc-station__name { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nchc-player { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.09); }
.nchc-play {
  cursor: pointer; border: 0; border-radius: 50%; width: 38px; height: 38px; flex: 0 0 auto;
  background: #DC2626; color: #fff; font-size: 16px; line-height: 1; display: grid; place-items: center;
}
.nchc-play[disabled] { opacity: .5; cursor: default; }
.nchc-nowplaying { flex: 1 1 auto; overflow: hidden; }
.nchc-nowplaying b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nchc-nowplaying span { font-size: 11.5px; color: #9a9aa6; }
.nchc-vol { width: 78px; accent-color: #DC2626; }

/* ---- Хороскоп ---- */
.nchc-horo__sel {
  width: 100%; background: rgba(0,0,0,.25); color: #fff;
  border: 1px solid rgba(255,255,255,.16); border-radius: 8px;
  padding: 7px 10px; font: inherit; font-size: 13.5px; margin-bottom: 10px;
}
.nchc-horo__body { overflow-y: auto; max-height: 232px; padding-right: 4px; }
.nchc-horo__sec { margin-bottom: 9px; }
.nchc-horo__lbl {
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase;
  color: #f0c674; margin-bottom: 2px;
}
.nchc-horo__ico { font-size: 14px; line-height: 1; }
.nchc-horo__txt { margin: 0; font-size: 13px; line-height: 1.5; color: #d7d7de; }

/* ============ по-широки карета (изглед) ============ */
.nchc-card { min-height: 168px; position: relative; }
.nchc-card--horo .nchc-horo__body { max-height: 250px; }

/* подчертаване при клик от хедъра */
.nchc-flash { animation: nchc-flash 1.4s ease; }
@keyframes nchc-flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
  25% { box-shadow: 0 0 0 3px rgba(220,38,38,.55); }
}

/* ============ анимации на иконките ============ */
.nchc-ico--sun { display: inline-block; animation: nchc-bob 3.2s ease-in-out infinite; transform-origin: center; }
@keyframes nchc-bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(8deg); } }

.nchc-ico--star { display: inline-block; animation: nchc-twinkle 2.2s ease-in-out infinite; }
@keyframes nchc-twinkle { 0%,100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }

/* еквалайзер (радио) */
.nchc-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 15px; }
.nchc-eq i { width: 3px; height: 100%; background: currentColor; border-radius: 2px; transform-origin: bottom; animation: nchc-eq 1s ease-in-out infinite; }
.nchc-eq i:nth-child(1) { animation-delay: -.2s; }
.nchc-eq i:nth-child(2) { animation-delay: -.5s; }
.nchc-eq i:nth-child(3) { animation-delay: -.1s; }
.nchc-eq i:nth-child(4) { animation-delay: -.7s; }
@keyframes nchc-eq { 0%,100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.nchc-card--radio .nchc-ico { color: #DC2626; }

/* звездички в хороскоп картата */
.nchc-stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 14px; opacity: .7; }
.nchc-stars::before, .nchc-stars::after {
  content: '✦'; position: absolute; color: #f0c674; font-size: 10px; opacity: .0;
  animation: nchc-sparkle 3.4s ease-in-out infinite;
}
.nchc-stars::before { top: 16%; right: 14%; animation-delay: .3s; }
.nchc-stars::after { top: 60%; right: 26%; font-size: 8px; animation-delay: 1.6s; }
@keyframes nchc-sparkle { 0%,100% { opacity: 0; transform: scale(.6); } 45% { opacity: .9; transform: scale(1.1); } }

/* ============ ПЛАВАЩА ЛЕНТА (радио на всяка страница) ============ */
.nchc-bar {
  position: fixed; z-index: 99990; left: 50%; bottom: var(--nchc-bar-bottom, 16px); transform: translate(-50%, 120%);
  display: none; align-items: center; gap: 10px;
  background: rgba(20,20,26,.96); color: #fff; border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px; padding: 7px 10px 7px 8px; box-shadow: 0 10px 30px rgba(0,0,0,.5);
  backdrop-filter: blur(6px); max-width: min(92vw, 460px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  font-family: inherit;
}
.nchc-bar.is-on { display: inline-flex; transform: translate(-50%, 0); }
.nchc-bar__play {
  cursor: pointer; border: 0; border-radius: 50%; width: 38px; height: 38px; flex: 0 0 auto;
  background: #DC2626; color: #fff; font-size: 16px; display: grid; place-items: center;
}
.nchc-bar__eq { color: #DC2626; height: 14px; opacity: .4; }
.nchc-bar.is-playing .nchc-bar__eq { opacity: 1; }
.nchc-bar.is-playing .nchc-bar__eq i { animation-play-state: running; }
.nchc-bar:not(.is-playing) .nchc-bar__eq i { animation-play-state: paused; }
.nchc-bar__name { flex: 1 1 auto; min-width: 0; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nchc-bar__vol { width: 74px; accent-color: #DC2626; flex: 0 0 auto; }
.nchc-bar__stop {
  cursor: pointer; border: 0; background: rgba(255,255,255,.1); color: #fff;
  width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto; font-size: 13px; line-height: 1;
}
.nchc-bar__stop:hover { background: rgba(220,38,38,.5); }
@media (max-width: 560px) {
  .nchc-bar { left: 10px; right: 10px; transform: translateY(120%); max-width: none; }
  .nchc-bar.is-on { transform: translateY(0); }
  .nchc-bar__vol { width: 56px; }
}

.nchc-radio__hint { margin-top: 8px; font-size: 11.5px; }

/* ============ ИКОНКИ В ХЕДЪРА (до търсачката, по-големи, SVG) ============ */
.nchc-headnav { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; }
.nchc-hi {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: #eaeaf0; flex: 0 0 auto; line-height: 1;
  padding: 4px 9px; border-radius: 11px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
}
.nchc-hi:hover { transform: translateY(-1px); background: rgba(220,38,38,.16); border-color: rgba(220,38,38,.5); color: #fff; box-shadow: 0 5px 16px rgba(220,38,38,.3); }
.nchc-svg { width: 21px; height: 21px; display: block; }
.nchc-hi__lbl { font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #b9b9c2; transition: color .15s ease; }
.nchc-hi:hover .nchc-hi__lbl { color: #fff; }
.nchc-hi--wx    { color: #ffcf4d; }
.nchc-hi--radio { color: #DC2626; }
.nchc-hi--horo  { color: #f0c674; }

/* слънце — въртящи лъчи */
.nchc-svg--sun .nchc-rays { transform-origin: 12px 12px; animation: nchc-spin 9s linear infinite; }
@keyframes nchc-spin { to { transform: rotate(360deg); } }
/* радио — еквалайзер */
.nchc-svg--eq rect { transform-box: fill-box; transform-origin: bottom; animation: nchc-eqbar 1s ease-in-out infinite; }
.nchc-svg--eq .e1 { animation-delay: -.2s; } .nchc-svg--eq .e2 { animation-delay: -.6s; }
.nchc-svg--eq .e3 { animation-delay: -.1s; } .nchc-svg--eq .e4 { animation-delay: -.8s; }
@keyframes nchc-eqbar { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
/* хороскоп — съзвездие (по-силно мигане на ВСИЧКИ звезди + пулсиращи линии) */
.nchc-svg--constel circle { transform-box: fill-box; transform-origin: center; animation: nchc-star 1.8s ease-in-out infinite; }
.nchc-svg--constel .c1 { animation-delay: 0s; }
.nchc-svg--constel .c2 { animation-delay: .5s; }
.nchc-svg--constel .c3 { animation-delay: .9s; }
.nchc-svg--constel .c4 { animation-delay: .3s; }
.nchc-svg--constel .c5 { animation-delay: 1.1s; }
.nchc-svg--constel .c6 { animation-delay: .7s; }
.nchc-svg--constel .c7 { animation-delay: 1.4s; }
.nchc-svg--constel g[stroke] { animation: nchc-constline 3s ease-in-out infinite; }
@keyframes nchc-star { 0%,100% { opacity: .3; transform: scale(.55); } 50% { opacity: 1; transform: scale(1.4); } }
@keyframes nchc-constline { 0%,100% { opacity: .28; } 50% { opacity: .78; } }

/* икона на съзвездие в картето (същата като в хедъра) */
.nchc-ico--constel { color: #f0c674; display: inline-flex; }
.nchc-card__head .nchc-svg { width: 20px; height: 20px; }

@media (max-width: 560px) {
  .nchc-hi { padding: 3px 6px; } .nchc-svg { width: 18px; height: 18px; } .nchc-hi__lbl { font-size: 8.5px; letter-spacing: .03em; }
  .nchc-headnav { gap: 4px; margin-right: 3px; }
}

/* повече станции — по-висок списък в широкото каре */
.nchc-card--radio .nchc-radio__list { max-height: 260px; }

@media (prefers-reduced-motion: reduce) {
  .nchc-ico--sun, .nchc-ico--star, .nchc-eq i, .nchc-stars::before, .nchc-stars::after,
  .nchc-svg--sun .nchc-rays, .nchc-svg--eq rect, .nchc-svg--constel circle, .nchc-svg--constel g[stroke] { animation: none !important; }
}


/* ============ ЖИВА МЕТЕО-СЦЕНА (реалистична) ============ */
.nchc-wx__scene {
  position: relative; height: 140px; border-radius: 12px; overflow: hidden;
  margin-bottom: 10px; color: #fff; isolation: isolate;
  background-size: 100% 200%; animation: wx-sky 22s ease-in-out infinite alternate;
}
@keyframes wx-sky { from { background-position: 0 0; } to { background-position: 0 100%; } }
.sky-clear-day   { background-image: linear-gradient(160deg,#2f8fe0,#5aa9e6 40%,#9fd0f0 80%,#cfe8f8); }
.sky-clear-night { background-image: linear-gradient(160deg,#070f26,#132145 45%,#20315f 85%,#2a3d70); }
.sky-cloud-day   { background-image: linear-gradient(160deg,#6f9cc4,#93b6d2 60%,#bcccda); }
.sky-cloud-night { background-image: linear-gradient(160deg,#121a30,#222b44 65%,#333c58); }
.sky-fog-day     { background-image: linear-gradient(160deg,#9aa8b6,#c2ccd6 70%,#dae1e7); }
.sky-fog-night   { background-image: linear-gradient(160deg,#1c2230,#333a48 70%,#474e5c); }
.sky-rain-day    { background-image: linear-gradient(160deg,#4e647d,#6e8298 70%,#8598aa); }
.sky-rain-night  { background-image: linear-gradient(160deg,#0f1725,#212b39 70%,#2c3542); }
.sky-snow-day    { background-image: linear-gradient(160deg,#87a0b9,#b3c4d5 70%,#d3dde7); }
.sky-snow-night  { background-image: linear-gradient(160deg,#171f33,#2e3750 70%,#3c4560); }
.sky-storm-day   { background-image: linear-gradient(160deg,#333b49,#4b5566 70%,#5c6678); }
.sky-storm-night { background-image: linear-gradient(160deg,#0b0f19,#191d28 70%,#262a37); }

.wx-svg { width: 100%; height: 100%; display: block; }

/* сияние на слънцето/луната (меко) */
.wx-sunglow { position: absolute; top: -34px; right: -20px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,90,.85), rgba(255,190,60,.25) 45%, rgba(255,190,60,0) 70%);
  animation: wx-glow 6s ease-in-out infinite; }
.wx-sunglow--dim { opacity: .55; }
.wx-moonglow { position: absolute; top: -26px; right: -6px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(210,224,255,.55), rgba(180,200,255,.14) 45%, rgba(180,200,255,0) 70%);
  animation: wx-glow 7s ease-in-out infinite; }
.wx-moonglow--dim { opacity: .5; }
@keyframes wx-glow { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.09); opacity: 1; } }

/* слънце (диск + въртящи лъчи) */
.wx-sun { position: absolute; top: 14px; right: 22px; width: 60px; height: 60px; color: #ffd23f;
  filter: drop-shadow(0 0 8px rgba(255,203,60,.6)); }
.wx-sun .wx-rays { transform-box: fill-box; transform-origin: center; animation: nchc-spin 16s linear infinite; }
.wx-sun--peek { width: 44px; height: 44px; top: 10px; right: 14px; }
/* луна */
.wx-moon { position: absolute; top: 14px; right: 24px; width: 48px; height: 48px; color: #eff2ff;
  filter: drop-shadow(0 0 8px rgba(220,230,255,.45)); }
.wx-moon--peek { width: 38px; height: 38px; top: 10px; right: 16px; }
/* звезди */
.wx-stars { position: absolute; inset: 0; }
.wx-stars i { position: absolute; background: #fff; border-radius: 50%; opacity: .5;
  box-shadow: 0 0 4px rgba(255,255,255,.8); animation: wx-twk 2.6s ease-in-out infinite; }
@keyframes wx-twk { 0%,100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.25); } }

/* облаци — 3 слоя за дълбочина (parallax) */
.wx-cloud { position: absolute; color: #f4f7fa; filter: drop-shadow(0 4px 6px rgba(0,0,0,.22)); }
.sky-cloud-night .wx-cloud, .sky-rain-night .wx-cloud, .sky-snow-night .wx-cloud,
.sky-storm-night .wx-cloud, .sky-storm-day .wx-cloud, .sky-rain-day .wx-cloud, .sky-fog-night .wx-cloud { color: #dde3ea; }
.wx-cloud--far  { width: 74px; top: 10px; left: -30px; opacity: .55; filter: blur(1.2px); animation: wx-drift 26s linear infinite; }
.wx-cloud--mid  { width: 96px; top: 26px; left: -46px; opacity: .85; animation: wx-drift 19s linear infinite; }
.wx-cloud--near { width: 118px; top: 44px; left: 30%; opacity: 1; animation: wx-drift-b 15s linear infinite; }
@keyframes wx-drift   { 0% { transform: translateX(0); } 100% { transform: translateX(220px); } }
@keyframes wx-drift-b { 0% { transform: translateX(0); } 100% { transform: translateX(-180px); } }

/* дъжд — наклонен от вятъра */
.wx-rain { position: absolute; inset: -10px; pointer-events: none; transform: rotate(12deg); }
.wx-rain i { position: absolute; top: -14px; width: 2px; background: linear-gradient(rgba(200,225,255,.95),rgba(200,225,255,0));
  border-radius: 2px; animation-name: wx-fall; animation-timing-function: linear; animation-iteration-count: infinite; }
@keyframes wx-fall { 0% { transform: translateY(-16px); } 100% { transform: translateY(170px); } }
.wx-mist { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 100%, rgba(255,255,255,.12), rgba(255,255,255,0) 60%);
  animation: wx-glow 5s ease-in-out infinite; }

/* сняг — пада и се люлее */
.wx-snow { position: absolute; inset: 0; pointer-events: none; }
.wx-snow i { position: absolute; top: -14px; color: #fff; line-height: 1; text-shadow: 0 0 4px rgba(255,255,255,.6);
  animation-name: wx-snowfall; animation-timing-function: linear; animation-iteration-count: infinite; }
@keyframes wx-snowfall {
  0% { transform: translateY(-16px) translateX(0) rotate(0); opacity: 0; }
  12% { opacity: 1; }
  50% { transform: translateY(76px) translateX(14px) rotate(180deg); }
  100% { transform: translateY(162px) translateX(-6px) rotate(360deg); opacity: .35; }
}

/* мъгла — размити хоризонтални ленти, плуват */
.wx-fog { position: absolute; inset: 0; pointer-events: none; }
.wx-fog i { position: absolute; left: -40%; width: 180%; height: 26px; border-radius: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.5) 45%, rgba(255,255,255,0));
  filter: blur(6px); animation-name: wx-fogmove; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.sky-fog-night .wx-fog i { background: linear-gradient(90deg, rgba(210,218,230,0), rgba(210,218,230,.42) 45%, rgba(210,218,230,0)); }
@keyframes wx-fogmove { 0%,100% { transform: translateX(-12%); } 50% { transform: translateX(12%); } }

/* буря — светкавица + осветяване на цялото небе */
.wx-bolt { position: absolute; top: 28px; left: 46%; width: 24px; height: 42px; color: #ffe25a;
  filter: drop-shadow(0 0 10px rgba(255,226,90,.9)); opacity: 0; animation: wx-flash-bolt 4s ease-in-out infinite; }
.wx-flash { position: absolute; inset: 0; pointer-events: none; background: rgba(255,255,240,0);
  animation: wx-flash-sky 4s ease-in-out infinite; }
@keyframes wx-flash-bolt { 0%,42%,100% { opacity: 0; } 44% { opacity: 1; } 48% { opacity: .1; } 52% { opacity: .9; } 58% { opacity: 0; } }
@keyframes wx-flash-sky  { 0%,42%,100% { background: rgba(255,255,240,0); } 44% { background: rgba(255,255,240,.35); } 48% { background: rgba(255,255,240,.05); } 52% { background: rgba(255,255,240,.28); } 58% { background: rgba(255,255,240,0); } }

/* температура върху сцената */
.nchc-wx__over { position: absolute; left: 15px; bottom: 10px; z-index: 3; text-shadow: 0 1px 7px rgba(0,0,0,.55); }
.nchc-wx__t { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.01em; }
.nchc-wx__c { font-size: 13.5px; font-weight: 600; margin-top: 2px; opacity: .96; }
/* детайли + днес/утре */
.nchc-wx__det { font-size: 12.5px; color: #b9b9c2; margin-bottom: 8px; }
.nchc-wx__days { display: flex; flex-direction: column; gap: 5px; margin-top: auto; }
.nchc-wx__day { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.nchc-wx__dn { width: 44px; color: #cfcfd6; font-weight: 600; }
.nchc-wx__di { font-size: 18px; line-height: 1; }
.nchc-wx__dt { margin-left: auto; color: #ececf1; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .nchc-wx__scene, .wx-sun .wx-rays, .wx-cloud, .wx-rain i, .wx-snow i, .wx-fog i,
  .wx-bolt, .wx-flash, .wx-stars i, .wx-sunglow, .wx-moonglow, .wx-mist { animation: none !important; }
  .wx-bolt { opacity: .5; }
}

/* ============ ФОТОРЕАЛИСТИЧНА СЦЕНА (истински снимки) ============ */
.nchc-wx__scene.wx-photo {
  background-repeat: no-repeat; background-position: center; background-size: 112%;
  animation: wx-ken 26s ease-in-out infinite alternate;
}
@keyframes wx-ken {
  from { background-size: 110%; background-position: 47% 42%; }
  to   { background-size: 122%; background-position: 53% 58%; }
}
.wx-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.58), rgba(0,0,0,0) 52%); }
.wx-photo.wx-nightdark::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(8,12,26,.42); }
.wx-photo .wx-rain, .wx-photo .wx-snow, .wx-photo .wx-flash { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .nchc-wx__scene.wx-photo { animation: none !important; } }

/* ============ нощни ефекти върху снимката (звезди + падаща звезда) ============ */
.wx-photo .wx-stars, .wx-photo .wx-shoot { z-index: 2; }
.wx-photo .wx-stars i { box-shadow: 0 0 5px rgba(255,255,255,.85); }
.wx-shoot { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 6px 1px rgba(255,255,255,.9); opacity: 0; pointer-events: none; }
.wx-shoot::before { content: ''; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  width: 64px; height: 2px; border-radius: 2px;
  background: linear-gradient(to left, rgba(255,255,255,.95), rgba(255,255,255,0)); }
.wx-shoot--1 { top: 12%; left: 18%; animation: wx-shoot1 24s ease-in infinite; }
.wx-shoot--2 { top: 6%; left: 44%; animation: wx-shoot2 34s ease-in infinite 13s; }
@keyframes wx-shoot1 {
  0%, 90%   { opacity: 0; transform: translate(0,0) rotate(22deg); }
  91%       { opacity: 1; }
  95%       { opacity: 1; transform: translate(170px,70px) rotate(22deg); }
  96%, 100% { opacity: 0; transform: translate(184px,76px) rotate(22deg); }
}
@keyframes wx-shoot2 {
  0%, 92%   { opacity: 0; transform: translate(0,0) rotate(26deg); }
  93%       { opacity: 1; }
  97%       { opacity: 1; transform: translate(150px,74px) rotate(26deg); }
  98%, 100% { opacity: 0; transform: translate(162px,80px) rotate(26deg); }
}
@media (prefers-reduced-motion: reduce) { .wx-shoot { animation: none !important; opacity: 0 !important; } }

/* ============ фотореалистични икони в хедъра ============ */
.nchc-hi { background: transparent; border: 0; padding: 3px 8px; }
.nchc-hi:hover { background: rgba(255,255,255,.06); box-shadow: none; }
.nchc-hi__img {
  display: block; width: 32px; height: 32px; border-radius: 50%;
  background-size: cover; background-position: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 2px 7px rgba(0,0,0,.45);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nchc-hi:hover .nchc-hi__img { transform: translateY(-1px) scale(1.06); box-shadow: 0 0 0 1px rgba(220,38,38,.75), 0 4px 14px rgba(220,38,38,.45); }
@media (max-width: 560px) { .nchc-hi__img { width: 28px; height: 28px; } }

/* ============ слайдшоу икони в хедъра (по-големи, сменящи снимки) ============ */
.nchc-hi__img { position: relative; width: 52px; height: 52px; overflow: hidden; background: #0d1018; }
.nchc-hi__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; }
.nchc-hi__slide.is-on { opacity: 1; }
@media (max-width: 560px) { .nchc-hi__img { width: 42px; height: 42px; } }

/* мобилен/таблет: хедър иконите се крият (тесен хедър — качват се върху логото) */
@media (max-width: 900px) { .nchc-headnav { display: none !important; } }


/* ============ 0.5.0 — ЗОДИАКАЛНО КОЛЕЛО (12 фотореалистични икони, без emoji) ============ */
.nchc-horo__sel { display: none !important; }
.nchc-zwheel {
  display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden;
  padding: 6px 2px 8px; margin: 0 0 4px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.nchc-zwheel::-webkit-scrollbar { height: 5px; }
.nchc-zwheel::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 3px; }
.nchc-ztile {
  flex: 0 0 auto; width: 66px; cursor: pointer; border: 0; background: transparent; color: #b9b9c2;
  padding: 2px 0; display: flex; flex-direction: column; align-items: center; gap: 5px;
  scroll-snap-align: center; font: inherit; opacity: .72;
  transition: opacity .2s ease, color .2s ease;
}
.nchc-ztile__img {
  width: 54px; height: 54px; border-radius: 50%; background-size: cover; background-position: center;
  background-color: #0d1018;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 3px 10px rgba(0,0,0,.5);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: nchc-zfloat 6s ease-in-out infinite;
}
.nchc-ztile:nth-child(3n+2) .nchc-ztile__img { animation-delay: -2s; }
.nchc-ztile:nth-child(3n) .nchc-ztile__img { animation-delay: -4s; }
.nchc-ztile__lbl { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.nchc-ztile:hover { opacity: 1; color: #fff; }
.nchc-ztile:hover .nchc-ztile__img { transform: scale(1.08); }
.nchc-ztile.is-active { opacity: 1; color: #fff; }
.nchc-ztile.is-active .nchc-ztile__lbl { color: #f0c674; }
.nchc-ztile.is-active .nchc-ztile__img {
  transform: scale(1.12);
  animation: nchc-zglow 2.4s ease-in-out infinite;
}
@keyframes nchc-zfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes nchc-zglow {
  0%,100% { box-shadow: 0 0 0 2px #DC2626, 0 0 10px rgba(240,198,116,.35); }
  50%     { box-shadow: 0 0 0 2px #DC2626, 0 0 26px rgba(240,198,116,.85); }
}
.nchc-horo__title { font-weight: 700; font-size: 13.5px; color: #f0c674; margin: 2px 0 8px; letter-spacing: .02em; }
.nchc-horo__ico { display: inline-flex; width: 15px; height: 15px; color: #f0c674; }
.nchc-horo__ico svg { width: 100%; height: 100%; display: block; }
.nchc-horo__ico--sun .nchc-rays { transform-origin: 12px 12px; animation: nchc-spin 12s linear infinite; }
.nchc-horo__ico--heart { color: #e0455a; animation: nchc-heartbeat 1.6s ease-in-out infinite; }
.nchc-horo__ico--coins { color: #e6b84c; }
.nchc-horo__ico--pulse { color: #4fd1a5; }
.nchc-horo__ico--case { color: #9ec5ff; }
@keyframes nchc-heartbeat { 0%,100% { transform: scale(1); } 14% { transform: scale(1.18); } 28% { transform: scale(1); } 42% { transform: scale(1.12); } }
.nchc-card--horo .nchc-horo__body { max-height: 270px; }

/* ============ 0.5.0 — МОБИЛНА ЛЕНТА С АНИМИРАНИТЕ ИКОНИ (≤900px) ============ */
.nchc-mstrip { display: none; }
@media (max-width: 900px) {
  .nchc-mstrip {
    display: flex; justify-content: center; align-items: flex-start; gap: 18px;
    grid-column: 1 / -1; margin: 2px 0 12px; padding: 6px 0;
  }
  .nchc-mstrip .nchc-hi { padding: 4px 8px; }
  .nchc-mstrip .nchc-hi__img { width: 58px; height: 58px; }
  .nchc-mstrip .nchc-hi__lbl { font-size: 10px; color: #d0d0d8; }
}
@media (prefers-reduced-motion: reduce) {
  .nchc-ztile__img, .nchc-ztile.is-active .nchc-ztile__img, .nchc-horo__ico--sun .nchc-rays, .nchc-horo__ico--heart { animation: none !important; }
}

/* ============ 0.5.1 — Meteocons: анимирани икони за състоянието (MIT, Bas Milius) ============ */
.nchc-wx__mc { display: block; width: 36px; height: 36px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.45)); }
.nchc-wx__mc--big { position: absolute; right: 12px; top: 10px; z-index: 3; width: 96px; height: 96px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.55)); }
.nchc-wx__di { display: inline-flex; align-items: center; justify-content: center; }
.nchc-wx__mc--sm { width: 34px; height: 34px; }
@media (max-width: 560px) { .nchc-wx__mc--big { width: 78px; height: 78px; } }

/* 0.5.2 — лентата на радиото сяда НАД долната навигация (бутона „Изпрати новина“).
   Височината се мери в JS (--nchc-bar-bottom); стойностите тук са резервни. */
@media (max-width: 900px) {
  .nchc-bar { bottom: calc(79px + env(safe-area-inset-bottom, 0px)); }
}

/* ============ 0.6.0 — ИСТИНСКО НЕБЕ: видео примка вместо неподвижна снимка ============
   Истински кадри (Pexels, свободен търговски лиценз), 5 s безшумна примка, 768x320.
   Зарежда се САМО клипът за текущото състояние. Снимката остава отдолу: вижда се,
   докато видеото се зарежда, и завинаги при „намалено движение“ / „пести данни“. */
.nchc-wx__vid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: 0; pointer-events: none;
  transition: opacity .8s ease;
}
.nchc-wx__scene.has-vid .nchc-wx__vid { opacity: 1; }
/* при живо видео спираме бавното движение на снимката и рисуваните слоеве —
   дъждът, снегът, светкавицата и звездите вече са истински в кадъра */
.nchc-wx__scene.has-vid { animation: none !important; }
.nchc-wx__scene.has-vid .wx-rain,
.nchc-wx__scene.has-vid .wx-snow,
.nchc-wx__scene.has-vid .wx-flash,
.nchc-wx__scene.has-vid .wx-stars,
.nchc-wx__scene.has-vid .wx-shoot,
.nchc-wx__scene.has-vid .nchc-wx__mc--big { display: none !important; }
.nchc-wx__scene.has-vid.wx-nightdark::before { background: rgba(8,12,26,.30); }

/* ============ 0.7.0 — „Днес/Утре“: големи ЖИВИ кръгчета с истинско небе ============ */
.nchc-wx__days { gap: 9px; }
.nchc-wx__day {
  gap: 12px; font-size: 13.5px;
  padding: 5px 8px 5px 6px; border-radius: 12px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
  transition: background-color .18s ease, border-color .18s ease;
}
.nchc-wx__day:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.nchc-wx__dn { width: 46px; font-size: 12.5px; letter-spacing: .02em; }
.nchc-wx__di {
  position: relative; flex: 0 0 auto;
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  background-size: cover; background-position: center; background-color: #0d1018;
  box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 3px 10px rgba(0,0,0,.45);
}
.nchc-wx__divid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
  opacity: 0; transition: opacity .8s ease;
}
.nchc-wx__di.has-vid .nchc-wx__divid { opacity: 1; }
/* лек вътрешен ръб — кръгчето да не „плува“ върху тъмното каре */
.nchc-wx__di::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: inset 0 0 12px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.10);
}
.nchc-wx__dt { font-size: 14.5px; letter-spacing: .01em; }
.nchc-wx__di .nchc-wx__mc--sm { width: 34px; height: 34px; margin: 9px; }
@media (max-width: 560px) { .nchc-wx__di { width: 46px; height: 46px; } }

}
