/* Atlas królestwa — living layer (weather, time of day, pins, almanac, wanderers, rumours) */
.zhp .atlas-folio{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.zhp .folio-art img{height:clamp(190px,24vw,340px)}
.zhp .folio-stage{border:1px solid #3c3628}

/* sky layers */
.zhp .folio-sky,.zhp .folio-sky i{position:absolute;inset:0;pointer-events:none;display:block}
.zhp .folio-sky{z-index:2;overflow:hidden}
.zhp .sky-tint{transition:background 1.2s ease,opacity 1.2s ease}
.zhp .folio-stage[data-daypart=night] .sky-tint{background:radial-gradient(ellipse at 70% 15%,#9fb4d814,transparent 45%),linear-gradient(#0b1430a8,#0a0f1e8c);mix-blend-mode:multiply}
.zhp .folio-stage[data-daypart=dawn] .sky-tint{background:linear-gradient(#e9a58b38,transparent 55%,#2a1f3a30)}
.zhp .folio-stage[data-daypart=dusk] .sky-tint{background:linear-gradient(#d0763f40,#5a2f4a33 60%,#160f1a55)}
.zhp .folio-stage[data-daypart=day] .sky-tint{background:linear-gradient(#fff3d40d,transparent)}
.zhp .folio-stage[data-daypart=night][data-effect=clear] .sky-glow{background-image:radial-gradient(circle,#fff8 .6px,transparent 1.2px),radial-gradient(circle,#ffe9c766 .8px,transparent 1.4px);background-size:47px 39px,83px 61px;background-position:3px 5px,21px 17px;-webkit-mask:linear-gradient(#000,transparent 70%);mask:linear-gradient(#000,transparent 70%)}

.zhp [data-effect=rain] .sky-weather,.zhp [data-effect=storm] .sky-weather{background:linear-gradient(104deg,transparent 47%,#cfdbe540 48.5%,transparent 50%) 0 0/19px 44px;opacity:.75}
.zhp [data-effect=rain] .sky-weather.far,.zhp [data-effect=storm] .sky-weather.far{background-size:11px 27px;opacity:.4}
.zhp [data-effect=snow] .sky-weather{background:radial-gradient(circle,#fffaf0a6 1.2px,transparent 2px) 0 0/37px 41px,radial-gradient(circle,#fffaf070 1px,transparent 1.6px) 13px 19px/23px 29px}
.zhp [data-effect=snow] .sky-weather.far{background:radial-gradient(circle,#ffffff70 .8px,transparent 1.3px) 0 0/17px 19px;opacity:.6}
.zhp [data-effect=fog] .sky-weather{background:radial-gradient(ellipse 60% 35% at 30% 75%,#d9d6cc59,transparent 70%),radial-gradient(ellipse 50% 30% at 80% 60%,#d9d6cc40,transparent 70%);inset:-10% -30%}
.zhp [data-effect=fog] .sky-weather.far{background:linear-gradient(transparent 40%,#cfcac066 85%)}
.zhp [data-effect=clouds] .sky-weather{background:radial-gradient(ellipse 40% 25% at 20% 20%,#0c0d0b59,transparent 70%),radial-gradient(ellipse 45% 30% at 75% 35%,#0c0d0b4d,transparent 70%);inset:-10% -40%}
.zhp [data-effect=wind] .sky-weather{background:linear-gradient(90deg,transparent 30%,#e8e2d22e 50%,transparent 70%) 0 0/160px 23px;opacity:.7}
.zhp [data-effect=frost] .sky-weather{background:radial-gradient(ellipse at center,transparent 50%,#cfe3f04d 100%)}
.zhp [data-effect=frost] .sky-weather.far{background-image:radial-gradient(circle,#e6f4ffb3 .7px,transparent 1.2px);background-size:29px 31px;opacity:.5}

.zhp .atlas-moving [data-effect=rain] .sky-weather,.zhp .atlas-moving [data-effect=storm] .sky-weather{animation:sky-rain .45s linear infinite}
.zhp .atlas-moving [data-effect=rain] .sky-weather.far,.zhp .atlas-moving [data-effect=storm] .sky-weather.far{animation-duration:.7s}
.zhp .atlas-moving [data-effect=snow] .sky-weather{animation:sky-snow 9s linear infinite}
.zhp .atlas-moving [data-effect=snow] .sky-weather.far{animation-duration:15s}
.zhp .atlas-moving [data-effect=fog] .sky-weather{animation:sky-drift 26s ease-in-out infinite alternate}
.zhp .atlas-moving [data-effect=clouds] .sky-weather{animation:sky-drift 40s linear infinite alternate}
.zhp .atlas-moving [data-effect=wind] .sky-weather{animation:sky-wind 1.6s linear infinite}
.zhp .atlas-moving [data-effect=storm] .sky-glow{animation:sky-flash 11s steps(1) infinite}
.zhp .atlas-moving .folio-stage[data-daypart=night][data-effect=clear] .sky-glow{animation:sky-twinkle 5s ease-in-out infinite alternate}
@keyframes sky-rain{to{background-position:-9px 44px,-9px 44px}}
@keyframes sky-snow{to{background-position:18px 205px,31px 164px}}
@keyframes sky-drift{from{transform:translateX(-6%)}to{transform:translateX(8%)}}
@keyframes sky-wind{to{background-position:160px 0}}
@keyframes sky-flash{0%,93.6%,95%,100%{background:transparent}94%,95.5%{background:#eef4ff55}}
@keyframes sky-twinkle{from{opacity:.55}to{opacity:1}}

/* banner and compass on the art */
.zhp .stage-banner{position:absolute;z-index:4;left:0;right:0;bottom:0;display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:22px 12px 8px;background:linear-gradient(transparent,#0e0f0cd9);pointer-events:none}
.zhp .stage-banner strong{font:600 clamp(17px,1.6vw,22px)/1.1 var(--zhp-serif,serif);color:#f3e3c2;text-shadow:0 1px 3px #000}
.zhp .stage-banner small{font-size:12px;color:#d6c7a6;letter-spacing:.03em;text-align:right}
.zhp .stage-rose{position:absolute;z-index:4;top:8px;right:8px;width:34px;height:34px;opacity:.75;pointer-events:none}
.zhp .stage-rose circle{fill:none;stroke:#d9b97a;stroke-width:.8}
.zhp .stage-rose path{fill:#d9b97a99;stroke:#f1d9a6;stroke-width:.5}
.zhp .stage-rose text{font:600 5px var(--zhp-serif,serif);fill:#f1d9a6;text-anchor:middle;dominant-baseline:hanging}
.zhp .atlas-moving .stage-rose path{transform-origin:20px 20px;animation:rose-sway 12s ease-in-out infinite alternate}
@keyframes rose-sway{from{transform:rotate(-6deg)}to{transform:rotate(6deg)}}

/* pins (locations.map_x / map_y) */
.zhp .folio-pins{position:absolute;z-index:3;left:0;top:0;width:100%;height:100%}
.zhp .folio-pins .pin{position:absolute;width:14px;height:14px;margin:-7px 0 0 -7px;padding:0;border:2px solid #f6dfa8;border-radius:50%;background:#8a3b2e;box-shadow:0 0 0 2px #0008,0 2px 6px #000a;cursor:pointer}
.zhp .folio-pins .pin span{position:absolute;left:50%;bottom:calc(100% + 6px);transform:translateX(-50%);white-space:nowrap;padding:2px 7px;background:#14150fe6;border:1px solid #7d6b4c;color:#f3e3c2;font:600 13px/1.3 var(--zhp-serif,serif);opacity:0;pointer-events:none;transition:opacity .2s}
.zhp .folio-pins .pin:hover span,.zhp .folio-pins .pin:focus-visible span,.zhp .folio-pins .pin.lit span{opacity:1}
.zhp .folio-pins .pin.lit{background:#d9a455;transform:scale(1.25)}
.zhp .atlas-moving .folio-pins .pin::after{content:"";position:absolute;inset:-6px;border-radius:50%;border:1px solid #f6dfa8;animation:pin-ring 2.6s ease-out infinite}
@keyframes pin-ring{from{transform:scale(.4);opacity:.9}to{transform:scale(1.6);opacity:0}}

/* stepping */
.zhp .folio-steps{display:flex;align-items:center;gap:8px;padding:8px 3px 2px;color:#bfb196;font-size:13px}
.zhp .folio-steps button{min-width:32px;height:30px;border:1px solid #695d47;background:#1d1e19;color:#ead9b6;font:600 17px/1 var(--zhp-serif,serif);cursor:pointer}
.zhp .folio-steps button:hover{background:#2c2a22}
.zhp .folio-steps .tour{margin-left:auto;padding:0 10px;font-size:14px}
.zhp .folio-steps .tour[aria-pressed=true]{background:#713d32;color:#fff1d6;border-color:#a3764d}

/* tabs */
.zhp .folio-tabs .tab-online{min-width:18px;padding:0 5px;border-radius:9px;background:#2f4a2c;color:#d9f0c8;font:600 11px/18px var(--zhp-sans,sans-serif);text-align:center}
.zhp .folio-tabs .tab-online::before{content:"";display:inline-block;width:5px;height:5px;margin-right:3px;border-radius:50%;background:#8fd36d;vertical-align:1px}
.zhp .folio-leaf h3 .place-total{font:400 13px/1 var(--zhp-sans,sans-serif);color:#a99c80;letter-spacing:.04em;margin-left:6px}

/* almanac */
.zhp .atlas-live{margin:14px 0 6px}
.zhp .almanac{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.zhp .almanac li{display:flex;gap:10px;align-items:flex-start;padding:9px 10px;border:1px solid #4b4434;background:#1b1c17}
.zhp .almanac .glyph{flex:0 0 18px;width:18px;height:18px;margin-top:2px;stroke:#d9b97a;fill:none;stroke-width:1.6}
.zhp .almanac span{display:flex;flex-direction:column;min-width:0}
.zhp .almanac small{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#a29479}
.zhp .almanac strong{font:600 17px/1.2 var(--zhp-serif,serif);color:#f0e1c2}
.zhp .almanac em{font-style:normal;font-size:12px;color:#b9ad95}
.zhp .mood-meter{display:flex;gap:3px;margin:4px 0 2px}
.zhp .mood-meter b{width:22px;height:5px;background:#3a352a}
.zhp .mood[data-level="1"] .mood-meter b:nth-child(-n+1){background:#7aa35c}
.zhp .mood[data-level="2"] .mood-meter b:nth-child(-n+2){background:#c9a443}
.zhp .mood[data-level="3"] .mood-meter b:nth-child(-n+3){background:#d1773b}
.zhp .mood[data-level="4"] .mood-meter b{background:#c2412f}
.zhp .atlas-moving .mood[data-level="4"] .mood-meter b{animation:mood-burn 1.4s ease-in-out infinite alternate}
@keyframes mood-burn{to{background:#f0763f}}
.zhp .atlas-live .fresh{animation:live-fresh 1.6s ease-out}
@keyframes live-fresh{from{color:#ffd58f;text-shadow:0 0 8px #e7a85488}to{text-shadow:none}}

/* wanderers */
.zhp .wanderers{margin-top:12px}
.zhp .wanderers>small,.zhp .rumours>small{display:flex;align-items:center;gap:6px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#a29479;margin-bottom:6px}
.zhp .wanderer-row{display:flex;flex-wrap:wrap;gap:8px}
.zhp .wanderer{display:flex;align-items:center;gap:6px;padding:3px 9px 3px 3px;border:1px solid #4b4434;border-radius:20px;background:#1b1c17;color:#e7dcc7;font-size:13px;max-width:160px}
.zhp .wanderer img{width:28px;height:28px;border-radius:50%;object-fit:cover;border:1px solid #8c7a55;background:#2a2a23}
.zhp .wanderer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zhp .wanderer:hover{border-color:#a3764d;background:#26241d}

/* rumours */
.zhp .rumours{margin-top:12px;padding:10px 12px;border-left:3px solid #8a5a3a;background:linear-gradient(90deg,#2a221a,#1d1d18)}
.zhp .rumours .glyph{width:14px;height:14px;stroke:#e39a52;fill:none;stroke-width:1.7}
.zhp .rumours ul{list-style:none;margin:0;padding:0}
.zhp .rumours li{font:600 16px/1.4 var(--zhp-serif,serif);color:#e9dcc2;padding:3px 0}
.zhp .rumours li+li{border-top:1px dashed #5a4d3a}
.zhp .rumours.rotating ul{min-height:2.9em}
.zhp .rumours.rotating li{display:none;border:0}
.zhp .rumours.rotating li.on{display:block;animation:rumour-in .6s ease-out}
@keyframes rumour-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* chronicle line */
.zhp .region-annal{display:flex;gap:10px;margin:12px 0 0;padding:8px 10px;border:1px solid #4b4434;background:#191a16;color:#ddd1b8;font-size:14px}
.zhp .region-annal .glyph{flex:0 0 18px;width:18px;height:18px;stroke:#d9b97a;fill:none;stroke-width:1.6}
.zhp .region-annal small{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#a29479}

/* places */
.zhp .place-filter{width:100%;margin:14px 0 0;padding:7px 10px;border:1px solid #5d513b;background:#151612;color:#eadfca;font:inherit}
.zhp .folio-places>div{transition:background .2s}
.zhp .folio-places>div.lit{background:#2b261d;box-shadow:inset 3px 0 #d9a455;padding-left:8px}
.zhp .stories small{display:block;color:#a29479;font:400 12px/1.3 var(--zhp-sans,sans-serif);margin-top:3px}
.zhp .stories-note{margin:8px 0 0}

@media(max-width:760px){
  .zhp .atlas-folio{grid-template-columns:1fr}
  .zhp .folio-art img{height:clamp(170px,52vw,260px)}
  .zhp .almanac{grid-template-columns:1fr 1fr}
  .zhp .almanac strong{font-size:15px}
}
@media(max-width:420px){.zhp .almanac{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.zhp .folio-sky *{animation:none!important}}
@media(min-width:761px){.zhp .folio-art{position:sticky;top:84px}}
@media(max-width:420px) and (min-width:361px){.zhp .almanac{grid-template-columns:1fr 1fr}}

/* Pałac Władcy */
.zhp .palace-strip{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:12px 0 0;padding:10px 12px;border:1px solid #7a5d3a;background:linear-gradient(100deg,#3a2219,#221b16 60%);box-shadow:inset 0 0 0 1px #0006}
.zhp .palace-strip .palace-arms{width:30px;height:34px;flex:0 0 30px}
.zhp .palace-who{display:flex;flex-direction:column;min-width:0;flex:1 1 180px}
.zhp .palace-who small,.zhp .palace-approval small{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#c7a77a}
.zhp .palace-who em{font-style:normal;font-size:12px;color:#bfae90}
.zhp .palace-ruler{display:inline-flex;align-items:center;gap:7px;font:600 20px/1.2 var(--zhp-serif,serif);color:#fbe6bf}
.zhp a.palace-ruler img{width:26px;height:26px;border-radius:50%;object-fit:cover;border:1px solid #d9b97a}
.zhp .palace-approval{display:flex;flex-direction:column;gap:3px;flex:0 1 190px}
.zhp .palace-approval b{display:block;height:6px;background:#3b3128;position:relative;overflow:hidden}
.zhp .palace-approval b i{position:absolute;inset:0 auto 0 0;width:var(--ap);background:linear-gradient(90deg,#b8442f,#d6a443 50%,#7fb35c)}
.zhp .palace-approval span{font-size:12px;color:#d8c8a8}
.zhp .palace-strip .text-link{margin-left:auto;font-size:13px}

/* przycisk dźwięku na mapie */
.zhp .stage-sound{position:absolute;z-index:5;top:8px;left:8px;display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border:1px solid #8a7550;background:#14150fd9;color:#ecdcb9;font:600 12px/1.2 var(--zhp-sans,sans-serif);cursor:pointer}
.zhp .stage-sound .glyph{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8}
.zhp .stage-sound[aria-pressed=true]{background:#713d32e6;border-color:#d9a455;color:#fff1d6}

/* Tablica ogłoszeń */
.zhp .atlas-board{margin-top:18px;padding:16px clamp(12px,2vw,22px) 20px;border:1px solid #5d513b;background:repeating-linear-gradient(90deg,#2b2117 0 38px,#2f2419 38px 76px);box-shadow:inset 0 0 40px #0009}
.zhp .board-title{margin:0 0 14px;text-align:center;font:600 13px/1 var(--zhp-display,var(--zhp-serif,serif));letter-spacing:.2em;text-transform:uppercase;color:#e4c792}
.zhp .board-title span{display:inline-block;padding:6px 16px;border:1px solid #8b6c42;background:#1c1610}
.zhp .board-notes{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.zhp .note{position:relative;padding:18px 14px 12px;background:linear-gradient(160deg,#e9dcbd,#d8c59d);color:#2c2116;box-shadow:0 6px 14px #0008;transform:rotate(-.6deg)}
.zhp .note:nth-child(2n){transform:rotate(.7deg)}
.zhp .note::before{content:"";position:absolute;top:6px;left:50%;width:12px;height:12px;margin-left:-6px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#e0a089,#7a2c22);box-shadow:0 2px 3px #0007}
.zhp .note h3{display:flex;align-items:center;gap:7px;margin:0 0 8px;font:600 19px/1.15 var(--zhp-serif,serif);color:#3a1f14}
.zhp .note h3 .glyph{width:17px;height:17px;stroke:#7a2c22;fill:none;stroke-width:1.8}
.zhp .note .text-link{color:#7a2c22;font-size:13px;margin-top:8px;display:inline-flex}
.zhp .note-sub{margin:6px 0 2px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#6d5a42}
.zhp .price-list,.zhp .caravan-list,.zhp .discovery-list{list-style:none;margin:0;padding:0}
.zhp .price-list li{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:baseline;padding:3px 0;border-bottom:1px dotted #8f7a5a}
.zhp .price-list span{font:600 15px/1.2 var(--zhp-serif,serif)}
.zhp .price-list b{font-size:13px}.zhp .price-list .up{color:#8a2a1c}.zhp .price-list .down{color:#2f6a2a}
.zhp .price-list small{font-size:12px;color:#5d4c38}
.zhp .caravan-list li{padding:6px 0;border-bottom:1px dotted #8f7a5a}
.zhp .caravan-list strong{display:block;font:600 15px/1.2 var(--zhp-serif,serif)}
.zhp .caravan-list .route{font-size:13px;color:#4a3a29}
.zhp .caravan-list small{display:block;font-size:12px;color:#5d4c38}
.zhp .road{display:block;position:relative;height:10px;margin:5px 0 3px;background:repeating-linear-gradient(90deg,#9c8763 0 6px,transparent 6px 10px) center/100% 2px no-repeat}
.zhp .road::before,.zhp .road::after{content:"";position:absolute;top:1px;width:8px;height:8px;border-radius:50%;background:#5d4632}
.zhp .road::before{left:0}.zhp .road::after{right:0}
.zhp .wagon{position:absolute;top:-4px;width:18px;height:14px;margin-left:-9px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath d='M2 3q7-5 14 0v6H2z' fill='%23e9dcbd' stroke='%233a1f14'/%3E%3Ccircle cx='5' cy='11' r='2.2' fill='%233a1f14'/%3E%3Ccircle cx='13' cy='11' r='2.2' fill='%233a1f14'/%3E%3C/svg%3E")}
.zhp .atlas-moving .wagon{animation:wagon-bob 1.1s ease-in-out infinite alternate}
@keyframes wagon-bob{to{transform:translateY(-1.5px) rotate(-2deg)}}
.zhp .posters{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px}
.zhp .poster{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 6px;border:1px solid #8f6f45;background:#f1e5c8;text-align:center}
.zhp .poster-head{margin:0;font:600 11px/1 var(--zhp-display,var(--zhp-serif,serif));letter-spacing:.14em;text-transform:uppercase;color:#7a2c22}
.zhp .poster img{width:56px;height:56px;object-fit:cover;filter:sepia(.7) contrast(1.1);border:1px solid #6d5a42}
.zhp .poster .poster-name{font:600 15px/1.15 var(--zhp-serif,serif);color:#2c2116}
.zhp .poster a.poster-name img,.zhp .poster a.poster-name{display:block}
.zhp .poster a.poster-name img{display:none}
.zhp .poster small{font-size:11px;color:#5d4c38}
.zhp .poster b{font-size:12px;color:#7a2c22}
.zhp .discovery-list li{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:5px 0;border-bottom:1px dotted #8f7a5a;font-size:13px}
.zhp .discovery-list time{font-size:11px;color:#6d5a42}
.zhp .board-person{display:inline-flex;align-items:center;gap:5px;font-weight:600;color:#3a1f14}
.zhp .board-person img{width:22px;height:22px;border-radius:50%;object-fit:cover;border:1px solid #6d5a42}

/* ── Wieści z traktu: obwieszczenie herolda (v2) ── */
.zhp .rumours{position:relative;margin-top:14px;padding:22px 22px 16px;border:0;border-radius:2px;
  background:radial-gradient(ellipse at 50% 40%,#f0e2bf 0%,#e4cf9f 62%,#c9ad74 100%);
  color:#2b1d12;box-shadow:0 8px 18px #000a,inset 0 0 0 1px #8a6a3d,inset 0 0 26px #8a6a3d66}
.zhp .rumours::before,.zhp .rumours::after{content:"";position:absolute;left:-6px;right:-6px;height:12px;border-radius:6px;
  background:linear-gradient(#a98653,#e6d2a4 45%,#8f6c3e);box-shadow:0 2px 4px #0008}
.zhp .rumours::before{top:-6px}.zhp .rumours::after{bottom:-6px}
.zhp .rumours>small{justify-content:center;gap:10px;margin:0 0 10px;color:#7a2c22;font:600 12px/1 var(--zhp-display,var(--zhp-serif,serif));letter-spacing:.22em}
.zhp .rumours>small::before,.zhp .rumours>small::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#7a2c2299 30%,#7a2c2299 70%,transparent)}
.zhp .rumours>small .glyph{display:none}
.zhp .rumours ul{position:relative}
.zhp .rumours li{font:600 17px/1.45 var(--zhp-serif,serif);color:#2b1d12;text-align:center;padding:4px 18px}
.zhp .rumours li+li{border-top:1px solid #8a6a3d55}
.zhp .rumours li::first-letter{font-size:1.45em;color:#7a2c22;line-height:1}
.zhp .rumours .seal{position:absolute;right:-10px;bottom:-14px;z-index:2;width:44px;height:44px;border-radius:50%;
  background:radial-gradient(circle at 38% 34%,#d2523f,#8e241a 62%,#5e130d);box-shadow:0 3px 6px #000a,inset 0 0 0 3px #a8382a;
  display:grid;place-items:center;transform:rotate(-12deg)}
.zhp .rumours .seal .glyph{width:22px;height:22px;stroke:#f2c6a8;fill:none;stroke-width:1.6}
.zhp .rumours .rumour-dots{display:none;justify-content:center;gap:6px;margin-top:8px}
.zhp .rumours.rotating .rumour-dots{display:flex}
.zhp .rumours .rumour-dots i{width:6px;height:6px;border-radius:50%;background:#8a6a3d66}
.zhp .rumours .rumour-dots i.on{background:#7a2c22}
.zhp .rumours.rotating ul{min-height:3.2em;display:grid;align-items:center}

/* wpis kroniki pod obwieszczeniem */
.zhp .region-annal{margin-top:18px;border:0;border-left:3px solid #c79a55;background:linear-gradient(90deg,#2a2219,#1c1b17 70%);padding:9px 12px;box-shadow:inset 0 0 0 1px #4b4434}
.zhp .region-annal small{color:#c7a77a}
.zhp .region-annal [data-a=annal]{font:600 16px/1.3 var(--zhp-serif,serif);color:#f0e1c2}

/* panel testu dźwięków (?dzwieki=test) */
.zhp .sound-test{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;padding:8px;border:1px dashed #8a7550;background:#14150f}
.zhp .sound-test strong{width:100%;font-size:12px;color:#d9b97a}
.zhp .sound-test button{padding:4px 8px;border:1px solid #695d47;background:#1d1e19;color:#ead9b6;font-size:12px;cursor:pointer}
.zhp .sound-test button[aria-pressed=true]{background:#713d32;color:#fff1d6}
.zhp .sound-test em{width:100%;font-style:normal;font-size:12px;color:#b9ad95}

/* ── Mapa świata + zegar ── */
.zhp .has-worldmap .folio-tabs{display:none}
.zhp .world-map{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:0;margin-bottom:16px;border:1px solid #5d513b;background:#191b18;box-shadow:0 7px 20px #0004}
.zhp .map-canvas{position:relative;min-height:clamp(260px,34vw,420px);overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#3a3326,#1e1b15 75%)}
.zhp .map-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.92}
.zhp svg.map-art .land-shape{fill:#c8b285;stroke:#6d5530;stroke-width:.5}
.zhp svg.map-art .river{fill:none;stroke:#4f7f99;stroke-width:.9;stroke-linecap:round;opacity:.85}
.zhp svg.map-art .river.thin{stroke-width:.5}
.zhp svg.map-art .map-label{font:600 3.2px var(--zhp-display,serif);fill:#6d5530;letter-spacing:.6px;opacity:.6}
.zhp .map-canvas::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 60px #0009;background:radial-gradient(ellipse at center,transparent 55%,#0006)}
.zhp .map-lands{position:absolute;inset:0;z-index:2}
.zhp .map-routes{position:absolute;inset:0;width:100%;height:100%}
.zhp .map-routes line{stroke:#7a2c22;stroke-width:.45;stroke-dasharray:1.2 1;vector-effect:non-scaling-stroke;stroke-width:2;opacity:.75}
.zhp .map-wagon{position:absolute;z-index:3;width:22px;height:17px;margin:-12px 0 0 -11px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath d='M2 3q7-5 14 0v6H2z' fill='%23f1e5c8' stroke='%233a1f14'/%3E%3Ccircle cx='5' cy='11' r='2.2' fill='%233a1f14'/%3E%3Ccircle cx='13' cy='11' r='2.2' fill='%233a1f14'/%3E%3C/svg%3E");filter:drop-shadow(0 2px 2px #000a)}
.zhp .atlas-moving .map-wagon{animation:wagon-bob 1.1s ease-in-out infinite alternate}
.zhp .land{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:2px;padding:0;border:0;background:none;cursor:pointer;color:#f6e8c8}
.zhp .land-dot{width:18px;height:18px;border-radius:50%;border:2px solid #f6dfa8;background:#7aa35c;box-shadow:0 0 0 3px #0007,0 3px 8px #000a;transition:transform .2s}
.zhp .land[data-mood="2"] .land-dot{background:#c9a443}
.zhp .land[data-mood="3"] .land-dot{background:#d1773b}
.zhp .land[data-mood="4"] .land-dot{background:#c2412f}
.zhp .land[data-mood="0"] .land-dot{background:#8a8a7a}
.zhp .land-name{padding:1px 7px;background:#14150fd9;border:1px solid #7d6b4c;font:600 14px/1.3 var(--zhp-serif,serif);white-space:nowrap;text-shadow:0 1px 2px #000}
.zhp .land-online{position:absolute;top:-8px;left:calc(50% + 6px);min-width:16px;padding:0 4px;border-radius:8px;background:#2f4a2c;color:#d9f0c8;font:600 10px/16px var(--zhp-sans,sans-serif)}
.zhp .land-event{padding:1px 6px;background:#7a2c22;color:#ffe9d0;font:600 10px/1.4 var(--zhp-sans,sans-serif);font-style:normal;letter-spacing:.04em;text-transform:uppercase}
.zhp .land:hover .land-dot,.zhp .land:focus-visible .land-dot{transform:scale(1.25)}
.zhp .land[aria-current=true] .land-dot{transform:scale(1.3);box-shadow:0 0 0 3px #0007,0 0 0 7px #f6dfa855,0 3px 8px #000a}
.zhp .land[aria-current=true] .land-name{background:#713d32;border-color:#d9a455}
.zhp .atlas-moving .land[data-event] .land-dot::after{content:"";position:absolute;inset:-9px;border-radius:50%;border:2px solid #e2583f;animation:pin-ring 1.8s ease-out infinite}
.zhp .land-dot{position:relative}
.zhp .land[data-event=gold] .land-event,.zhp .land[data-event=harvest] .land-event{background:#8a6a1f}
.zhp .land[data-event=plague] .land-event{background:#4d6b2a}
.zhp .land[data-event=flood] .land-event{background:#2f5a78}
.zhp .land[data-event=pilgrim] .land-event{background:#6d5d8a}
.zhp .map-cartouche{position:absolute;z-index:2;left:12px;bottom:10px;padding:4px 12px;border:1px solid #8b6c42;background:#1c1610e6;color:#e4c792;font:600 11px/1 var(--zhp-display,serif);letter-spacing:.16em;text-transform:uppercase}
.zhp .world-clock{padding:16px 14px;border-left:1px solid #5d513b;background:linear-gradient(180deg,#221d16,#181814)}
.zhp .world-clock h3{display:flex;align-items:center;gap:7px;margin:0 0 10px;font:600 18px/1.2 var(--zhp-serif,serif);color:#f0e1c2}
.zhp .world-clock h3 .glyph,.zhp .world-clock li .glyph{width:17px;height:17px;stroke:#d9b97a;fill:none;stroke-width:1.6;flex:0 0 17px}
.zhp .world-clock ul{list-style:none;margin:0;padding:0}
.zhp .world-clock li{display:flex;gap:9px;padding:8px 0;border-top:1px solid #3c3628}
.zhp .world-clock li span{display:flex;flex-direction:column;min-width:0}
.zhp .world-clock small{font-size:12px;color:#c9bca2}
.zhp .clock-chip{font:600 14px/1.3 var(--zhp-sans,sans-serif);color:#f3dfb4;font-variant-numeric:tabular-nums}
.zhp .clock-chip.soon{color:#ff9d7a}
.zhp .clock-cta{margin-top:12px;width:100%;justify-content:center}

/* ── Wydarzenie na obrazie ziemi ── */
.zhp .folio-stage[data-event=fire] .sky-glow{background:radial-gradient(ellipse at 50% 100%,#ff5a2a55,transparent 60%)}
.zhp .folio-stage[data-event=plague] .sky-glow{background:radial-gradient(ellipse at 50% 70%,#9acb5a33,transparent 70%)}
.zhp .folio-stage[data-event=flood] .sky-glow{background:linear-gradient(transparent 55%,#3e7aa055)}
.zhp .folio-stage[data-event=gold] .sky-glow,.zhp .folio-stage[data-event=harvest] .sky-glow{background:radial-gradient(ellipse at 50% 60%,#ffd27a33,transparent 65%)}
.zhp .atlas-moving .folio-stage[data-event=fire] .sky-glow{animation:event-fire 2.2s ease-in-out infinite alternate}
@keyframes event-fire{from{opacity:.55}to{opacity:1}}

/* ── Herold w obwieszczeniu ── */
.zhp .herald{display:flex;align-items:flex-start;gap:12px;margin:0 0 12px;padding:0 0 12px;border-bottom:1px solid #8a6a3d66}
.zhp .herald small{display:block;font:600 11px/1 var(--zhp-display,serif);letter-spacing:.2em;text-transform:uppercase;color:#7a2c22;margin-bottom:4px}
.zhp .herald-text{margin:0;font:600 italic 17px/1.45 var(--zhp-serif,serif);color:#2b1d12}
.zhp .herald-play{flex:0 0 40px;width:40px;height:40px;border-radius:50%;border:2px solid #7a2c22;background:radial-gradient(circle at 35% 30%,#d2523f,#8e241a);color:#fff1e0;cursor:pointer;display:grid;place-items:center;box-shadow:0 2px 5px #0006}
.zhp .herald-play .glyph{width:16px;height:16px;margin-left:2px}
.zhp .herald.speaking .herald-play{animation:herald-pulse 1s ease-in-out infinite alternate}
.zhp .herald.speaking .herald-text{color:#5a1810}
@keyframes herald-pulse{to{box-shadow:0 0 0 6px #d2523f44,0 2px 5px #0006}}

/* ── Notatki: wydarzenia, ranking, teaser ── */
.zhp .note-event{background:linear-gradient(160deg,#f0d9c4,#dcb79a)}
.zhp .urgent-seal{position:absolute;top:-8px;right:10px;padding:4px 10px;background:#8e241a;color:#ffe9d0;font:600 11px/1 var(--zhp-display,serif);letter-spacing:.14em;text-transform:uppercase;transform:rotate(4deg);box-shadow:0 3px 6px #0007}
.zhp .event-line{padding:6px 0 8px;border-bottom:1px dotted #8f7a5a}
.zhp .event-line strong{font:600 16px/1.2 var(--zhp-serif,serif);color:#5a1810}
.zhp .event-line p{margin:3px 0;font-size:13px}
.zhp .event-line small{display:block;font-size:12px;color:#5d4c38}
.zhp .note .clock-chip{display:inline-block;margin-top:4px;font-size:12px;color:#7a2c22}
.zhp .land-ranking{list-style:none;margin:0;padding:0}
.zhp .land-ranking li{display:grid;grid-template-columns:1fr auto;gap:0 8px;padding:5px 0;border-bottom:1px dotted #8f7a5a}
.zhp .land-ranking small{grid-column:1/-1;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#6d5a42}
.zhp .land-ranking strong{font:600 16px/1.2 var(--zhp-serif,serif)}
.zhp .land-ranking span{font-size:12px;color:#5d4c38;align-self:center}
.zhp .land-ranking em{grid-column:1/-1;font-size:12px;color:#7a2c22}
.zhp .note-teaser{background:linear-gradient(160deg,#3a2219,#5a2f22);color:#f6e7c9}
.zhp .note-teaser h3{color:#ffe1b0}.zhp .note-teaser h3 .glyph{stroke:#ffcf8a}
.zhp .teaser-facts{margin:0 0 12px;padding-left:18px;font-size:14px;line-height:1.5}
.zhp .teaser-facts b{color:#ffd58f}
.zhp .note-teaser .text-link{color:#ffcf8a;margin-left:10px}

/* ── Kronika dnia ── */
.zhp .day-summary{margin:0 0 16px;padding:12px 16px;border-left:4px solid #b4573c;background:linear-gradient(90deg,#2d2119,#1d1c17 70%);color:#efe1c4;font:600 17px/1.5 var(--zhp-serif,serif)}
.zhp .day-summary span{display:flex;align-items:center;gap:6px;margin-bottom:2px;font:600 11px/1 var(--zhp-sans,sans-serif);letter-spacing:.14em;text-transform:uppercase;color:#d9a77a}
.zhp .day-summary .glyph{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.8}

@media(max-width:900px){.zhp .world-map{grid-template-columns:1fr}.zhp .world-clock{border-left:0;border-top:1px solid #5d513b}.zhp .world-clock ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0 14px}}
@media(max-width:560px){.zhp .land-name{font-size:12px;padding:0 5px}.zhp .land-event{display:none}.zhp .map-canvas{min-height:300px}}
.zhp .monk-play{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:3px 10px;border:1px solid #6d5a42;border-radius:14px;background:#efe2c2;color:#4a3420;font:600 12px/1.4 var(--zhp-sans,sans-serif);cursor:pointer}
.zhp .monk-play .glyph{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:1.8}
.zhp .monk-play:hover{background:#e6d4ab}
.zhp .herald.monk-speaking .monk-play{background:#4a3420;color:#f6e7c9;animation:herald-pulse 1s ease-in-out infinite alternate}
