/* ═══════════════════════════════════════════════════════════════════════════
   HAJDUK THEME — ВРЕМЕТО „Стражата надъ навеса"  (Phase 3 production port)
   ───────────────────────────────────────────────────────────────────────────
   Visual SOT: prototype/hajduk-vreme.html (owner-approved, commit f20511b).
   Place = the sentry post on the ridge: термометъръ • лула • флюгеръ •
   барометъръ • чанове • слънчевъ часовникъ • писани плочки • тъпанъ •
   огниво • димилка • луница • далекогледъ.

   SCOPING — read hajduk-shared.css's contract first. Every selector here is
   scoped under `.haj-vreme` (the weather view wraps in
   <div class="haj-scope haj-vreme">). This is DELIBERATE and does double duty:
     1. protects generic names (.board/.plate/.ui/.sec/.wall) from the 40 other
        app stylesheets leaking in;
     2. on the weather page, `.haj-vreme .X` (0,2,0) ties ranitsa.css's
        `.haj-scope .X` (0,2,0) and wins by load order — so THIS file MUST load
        AFTER hajduk-ranitsa.css in index.html. On the раница page there is no
        `.haj-vreme`, so nothing here touches it.
   Shared-and-identical bits (.icon-btn, силяхлък .bottom-nav/.nav-*, the scoped
   reset, tokens) live in hajduk-shared.css and are NOT redeclared here.
   ═══════════════════════════════════════════════════════════════════════════ */

/* page-specific tokens — стражата: изветряло дърво, желѣзо, камъкъ, сребро */
.haj-vreme {
    --plank:      #2b241a;
    --plank-hi:   #3a3122;
    --iron:       #4a4b46;
    --iron-hi:    #6d6f66;
    --stone:      #57534a;
    --stone-hi:   #6d6759;
    --silver:     #cdd2cf;
    --silver-dim: #8e948f;
    --copper:     #b06f3a;
    position: relative;
    min-height: 100vh;
}

/* ═══ ЗАСЛОНЪТЪ — изветрели дъски задъ уредите ═══ */
.haj-vreme .wall {
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 120% 40% at 50% 0%, rgba(255, 200, 120, 0.05), transparent 60%),
        linear-gradient(180deg, #2e2718, #292217 45%, #211b10);
}
.haj-vreme .wall::before {
    content: '';
    position: absolute; inset: 0;
    background:
        repeating-linear-gradient(90deg,
            rgba(0, 0, 0, 0.20) 0 2px,
            transparent 2px 8px,
            rgba(255, 230, 180, 0.022) 8px 9px,
            transparent 9px 54px,
            rgba(0, 0, 0, 0.28) 54px 57px),
        repeating-linear-gradient(178deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 11px);
}
.haj-vreme .wall::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 115% 82% at 50% 36%, transparent 50%, rgba(0, 0, 0, 0.55) 100%);
}

/* ═══ СЦЕНАТА — погледътъ отъ поста (Canvas 2D) ═══ */
.haj-vreme .scene-band {
    position: relative;
    z-index: 1;
    height: 362px;
}
.haj-vreme .scene-band canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    display: block;
}
.haj-vreme #liveC { pointer-events: none; }

.haj-vreme .scene-head {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 16px 0;
    max-width: 430px;
    margin: 0 auto;
}
.haj-vreme .hdr-back-label {
    font-family: var(--font-hand);
    font-size: 18px;
    color: rgba(226, 216, 190, 0.9);
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.haj-vreme .scene-title {
    position: absolute;
    left: 0; right: 0;
    bottom: 14px;
    z-index: 3;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 18px;
    pointer-events: none;
}
.haj-vreme .scene-title h1 {
    font-family: 'Ruslan Display', var(--font-display);
    font-weight: 400;
    font-size: 31px;
    letter-spacing: 0.13em;
    background: linear-gradient(178deg, #f2d783 12%, #cfa62d 46%, #8d711d 82%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.75));
}
.haj-vreme .st-sub {
    margin-top: 1px;
    font-family: var(--font-hand);
    font-size: 19px;
    color: rgba(228, 214, 180, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

/* ═══ ОСНОВНАТА КОЛОНА ═══ */
.haj-vreme .ui {
    position: relative;
    z-index: 1;
    max-width: 430px;
    margin: 0 auto;
    padding: 4px 16px 96px;
}

/* заглавие на раздѣлъ */
.haj-vreme .sec {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 24px 2px 12px;
}
.haj-vreme .sec-t {
    font-family: var(--font-display);
    font-size: 15.5px;
    letter-spacing: 0.22em;
    background: linear-gradient(178deg, #f2d783 12%, #cfa62d 46%, #8d711d 82%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}
.haj-vreme .sec-a {
    font-family: var(--font-hand);
    font-size: 16.5px;
    color: rgba(205, 192, 162, 0.72);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.haj-vreme .sec::after {
    content: '';
    flex: 1;
    min-width: 24px;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, rgba(207, 166, 45, 0.35), rgba(207, 166, 45, 0.04));
}

/* ═══ СТРАЖЕВАТА ДЪСКА — сегашното (термометърътъ) ═══ */
.haj-vreme .board {
    position: relative;
    border-radius: 10px;
    padding: 16px 14px 13px;
    background:
        repeating-linear-gradient(2deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 9px),
        repeating-linear-gradient(88deg, rgba(255, 235, 190, 0.025) 0 1px, transparent 1px 7px),
        linear-gradient(175deg, #40301b, #2c2011 55%, #221809);
    border: 1px solid rgba(0, 0, 0, 0.7);
    box-shadow:
        inset 0 0 0 1px rgba(207, 166, 45, 0.13),
        inset 0 1px 0 rgba(240, 220, 170, 0.08),
        0 10px 22px rgba(0, 0, 0, 0.45);
}
.haj-vreme .board::before, .haj-vreme .board::after {
    content: '';
    position: absolute;
    top: 9px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #e9c754, #8d711d 75%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}
.haj-vreme .board::before { left: 10px; }
.haj-vreme .board::after { right: 10px; }

.haj-vreme .board-top {
    display: flex;
    align-items: stretch;
    gap: 14px;
}
.haj-vreme .board-thermo { flex: none; width: 72px; }
.haj-vreme .board-now { flex: 1; min-width: 0; padding-top: 4px; }

.haj-vreme .now-temp {
    font-family: var(--font-display);
    font-size: 66px;
    line-height: 0.9;
    background: linear-gradient(178deg, #f6e6b0 10%, #e9cd7a 48%, #b18d24 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6));
}
.haj-vreme .now-temp sup { font-size: 30px; }
.haj-vreme .now-feels {
    margin-top: 5px;
    font-family: var(--font-hand);
    font-size: 18.5px;
    color: rgba(222, 206, 170, 0.85);
}
.haj-vreme .now-desc {
    margin-top: 7px;
    font-size: 14.5px;
    font-weight: 500;
    font-style: italic;
    color: var(--haj-bone);
    line-height: 1.35;
}
.haj-vreme .now-place {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(190, 174, 140, 0.68);
}
.haj-vreme .now-place i { color: var(--haj-brass-dim); font-size: 13px; }

/* месинговите плочки съ четиритѣ стойности */
.haj-vreme .board-plates {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 14px;
}
.haj-vreme .plate {
    position: relative;
    padding: 7px 4px 6px;
    text-align: center;
    border-radius: 5px;
    background: linear-gradient(178deg, #e9c754, #cfa62d 52%, #96761c);
    box-shadow:
        inset 0 1px 0 rgba(255, 244, 200, 0.75),
        inset 0 -1px 2px rgba(50, 34, 6, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.5);
    color: #3a2508;
}
.haj-vreme .plate::before {
    content: '';
    position: absolute;
    top: -3px; left: 50%;
    width: 5px; height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #6d6f66, #33342f 80%);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.7);
}
.haj-vreme .plate i { font-size: 15px; }
.haj-vreme .plate b {
    display: block;
    font-family: var(--font-display);
    font-size: 15.5px;
    letter-spacing: 0.01em;
    margin-top: 1px;
}
.haj-vreme .plate b small { font-size: 10px; font-family: var(--font-body); font-weight: 700; }
.haj-vreme .plate span {
    display: block;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 1px;
}

/* ═══ ЛУЛАТА НА ВОЙВОДАТА — тягата на дима ═══ */
.haj-vreme .pipe-card {
    position: relative;
    border-radius: 10px;
    padding: 13px 14px 12px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 60% at 78% 30%, rgba(226, 102, 42, 0.07), transparent 60%),
        repeating-linear-gradient(46deg, rgba(0, 0, 0, 0.09) 0 3px, transparent 3px 7px),
        linear-gradient(175deg, #2d2317, #241b0f 60%, #1e1509);
    border: 1px solid rgba(0, 0, 0, 0.7);
    box-shadow:
        inset 0 0 0 1px rgba(207, 166, 45, 0.11),
        inset 0 1px 0 rgba(240, 220, 170, 0.06),
        0 8px 18px rgba(0, 0, 0, 0.4);
}
.haj-vreme .pipe-fig {
    position: relative;
    height: 116px;
}
.haj-vreme .pipe-fig svg {
    position: absolute;
    left: -6px; top: 2px;
    width: 230px; height: 112px;
}
/* димътъ отъ лулата — нишки, дишатъ */
.haj-vreme .pipe-wisp { opacity: 0.5; }
@keyframes hajStrajaWisp {
    0%   { transform: translate(0, 0); opacity: 0.55; }
    50%  { transform: translate(4px, -5px); opacity: 0.3; }
    100% { transform: translate(0, 0); opacity: 0.55; }
}
.haj-vreme .pipe-wisp.w1 { animation: hajStrajaWisp 5.2s ease-in-out infinite; }
.haj-vreme .pipe-wisp.w2 { animation: hajStrajaWisp 6.4s ease-in-out infinite 1.2s; }
.haj-vreme .pipe-verdict {
    position: absolute;
    right: 0; top: 8px;
    width: 132px;
    text-align: right;
}
.haj-vreme .pv-num {
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 0.9;
    background: linear-gradient(178deg, #f9b477, #e2662a 55%, #a1441a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.65));
}
.haj-vreme .pv-word {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--haj-brass);
}
.haj-vreme .pv-note {
    display: block;
    margin-top: 6px;
    font-family: var(--font-hand);
    font-size: 16.5px;
    line-height: 1.15;
    color: rgba(222, 206, 170, 0.85);
}
/* факторите — тютюневи редчета */
.haj-vreme .pipe-facts {
    margin-top: 4px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
}
.haj-vreme .pf-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(205, 192, 162, 0.8);
}
.haj-vreme .pf-row i { color: var(--haj-brass-dim); font-size: 13px; flex: none; }
.haj-vreme .pf-bar {
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.45);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}
.haj-vreme .pf-bar b {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #93803a, #cfa62d);
}
.haj-vreme .pf-bar.hot b { background: linear-gradient(90deg, #a1441a, #e2662a); }
.haj-vreme .pf-val { flex: none; width: 30px; text-align: right; font-family: var(--font-hand); font-size: 15px; color: var(--haj-bone); font-weight: 500; }

/* ═══ УРЕДИТѢ — флюгеръ и барометъръ (два на редъ) ═══ */
.haj-vreme .uredi {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.haj-vreme .ured {
    position: relative;
    border-radius: 10px;
    padding: 12px 10px 11px;
    text-align: center;
    background:
        repeating-linear-gradient(89deg, rgba(0, 0, 0, 0.1) 0 2px, transparent 2px 8px),
        linear-gradient(175deg, #322616, #261c0e 60%, #1f1608);
    border: 1px solid rgba(0, 0, 0, 0.7);
    box-shadow:
        inset 0 0 0 1px rgba(207, 166, 45, 0.11),
        inset 0 1px 0 rgba(240, 220, 170, 0.06),
        0 8px 18px rgba(0, 0, 0, 0.4);
}
.haj-vreme .ured-fig { height: 132px; display: flex; align-items: center; justify-content: center; }
.haj-vreme .ured-fig svg { width: 128px; height: 128px; }
.haj-vreme .ured-big {
    font-family: var(--font-display);
    font-size: 25px;
    line-height: 1;
    margin-top: 4px;
    background: linear-gradient(178deg, #f6e6b0 10%, #e9cd7a 48%, #b18d24 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.haj-vreme .ured-big small { font-size: 13px; }
.haj-vreme .ured-sub {
    margin-top: 3px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(205, 192, 162, 0.65);
}
.haj-vreme .ured-note {
    margin-top: 6px;
    font-family: var(--font-hand);
    font-size: 15.5px;
    line-height: 1.12;
    color: rgba(222, 206, 170, 0.82);
}

/* ═══ ЧАНОВЕТѢ — днесь по часове (8 смѣни) ═══ */
.haj-vreme .chanove {
    position: relative;
    border-radius: 10px;
    padding: 0 6px 10px;
    background:
        repeating-linear-gradient(89deg, rgba(0, 0, 0, 0.1) 0 2px, transparent 2px 8px),
        linear-gradient(175deg, #2e2314, #241b0d 60%, #1e1508);
    border: 1px solid rgba(0, 0, 0, 0.7);
    box-shadow:
        inset 0 0 0 1px rgba(207, 166, 45, 0.11),
        inset 0 1px 0 rgba(240, 220, 170, 0.06),
        0 8px 18px rgba(0, 0, 0, 0.4);
}
.haj-vreme .chan-rail {
    height: 9px;
    margin: 0 -6px;
    border-radius: 10px 10px 4px 4px;
    background:
        radial-gradient(circle 2px at 14px 50%, #d9b23e 0 45%, #6a5514 55% 70%, transparent 75%),
        radial-gradient(circle 2px at calc(100% - 14px) 50%, #d9b23e 0 45%, #6a5514 55% 70%, transparent 75%),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 7px),
        linear-gradient(180deg, #4c3a20, #2c2110);
    border-bottom: 1px solid rgba(0, 0, 0, 0.6);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(240, 220, 170, 0.12);
}
.haj-vreme .chan-row {
    display: flex;
    gap: 1px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-top: 2px;
}
.haj-vreme .chan-row::-webkit-scrollbar { display: none; }
.haj-vreme .chan {
    flex: 1 0 40px;
    min-width: 40px;
    text-align: center;
    padding-bottom: 3px;
}
.haj-vreme .chan svg { width: 34px; height: 42px; display: block; margin: 0 auto; }
.haj-vreme .chan-hour {
    font-family: var(--font-hand);
    font-size: 15px;
    color: rgba(205, 192, 162, 0.75);
    line-height: 1;
}
.haj-vreme .chan-temp {
    font-family: var(--font-display);
    font-size: 16.5px;
    margin-top: 2px;
    color: var(--haj-bone);
}
.haj-vreme .chan-mark {
    height: 14px;
    font-size: 11px;
    line-height: 14px;
    color: var(--haj-smoke);
}
.haj-vreme .chan-mark .rain { color: #7d99a8; }
.haj-vreme .chan-mark .storm { color: var(--haj-ember-hi); }
.haj-vreme .chan.now .chan-hour { color: var(--haj-ember-hi); font-weight: 700; }
.haj-vreme .chan.now .chan-temp { color: #f6e6b0; }

/* ═══ СЛЪНЧЕВИЯТЪ ЧАСОВНИКЪ — камененъ, съ златния часъ ═══ */
.haj-vreme .sundial {
    position: relative;
    border-radius: 10px;
    padding: 14px 12px 12px;
    background:
        radial-gradient(ellipse 80% 50% at 30% 0%, rgba(255, 225, 160, 0.05), transparent 60%),
        repeating-linear-gradient(23deg, rgba(0, 0, 0, 0.07) 0 1px, transparent 1px 5px),
        repeating-linear-gradient(113deg, rgba(255, 240, 210, 0.02) 0 1px, transparent 1px 7px),
        linear-gradient(170deg, #5d574a, #4b463b 55%, #3b372e);
    border: 1px solid rgba(0, 0, 0, 0.75);
    box-shadow:
        inset 0 1px 0 rgba(255, 245, 215, 0.14),
        inset 0 -2px 5px rgba(0, 0, 0, 0.4),
        inset 2px 0 3px rgba(0, 0, 0, 0.2),
        0 10px 22px rgba(0, 0, 0, 0.5);
}
.haj-vreme .sundial::before {
    content: '';
    position: absolute; inset: 5px;
    border-radius: 7px;
    pointer-events: none;
    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.45),
        inset 0 -1px 0 rgba(255, 245, 215, 0.08);
}
.haj-vreme .sundial svg { width: 100%; height: auto; display: block; }
.haj-vreme .sd-times {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
    padding: 0 6px;
}
.haj-vreme .sd-t { text-align: center; }
.haj-vreme .sd-t b {
    display: block;
    font-family: var(--font-display);
    font-size: 19px;
    color: #efe7cf;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
}
.haj-vreme .sd-t span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(230, 220, 195, 0.55);
}
.haj-vreme .sd-gold {
    margin-top: 10px;
    padding: 8px 10px 7px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(90deg, rgba(226, 150, 42, 0.16), rgba(226, 150, 42, 0.04));
    box-shadow: inset 0 0 0 1px rgba(242, 195, 100, 0.22);
}
.haj-vreme .sd-gold i { color: #f2c364; font-size: 17px; flex: none; }
.haj-vreme .sd-gold-txt { flex: 1; min-width: 0; }
.haj-vreme .sd-gold-txt b {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #f5d98f;
}
.haj-vreme .sd-gold-txt span {
    display: block;
    font-family: var(--font-hand);
    font-size: 15.5px;
    line-height: 1.1;
    color: rgba(235, 222, 190, 0.85);
    margin-top: 1px;
}
.haj-vreme .sd-gold-when {
    flex: none;
    font-family: var(--font-display);
    font-size: 17px;
    color: #f2c364;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
}
.haj-vreme .sd-day {
    margin-top: 8px;
    text-align: center;
    font-family: var(--font-hand);
    font-size: 16px;
    color: rgba(230, 220, 195, 0.62);
}

/* ═══ ПИСАНИТѢ ПЛОЧКИ — седмицата на вѫжето ═══ */
.haj-vreme .garland {
    position: relative;
    padding: 26px 4px 6px;
}
.haj-vreme .garland-rope {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 46px;
    pointer-events: none;
}
.haj-vreme .garland-rope svg { width: 100%; height: 100%; display: block; }
.haj-vreme .garland-row {
    position: relative;
    display: flex;
    gap: 5px;
    align-items: flex-start;
}
.haj-vreme .shingle {
    flex: 1;
    min-width: 0;
    position: relative;
    text-align: center;
    border-radius: 4px 4px 6px 6px;
    padding: 9px 2px 7px;
    background:
        repeating-linear-gradient(2deg, rgba(0, 0, 0, 0.13) 0 2px, transparent 2px 8px),
        linear-gradient(175deg, #3d2e1a, #2b2010 65%, #221809);
    border: 1px solid rgba(0, 0, 0, 0.65);
    box-shadow:
        inset 0 0 0 1px rgba(207, 166, 45, 0.1),
        inset 0 1px 0 rgba(240, 220, 170, 0.07),
        0 5px 10px rgba(0, 0, 0, 0.45);
}
.haj-vreme .shingle::before {
    content: '';
    position: absolute;
    top: -14px; left: 50%;
    width: 2.5px; height: 15px;
    margin-left: -1.25px;
    background: linear-gradient(180deg, #9a8154, #6d5a38);
    border-radius: 2px;
}
.haj-vreme .shingle::after {
    content: '';
    position: absolute;
    top: 2px; left: 50%;
    width: 5px; height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: #17100a;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(240, 220, 170, 0.1);
}
.haj-vreme .shingle:nth-child(1) { transform: rotate(-2.2deg); margin-top: 1px; }
.haj-vreme .shingle:nth-child(2) { transform: rotate(1.4deg); margin-top: 7px; }
.haj-vreme .shingle:nth-child(3) { transform: rotate(-1deg); margin-top: 11px; }
.haj-vreme .shingle:nth-child(4) { transform: rotate(0.6deg); margin-top: 13px; }
.haj-vreme .shingle:nth-child(5) { transform: rotate(-1.6deg); margin-top: 11px; }
.haj-vreme .shingle:nth-child(6) { transform: rotate(2deg); margin-top: 7px; }
.haj-vreme .shingle:nth-child(7) { transform: rotate(-0.8deg); margin-top: 1px; }
.haj-vreme .shingle.today {
    background:
        repeating-linear-gradient(2deg, rgba(0, 0, 0, 0.1) 0 2px, transparent 2px 8px),
        linear-gradient(175deg, #46351d, #332512 65%, #281c0b);
    box-shadow:
        inset 0 0 0 1px rgba(207, 166, 45, 0.4),
        inset 0 0 12px rgba(226, 102, 42, 0.09),
        inset 0 1px 0 rgba(240, 220, 170, 0.1),
        0 5px 10px rgba(0, 0, 0, 0.45);
}
.haj-vreme .sh-day {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(222, 206, 170, 0.8);
}
.haj-vreme .shingle.today .sh-day { color: var(--haj-brass); }
.haj-vreme .sh-glyph { height: 30px; margin-top: 4px; }
.haj-vreme .sh-glyph svg { width: 28px; height: 28px; }
.haj-vreme .sh-hi {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--haj-bone);
    margin-top: 2px;
}
.haj-vreme .sh-lo {
    font-family: var(--font-hand);
    font-size: 13.5px;
    color: rgba(205, 192, 162, 0.55);
    line-height: 1;
}

/* ═══ ТЪПАНЪТЪ НА БУРЯТА — гърмотевичниятъ тракеръ ═══ */
.haj-vreme .tapan-card {
    position: relative;
    border-radius: 10px;
    padding: 13px 14px 12px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 55% at 20% 0%, rgba(147, 49, 43, 0.12), transparent 65%),
        repeating-linear-gradient(89deg, rgba(0, 0, 0, 0.1) 0 2px, transparent 2px 8px),
        linear-gradient(175deg, #2c2113, #231a0d 60%, #1d1408);
    border: 1px solid rgba(0, 0, 0, 0.7);
    box-shadow:
        inset 0 0 0 1px rgba(207, 166, 45, 0.11),
        inset 0 1px 0 rgba(240, 220, 170, 0.06),
        0 8px 18px rgba(0, 0, 0, 0.4);
}
.haj-vreme .tapan-top {
    display: flex;
    gap: 13px;
    align-items: center;
}
.haj-vreme .tapan-fig { flex: none; position: relative; width: 128px; height: 118px; }
.haj-vreme .tapan-fig svg { width: 128px; height: 118px; display: block; }
.haj-vreme .tapan-dist {
    position: absolute;
    top: 30px; left: 0;
    width: 128px;
    text-align: center;
    pointer-events: none;
}
.haj-vreme .tapan-dist b {
    font-family: var(--font-display);
    font-size: 30px;
    color: #52351c;
    line-height: 0.9;
}
.haj-vreme .tapan-dist small {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: rgba(82, 53, 28, 0.75);
}
.haj-vreme .tapan-info { flex: 1; min-width: 0; }
.haj-vreme .tp-status {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--haj-ember-hi);
}
.haj-vreme .tp-status.calm { color: var(--haj-brass); }
.haj-vreme .tp-status i { margin-right: 4px; }
.haj-vreme .tp-detail {
    margin-top: 4px;
    font-size: 13.5px;
    line-height: 1.4;
    color: rgba(230, 216, 184, 0.88);
}
.haj-vreme .tp-detail b { color: var(--haj-bone); }
.haj-vreme .tp-note {
    margin-top: 6px;
    font-family: var(--font-hand);
    font-size: 16px;
    line-height: 1.15;
    color: rgba(222, 206, 170, 0.8);
}
/* следващите 6 часа — резки на дъска */
.haj-vreme .tp-hours {
    margin-top: 11px;
    display: flex;
    gap: 6px;
    align-items: flex-end;
    padding: 8px 8px 6px;
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.28);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}
.haj-vreme .tph {
    flex: 1;
    text-align: center;
}
.haj-vreme .tph-bar {
    position: relative;
    height: 34px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.haj-vreme .tph-bar b {
    display: block;
    width: 9px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(180deg, #f5924e, #93312b);
    box-shadow: 0 0 6px rgba(226, 102, 42, 0.3);
}
.haj-vreme .tph-bar.low b { background: linear-gradient(180deg, #93803a, #5c4f24); box-shadow: none; }
.haj-vreme .tph span {
    display: block;
    margin-top: 3px;
    font-family: var(--font-hand);
    font-size: 13px;
    color: rgba(205, 192, 162, 0.6);
    line-height: 1;
}

/* ═══ ОГНИВОТО / ДИМИЛКАТА — условия за огъня и комарите ═══ */
.haj-vreme .znak-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.haj-vreme .znak {
    position: relative;
    border-radius: 10px;
    padding: 12px 11px 11px;
    background:
        repeating-linear-gradient(46deg, rgba(0, 0, 0, 0.08) 0 3px, transparent 3px 8px),
        linear-gradient(175deg, #2e2213, #251b0d 60%, #1e1508);
    border: 1px solid rgba(0, 0, 0, 0.7);
    box-shadow:
        inset 0 0 0 1px rgba(207, 166, 45, 0.11),
        inset 0 1px 0 rgba(240, 220, 170, 0.06),
        0 8px 18px rgba(0, 0, 0, 0.4);
}
.haj-vreme .znak-fig {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.haj-vreme .znak-fig svg { width: 116px; height: 88px; }
.haj-vreme .znak-verdict {
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--haj-brass);
}
.haj-vreme .znak-verdict.hot { color: var(--haj-ember-hi); }
.haj-vreme .znak-note {
    margin-top: 5px;
    text-align: center;
    font-family: var(--font-hand);
    font-size: 15.5px;
    line-height: 1.14;
    color: rgba(222, 206, 170, 0.82);
}
/* комарите — петте кръвника */
.haj-vreme .komari-scale {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 3px 0 6px;
}
.haj-vreme .komari-scale svg { width: 19px; height: 16px; }
.haj-vreme .komari-scale .on { color: var(--haj-ember-hi); filter: drop-shadow(0 0 3px rgba(226, 102, 42, 0.5)); }
.haj-vreme .komari-scale .off { color: rgba(168, 179, 154, 0.28); }

/* ═══ ЛУНИЦАТА — мѣсечината на върволица ═══ */
.haj-vreme .lunitsa {
    position: relative;
    border-radius: 10px;
    padding: 13px 14px 12px;
    overflow: hidden;
    display: flex;
    gap: 15px;
    align-items: center;
    background:
        radial-gradient(ellipse 70% 90% at 22% 40%, rgba(205, 210, 207, 0.05), transparent 60%),
        repeating-linear-gradient(89deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 8px),
        linear-gradient(175deg, #1c1f1c, #171a16 55%, #121409);
    border: 1px solid rgba(0, 0, 0, 0.75);
    box-shadow:
        inset 0 0 0 1px rgba(205, 210, 207, 0.09),
        inset 0 1px 0 rgba(240, 220, 170, 0.05),
        0 8px 18px rgba(0, 0, 0, 0.4);
}
.haj-vreme .lunitsa-fig { flex: none; width: 110px; height: 128px; position: relative; }
.haj-vreme .lunitsa-fig svg { width: 110px; height: 128px; display: block; }
.haj-vreme .lunitsa-info { flex: 1; min-width: 0; }
.haj-vreme .ln-phase {
    font-family: var(--font-display);
    font-size: 21px;
    color: #dfe4e0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}
.haj-vreme .ln-pct {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(205, 210, 207, 0.55);
}
.haj-vreme .ln-rows { margin-top: 9px; }
.haj-vreme .ln-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: rgba(222, 216, 195, 0.85);
    padding: 2.5px 0;
}
.haj-vreme .ln-row i { color: var(--silver-dim); font-size: 14px; flex: none; }
.haj-vreme .ln-row b { font-family: var(--font-display); font-weight: 400; font-size: 15px; color: #e9ede9; }
.haj-vreme .ln-note {
    margin-top: 7px;
    font-family: var(--font-hand);
    font-size: 16px;
    line-height: 1.12;
    color: rgba(210, 214, 205, 0.7);
}

/* ═══ ДАЛЕКОГЛЕДЪТЪ — нощното небе ═══ */
.haj-vreme .spyglass {
    position: relative;
    border-radius: 10px;
    padding: 13px 14px 13px;
    overflow: hidden;
    background:
        repeating-linear-gradient(89deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 8px),
        linear-gradient(175deg, #1e1c15, #18160f 55%, #12100a);
    border: 1px solid rgba(0, 0, 0, 0.75);
    box-shadow:
        inset 0 0 0 1px rgba(207, 166, 45, 0.1),
        inset 0 1px 0 rgba(240, 220, 170, 0.05),
        0 8px 18px rgba(0, 0, 0, 0.4);
}
.haj-vreme .sg-fig {
    height: 74px;
    position: relative;
    margin-bottom: 4px;
}
.haj-vreme .sg-fig svg {
    position: absolute;
    right: -6px; top: 0;
    width: 222px; height: 71px;
}
.haj-vreme .sg-caption {
    position: absolute;
    left: 2px; top: 8px;
    width: 124px;
}
.haj-vreme .sg-caption b {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--haj-brass);
}
.haj-vreme .sg-caption span {
    display: block;
    margin-top: 3px;
    font-family: var(--font-hand);
    font-size: 15.5px;
    line-height: 1.12;
    color: rgba(222, 206, 170, 0.78);
}
/* окото — кръглиятъ погледъ къмъ небето */
.haj-vreme .sg-eye {
    position: relative;
    width: 236px;
    height: 236px;
    margin: 6px auto 2px;
    border-radius: 50%;
    background: radial-gradient(circle at 44% 38%, #1b2531 0%, #131a24 45%, #0a0e15 78%, #05070b);
    box-shadow:
        0 0 0 4px #0d0b06,
        0 0 0 6px #8d711d,
        0 0 0 8px #5c4a14,
        inset 0 0 40px rgba(0, 0, 0, 0.75),
        0 6px 16px rgba(0, 0, 0, 0.6);
}
.haj-vreme .sg-eye svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.haj-vreme .sg-label {
    position: absolute;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(240, 229, 204, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    white-space: nowrap;
}
.haj-vreme .sg-label small {
    display: block;
    font-family: var(--font-hand);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(205, 200, 175, 0.65);
}
/* редовете подъ окото */
.haj-vreme .sg-rows { margin-top: 12px; }
.haj-vreme .sg-row {
    display: flex;
    align-items: baseline;
    gap: 9px;
    padding: 6px 2px;
}
.haj-vreme .sg-row + .sg-row { border-top: 1px solid rgba(240, 229, 204, 0.07); }
.haj-vreme .sg-row i {
    flex: none;
    font-size: 15px;
    color: var(--haj-brass-dim);
    align-self: center;
}
.haj-vreme .sg-row .sg-what {
    flex: 1;
    min-width: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: rgba(235, 224, 196, 0.92);
}
.haj-vreme .sg-row .sg-what small {
    display: block;
    font-family: var(--font-hand);
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(205, 192, 162, 0.6);
    line-height: 1.1;
}
.haj-vreme .sg-row .sg-when {
    flex: none;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--haj-bone);
}

@media (max-width: 370px) {
    .haj-vreme .now-temp { font-size: 56px; }
    .haj-vreme .sg-eye { width: 208px; height: 208px; }
    .haj-vreme .tapan-fig, .haj-vreme .tapan-fig svg, .haj-vreme .tapan-dist { width: 112px; }
}
