/* Zlatník – Obidová · styly webu */

/* ------------------------------------------------------------------ písmo nadpisů (Plus Jakarta Sans, SIL OFL – viz fonts/OFL.txt) */
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------ tokeny */
:root {
    --forest-950: #0d1813;
    --forest-900: #13241b;
    --forest-800: #1a3024;
    --forest-700: #1f3a2d;
    --forest-500: #2f5d45;
    --moss-100: #e8eee6;
    --moss-50: #f1f5ef;
    --paper: #f7f5f0;
    --card: #ffffff;
    --ink: #1b2620;
    --muted: #5d6b63;
    --line: #dbe2da;
    --amber: #c8701f;
    --amber-600: #a85b14;
    --live: #e0412f;
    --cold: #2f6f9f;
    --warm: #c8701f;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(19, 36, 27, .06), 0 8px 24px rgba(19, 36, 27, .08);
    --header-h: 64px;

    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ------------------------------------------------------------------ základ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--forest-500); text-underline-offset: .18em; }
a:hover { color: var(--forest-700); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--forest-900); }
h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; }
h1 { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.7rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem); font-weight: 750; letter-spacing: -.018em; word-spacing: .04em; }
h3 { font-size: 1.15rem; font-weight: 750; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .92em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
/* všechno klikací má ruku */
a, button, summary, label[for], select, input[type="date"], input[type="range"], [data-copy], [data-cam-index], .leaflet-interactive { cursor: pointer; }
button:disabled, [aria-disabled="true"] { cursor: default; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 780px; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--forest-800); }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); padding: 8px 14px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }

.icon {
    width: 1.25em; height: 1.25em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
    vertical-align: -.25em;
}
.icon--inline { width: 1em; height: 1em; vertical-align: -.12em; }
[data-play] .icon { fill: currentColor; stroke: none; }

/* ------------------------------------------------------------------ tlačítka */
.btn {
    display: inline-flex; align-items: center; gap: .45em;
    padding: .7em 1.15em; border-radius: 999px; border: 2px solid var(--forest-700);
    background: var(--forest-700); color: #fff; font-weight: 650; text-decoration: none; line-height: 1.2;
    cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--forest-500); border-color: var(--forest-500); color: #fff; }
.btn--ghost { background: transparent; color: var(--forest-700); }
.btn--ghost:hover { background: var(--forest-700); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--forest-900); }
.btn--light:hover { background: var(--amber); border-color: var(--amber); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.icon-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
    border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--forest-700);
    cursor: pointer; padding: 0; transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--forest-700); color: #fff; border-color: var(--forest-700); }
.icon-btn--small { width: 30px; height: 30px; }
.icon-btn--small .icon { width: 16px; height: 16px; }
.icon-btn--solid { background: var(--amber); border-color: var(--amber); color: #fff; }
.icon-btn--solid:hover { background: var(--amber-600); border-color: var(--amber-600); }
.icon-btn--glass { background: rgba(13, 24, 19, .55); border-color: rgba(255, 255, 255, .25); color: #fff; backdrop-filter: blur(6px); }
.icon-btn--glass:hover { background: rgba(13, 24, 19, .8); }

/* ------------------------------------------------------------------ hlavička */
.site-header {
    position: relative; z-index: 50;
    background: rgba(247, 245, 240, .92); backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--forest-900); text-decoration: none; padding: 10px 0; }
.brand__logo { width: 38px; height: 28px; flex: none; }
.brand:hover { color: var(--forest-900); }
.brand__icon { width: 30px; height: 30px; color: var(--amber); stroke-width: 2; }
.brand__dash { color: var(--amber); }

.site-nav { max-width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0 0 10px; white-space: nowrap; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--forest-800); font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-nav a.is-active { background: var(--moss-100); color: var(--forest-900); }

@media (min-width: 860px) {
    .site-header { position: sticky; top: 0; }
    .site-nav { margin: 0; padding: 0; }
    .site-nav ul { padding: 0; }
}

/* ------------------------------------------------------------------ hero – živá kamera */
.hero { background: var(--forest-950); color: #e6ece7; }
.hero__frame {
    position: relative; margin: 0 auto;
    max-width: min(1600px, calc((100vh - var(--header-h) - 64px) * 16 / 9));
}
.hero__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--forest-900); transition: opacity .3s; }
.hero__img.is-updating { opacity: .85; }
.hero__overlay { position: absolute; inset: 12px 12px auto 12px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.hero__overlay > * { pointer-events: auto; }
.live-badge {
    display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px; border-radius: 999px;
    background: rgba(13, 24, 19, .6); backdrop-filter: blur(6px); color: #fff;
    font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
}
.live-badge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(224, 65, 47, .7); animation: pulse 2s infinite; }
.live-badge.is-stale .live-badge__dot { background: #b8b8b8; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(224, 65, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 65, 47, 0); } }
@media (prefers-reduced-motion: reduce) { .live-badge__dot { animation: none; } }

.hero__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 20px; padding-top: 12px; padding-bottom: 14px; font-size: .95rem; }
.hero__bar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.hero__bar .muted { color: #9fb0a6; }
.hero__links { gap: 18px !important; }
.hero__links a { color: #fff; font-weight: 600; }
.hero__links a:hover { color: var(--amber); }

/* ------------------------------------------------------------------ úvod */
.intro { padding-top: 52px; padding-bottom: 28px; display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .intro { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-top: 64px; } }
.intro h1 { margin-bottom: .35em; }
.now { padding: 22px 24px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(19, 36, 27, .05), 0 18px 40px -18px rgba(19, 36, 27, .25); }
.now .card__eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.now__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(224, 65, 47, .15); }
.now__list { margin: 0; }
.now__list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.now__list > div:last-child { border-bottom: 0; }
.now__list dt { color: var(--muted); font-size: .9rem; }
.now__list dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; color: var(--forest-900); }
.now__list dd .muted { font-weight: 500; }
.now__more { display: inline-block; margin-top: 12px; font-weight: 650; text-decoration: none; }
.now__more:hover { text-decoration: underline; }
.intro .lead { max-width: 46rem; }
.intro p:not(.lead) { max-width: 46rem; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; color: var(--forest-800); }
.facts .icon { color: var(--amber); }

/* ------------------------------------------------------------------ sekce */
.section { padding: 56px 0; }
.section--tint { background: var(--moss-100) url("../images/topo-dark.svg") center / cover no-repeat; }
.section__head { max-width: 48rem; margin-bottom: 30px; }
.kicker, .eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px;
    font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-600);
}
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.section__head .kicker { margin-bottom: 12px; color: var(--amber-600); }
.section__head p { color: var(--muted); margin: 0; }
.source { margin: 16px 0 0; font-size: .85rem; color: var(--muted); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
@media (min-width: 860px) { .section { padding: 80px 0; } }

/* ------------------------------------------------------------------ prohlížeč archivu */
.viewer {
    --v-bg: var(--forest-950);
    --v-panel: #16271e;
    --v-text: #e6ece7;
    --v-muted: #93a69b;
    background: var(--v-bg); color: var(--v-text);
    border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
    display: flex; flex-direction: column;
}
.viewer:focus { outline: none; }
.viewer:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.viewer .muted { color: var(--v-muted); }

.viewer__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; }
.viewer__day { display: flex; align-items: center; gap: 8px; }
.viewer__date {
    height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18);
    background: var(--v-panel); color: var(--v-text); font: inherit; font-weight: 600; color-scheme: dark;
}
.viewer .icon-btn { background: var(--v-panel); border-color: rgba(255, 255, 255, .14); color: var(--v-text); }
.viewer .icon-btn:hover { background: #24402f; }
.viewer .icon-btn--solid { background: var(--amber); border-color: var(--amber); color: #fff; }
.viewer .icon-btn--solid:hover { background: var(--amber-600); }
.viewer .icon-btn:disabled { opacity: .35; cursor: default; }

.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--v-panel); border: 1px solid rgba(255, 255, 255, .12); }
.seg__btn { border: 0; background: transparent; color: var(--v-muted); padding: 7px 14px; border-radius: 999px; font-weight: 650; cursor: pointer; }
.seg__btn.is-active { background: #fff; color: var(--forest-900); }

.viewer__stage { position: relative; background: #000; aspect-ratio: 16 / 9; overflow: hidden; touch-action: pan-y; user-select: none; }
.viewer__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.viewer__label {
    position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px;
    background: rgba(13, 24, 19, .65); backdrop-filter: blur(6px); color: #fff; font-weight: 700; font-variant-numeric: tabular-nums;
}
.viewer__label:empty { display: none; }
.viewer__expand { position: absolute; right: 12px; top: 12px; }
.viewer__nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 999px;
    border: 0; background: rgba(13, 24, 19, .5); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s;
}
.viewer__nav--prev { left: 10px; }
.viewer__nav--next { right: 10px; }
.viewer__stage:hover .viewer__nav, .viewer__nav:focus-visible { opacity: 1; }
.viewer__nav:hover { background: rgba(13, 24, 19, .85); }
@media (hover: none) { .viewer__nav { opacity: .85; width: 40px; height: 40px; } }
.viewer__empty { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; padding: 24px; background: var(--forest-900); color: var(--v-text); }
.viewer__empty[hidden] { display: none; }
.viewer.is-loading .viewer__stage::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent); animation: loading 1s linear infinite;
}
@keyframes loading { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.viewer__controls { display: flex; align-items: center; gap: 12px; padding: 12px; }
.viewer__range { flex: 1; min-width: 0; accent-color: var(--amber); height: 28px; }
.viewer__pos { min-width: 5.5em; text-align: right; font-variant-numeric: tabular-nums; font-size: .9rem; }
.when-playing { display: none; }
.viewer.is-playing .when-playing { display: contents; }
.viewer.is-playing .when-paused { display: none; }
.when-paused { display: contents; }

.viewer__strip { position: relative; display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 12px; scrollbar-width: thin; scrollbar-color: #35503f transparent; }
.thumb {
    position: relative; flex: none; width: 112px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden;
    border: 2px solid transparent; padding: 0; background: var(--v-panel); cursor: pointer; opacity: .72; transition: opacity .15s, border-color .15s;
}
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb span { position: absolute; left: 4px; bottom: 3px; font-size: .72rem; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); font-variant-numeric: tabular-nums; }
.thumb:hover { opacity: 1; }
.thumb.is-active { opacity: 1; border-color: var(--amber); }

/* režim celé obrazovky */
.viewer.is-expanded { position: fixed; inset: 0; z-index: 1000; border-radius: 0; }
.viewer.is-expanded .viewer__stage { flex: 1; aspect-ratio: auto; min-height: 0; }
body.has-overlay { overflow: hidden; }

/* ------------------------------------------------------------------ počasí */
.weather { display: grid; gap: 18px; }
.weather .card { display: flex; flex-direction: column; }
@media (min-width: 900px) { .weather { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); } }
.card__eyebrow { margin: 0 0 4px; font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__title { margin: 0 0 14px; font-size: 1.2rem; }
.big-temp { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.big-temp__value { font-size: clamp(3rem, 2.4rem + 2vw, 4.2rem); font-weight: 850; letter-spacing: -.04em; line-height: 1; color: var(--forest-900); font-variant-numeric: tabular-nums; }
.big-temp__note { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.stat { background: var(--moss-50); border-radius: var(--radius-sm); padding: 10px 12px; }
.stat dt { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat dd { margin: 2px 0 0; font-weight: 750; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.stat dd .muted { font-weight: 500; font-size: .82em; white-space: nowrap; }
.wind-arrow { display: inline-block; width: 1em; height: 1em; vertical-align: -.1em; color: var(--forest-500); }
.spark { display: block; width: 100%; height: 70px; }
.spark__line { fill: none; stroke: var(--forest-500); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark__area { fill: rgba(47, 93, 69, .1); }
.spark__zero { stroke: var(--cold); stroke-dasharray: 3 4; stroke-width: 1; }
.spark-legend { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.card__time { margin: auto 0 0; padding-top: 14px; font-size: .85rem; color: var(--muted); }
.stale { color: var(--amber-600); font-weight: 600; }

.now-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.now-row__temp { font-size: 2rem; font-weight: 850; letter-spacing: -.03em; color: var(--forest-900); font-variant-numeric: tabular-nums; }
.now-row .wx-icon { width: 44px; height: 44px; }
.days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0; }
/* 6 dní vedle sebe jen na středních šířkách; vedle karty měření (≥ 900 px) mřížka 3 × 2 */
@media (min-width: 600px) and (max-width: 899px) { .days { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 900px) { .days { gap: 10px; } .day { padding: 14px 8px; } .day .wx-icon { width: 46px; height: 46px; } }
.day { text-align: center; padding: 12px 6px; border-radius: var(--radius-sm); background: var(--moss-50); }
.day__name { font-weight: 750; font-size: .9rem; }
.day__date { font-size: .75rem; color: var(--muted); }
.day .wx-icon { width: 40px; height: 40px; margin: 6px auto; display: block; }
.day__temps { font-weight: 750; font-variant-numeric: tabular-nums; }
.day__temps .t-min { color: var(--cold); font-weight: 600; }
.day__rain { font-size: .78rem; color: var(--cold); min-height: 1.2em; }
.day__prob { font-size: .72rem; color: var(--muted); }
.wx-icon { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wx-icon .sun { stroke: #e0a21b; fill: #f6c445; }
.wx-icon .cloud { stroke: #7f8f88; fill: #e9eeeb; }
.wx-icon .cloud-dark { stroke: #5b6a63; fill: #c9d2cd; }
.wx-icon .rain { stroke: var(--cold); }
.wx-icon .snow { stroke: #6fa4c9; }
.wx-icon .bolt { stroke: #d48a00; fill: #f6c445; }
.wx-icon .fog { stroke: #8c9a93; }
.wx-icon .moon { stroke: #8a8fb3; fill: #dfe1f2; }

.skeleton { height: 220px; border-radius: var(--radius-sm); background: linear-gradient(90deg, var(--moss-50), #fff, var(--moss-50)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ------------------------------------------------------------------ meteogram */
.meteogram { grid-column: 1 / -1; }
.meteogram__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 20px; }
.meteogram__head .card__title { margin-bottom: 8px; }
.seg--light { background: var(--moss-50); border-color: var(--line); }
.seg--light .seg__btn { color: var(--muted); }
.seg--light .seg__btn.is-active { background: var(--forest-700); color: #fff; }
.meteogram__chart { position: relative; height: 300px; margin: 6px -6px 0; touch-action: pan-y; }
.meteogram__chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.meteogram__chart .skeleton { height: 100%; }
.mg-axis { font: 600 11px/1 var(--font); fill: var(--muted); }
.mg-day { font: 750 12px/1 var(--font); fill: var(--forest-800); }
.mg-sep { stroke: var(--line); stroke-width: 1; }
.mg-night { fill: rgba(31, 58, 45, .055); }
.mg-zero { stroke: var(--cold); stroke-width: 1; stroke-dasharray: 3 4; opacity: .7; }
.mg-temp { fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.mg-rain { fill: var(--cold); }
.mg-snow { fill: #9cc3e2; stroke: #5f93bd; stroke-width: .8; }
.mg-gust { fill: rgba(47, 93, 69, .14); }
.mg-wind { fill: none; stroke: var(--forest-500); stroke-width: 1.6; stroke-linejoin: round; }
.mg-cursor { stroke: var(--forest-900); stroke-width: 1; stroke-dasharray: 2 3; }
.mg-dot { fill: #fff; stroke: var(--amber); stroke-width: 2; }
.mg-tip {
    position: absolute; top: 18px; z-index: 2; min-width: 168px; padding: 9px 11px; border-radius: 10px; pointer-events: none;
    background: rgba(13, 24, 19, .92); color: #e6ece7; font-size: .8rem; line-height: 1.45; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.mg-tip strong { display: block; color: #fff; font-size: .85rem; margin-bottom: 2px; }
.mg-tip[hidden] { display: none; }
.meteogram__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; margin-top: 10px; font-size: .85rem; color: var(--muted); }
.meteogram__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; }
.meteogram__legend li { display: inline-flex; align-items: center; gap: 6px; }
.lg { display: inline-block; width: 14px; height: 10px; border-radius: 3px; }
.lg--t { height: 3px; background: var(--amber); }
.lg--rain { background: var(--cold); }
.lg--snow { background: #9cc3e2; box-shadow: inset 0 0 0 1px #5f93bd; }
.lg--wind { background: rgba(47, 93, 69, .25); box-shadow: inset 0 -2px 0 var(--forest-500); }
.meteogram__links { margin: 0; }

/* ------------------------------------------------------------------ kamery ČHMÚ */
.cams { display: grid; gap: 18px; }
@media (min-width: 700px) { .cams { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cam { margin: 0; }
.cam__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--forest-900); border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow); }
.cam__btn img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.cam__btn:hover img { transform: scale(1.03); }
.cam figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 10px 4px 0; }

/* ------------------------------------------------------------------ poděkování OUUT */
.section--ouut { background: var(--forest-900); color: #dfe7e1; }
.section--ouut h2 { color: #fff; }
.thanks { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .thanks { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; } }
.thanks__media img, .thanks__placeholder { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.thanks__photo { display: block; border-radius: 18px; overflow: hidden; }
.thanks__photo picture { display: block; }
.thanks__photo img { transition: transform .5s; }
.thanks__photo:hover img { transform: scale(1.02); }
.thanks__placeholder {
    display: grid; place-content: center; gap: 8px; text-align: center; color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(200, 112, 31, .55), transparent 55%),
        radial-gradient(circle at 80% 90%, rgba(47, 93, 69, .9), transparent 60%),
        linear-gradient(160deg, #22402f, #0d1813);
    border: 1px dashed rgba(255, 255, 255, .25);
}
.thanks__placeholder span { font-size: clamp(2.4rem, 2rem + 3vw, 4.4rem); font-weight: 900; letter-spacing: .02em; }
.thanks__placeholder small { color: rgba(255, 255, 255, .6); }
.section--ouut .eyebrow { color: var(--amber); }
.thanks__text p { max-width: 36rem; }
.thanks__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.thanks__cta span { color: #9fb0a6; font-size: .92rem; }

/* ------------------------------------------------------------------ příjezd */
.arrive { display: grid; gap: 18px; }
@media (min-width: 900px) { .arrive { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: stretch; } }
.arrive__info { display: grid; gap: 18px; align-content: start; }
.arrive h3 { display: flex; align-items: center; gap: 10px; }
.arrive h3 .icon { color: var(--amber); }
.kv { margin: 0 0 18px; display: grid; gap: 8px; }
.kv > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 10px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); font-size: .92rem; }
.kv dd { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kv .icon-btn.is-done { background: var(--forest-700); color: #fff; }
.map { position: relative; min-height: 360px; border-radius: var(--radius); overflow: hidden; background: var(--moss-50); box-shadow: var(--shadow); z-index: 0; }
@media (min-width: 900px) { .map { min-height: 460px; } }
.map__fallback { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 650; }
.map .leaflet-container { position: absolute; inset: 0; font: inherit; }
.map-pin { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--forest-700); border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
.map-pin span { transform: rotate(45deg); color: #fff; font-weight: 850; font-size: 15px; line-height: 1; }
.map-pin--parking { background: #2d6fb7; }
.map-pin--peak { background: var(--amber); }

/* ------------------------------------------------------------------ lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1100; touch-action: pan-y pinch-zoom; display: grid; grid-template-columns: auto 1fr auto; align-items: center; background: rgba(8, 14, 11, .94); color: #fff; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 10px; padding: 56px 8px 16px; max-height: 100vh; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 6px; }
.lightbox__caption { color: #c9d4cd; text-align: center; font-size: .95rem; }
.lightbox__close { position: absolute; top: 10px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox__nav { width: 48px; height: 48px; margin: 0 8px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 255, 255, .22); }
.lightbox__nav[hidden] { visibility: hidden; display: grid; }
@media (max-width: 600px) { .lightbox__nav { position: absolute; bottom: 14px; } .lightbox__nav--prev { left: 14px; } .lightbox__nav--next { right: 14px; } .lightbox { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ patička */
.site-footer { background: var(--forest-950) url("../images/topo-light.svg") center 30% / cover no-repeat; color: #a9b8af; padding: 44px 0; font-size: .9rem; }
.site-footer a { color: #e6ece7; }
.site-footer a:hover { color: var(--amber); }
.site-footer__inner { display: grid; gap: 18px; }
@media (min-width: 860px) { .site-footer__inner { grid-template-columns: auto 1fr; } .site-footer__credits { text-align: right; } }
.site-footer p { margin: 0 0 6px; }
.site-footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.site-footer__logo { width: 34px; height: 25px; flex: none; }
.site-footer__logo path:nth-of-type(1) { fill: #3b6b51; }
.site-footer__logo path:nth-of-type(3) { fill: #6a9e80; }
.site-footer .icon { color: var(--live); fill: var(--live); stroke: none; }

/* ------------------------------------------------------------------ souhlas s cookies */
.consent {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1050;
    max-width: 760px; margin: 0 auto; padding: 16px 18px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
    background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(13, 24, 19, .25);
}
.consent[hidden] { display: none; }
.consent__text { flex: 1 1 320px; margin: 0; font-size: .92rem; color: var(--muted); }
.consent__text strong { display: block; color: var(--forest-900); font-size: 1rem; margin-bottom: 2px; }
.consent__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.consent__actions .btn { min-width: 8.5rem; justify-content: center; }
@media (max-width: 480px) { .consent__actions { flex: 1 1 100%; } .consent__actions .btn { flex: 1; min-width: 0; } }
.link-btn { padding: 0; border: 0; background: none; color: #e6ece7; font: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.link-btn:hover { color: var(--amber); }

/* ------------------------------------------------------------------ obsahové stránky */
.page__head { background: var(--moss-100); padding: 48px 0 32px; }
.page__title { margin-bottom: .3em; }
.page__content { padding-top: 36px; padding-bottom: 64px; }
.page__content--center { text-align: center; padding-top: 80px; }
.page__content h2 { font-size: 1.6rem; margin-top: 1.6em; }
.page__content h3 { margin-top: 1.4em; }
.page__content img { border-radius: var(--radius-sm); }
.page__content li { margin-bottom: .4em; }
.page__thumb { width: 100%; margin-bottom: 24px; }
.post-list { display: grid; gap: 16px; padding-bottom: 48px; }
.post-card h2 { font-size: 1.35rem; margin: 0 0 4px; }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 56px; }
.breadcrumbs { font-size: .9rem; color: var(--muted); }
.section__title { font-size: 1.4rem; }

.wp-block-image, figure.wp-block-gallery { margin: 28px 0; }
.wp-block-image figcaption { font-size: .9rem; color: var(--muted); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 6px 24px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 24px; }
