:root {
  --ink: #10302e; --ink-2: #3a5451; --muted: #6a7e7b;
  --paper: #fbf8f2; --card: #ffffff; --sand: #f3ebdd; --line: #e7dfd1;
  --teal: #0f4f4c; --teal-2: #17736c; --mint: #def2ec; --aqua: #7fe0d2;
  --accent: #ffbe55; --accent-2: #f5a623;
  --r: 18px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(16,48,46,.06), 0 8px 24px -12px rgba(16,48,46,.18);
  --shadow-lg: 0 2px 4px rgba(16,48,46,.06), 0 18px 40px -16px rgba(16,48,46,.3);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hdr: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--teal-2); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 650; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.ic { width: 18px; height: 18px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: .92em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font: 600 .95rem var(--sans); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 6px 16px -8px rgba(245,166,35,.8); }
.btn-accent:hover { background: #ffc96f; }
.btn-dark { background: var(--teal); color: #fff; }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal-2); }
.btn-block { width: 100%; justify-content: center; }
.link-btn { background: none; border: 0; padding: 0; color: var(--teal-2); font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.link-btn .ic { width: 15px; height: 15px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,242,.88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr { height: var(--hdr); display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 650 1.35rem var(--serif); color: var(--ink); text-decoration: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--teal); color: var(--aqua); display: grid; place-items: center; }
.logo-mark .ic { width: 22px; height: 22px; stroke-width: 2.4; }
.logo-light { color: #fff; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 10px; display: inline-flex; gap: 6px; align-items: center; }
.nav a:hover { background: var(--sand); color: var(--ink); }
.fav-count { background: var(--accent); color: var(--ink); font-size: .72rem; border-radius: 99px; padding: 0 6px; line-height: 18px; }
@media (max-width: 860px) {
  .nav a:not(.nav-fav) { display: none; }
  .nav-fav span { display: none; }
  .hdr-near span { display: none; }
}
.data-bar { background: var(--mint); color: var(--teal); font-size: .82rem; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 6px 16px; border-bottom: 1px solid #c6e6dc; text-align: center; }
.data-bar .ic { width: 15px; height: 15px; flex: none; }

/* historie kvality */
.h-sub { font: 600 .8rem var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 22px 0 10px; }
.season-chart { width: 100%; height: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); }
.ch-grid { stroke: var(--line); stroke-dasharray: 3 3; }
.ch-base { stroke: #d9d1c2; stroke-width: 2; }
.ch-lbl { font: 600 11px var(--sans); fill: var(--muted); }
.ch-lane { font: 500 10.5px var(--sans); fill: var(--ink-2); }
.season-chart circle { cursor: help; }
.yrs { display: grid; gap: 8px; }
.yr { display: grid; grid-template-columns: 44px 1fr 40px; gap: 10px; align-items: center; font-size: .88rem; }
.yr-l { font-weight: 600; }
.yr-bar { display: flex; height: 16px; border-radius: 99px; overflow: hidden; gap: 2px; background: var(--sand); }
.yr-bar em { font-size: .75rem; color: var(--muted); padding-left: 10px; line-height: 16px; font-style: normal; }
.yr-n { color: var(--muted); text-align: right; }
.rel-line { margin-top: 14px; }
.rel-line b { font: 650 1.3rem var(--serif); color: var(--teal); }
.points { list-style: none; padding: 0; margin: 0 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); }
.points li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--sand); font-size: .9rem; }
.points li:first-child { border-top: 0; }
.points i { width: 12px; height: 12px; border-radius: 50%; }
.points em { font-style: normal; color: var(--muted); font-size: .82rem; text-align: right; }
@media (max-width: 560px) { .points li { grid-template-columns: 12px 1fr; } .points em { grid-column: 2; text-align: left; } }
.note { display: flex; gap: 10px; align-items: flex-start; background: #fff4dc; border: 1px solid #f3dfae; color: #6b4a08; border-radius: var(--r-sm); padding: 10px 14px; font-size: .92rem; }
.note .ic { margin-top: 3px; }
.tag-warn { display: inline-block; background: #fff4dc; color: #8a5d00; margin-bottom: 14px; }
.stat-bad b { color: #c62f2f; }

/* hero */
.hero { position: relative; color: #fff; overflow: hidden; padding: 72px 0 120px; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg svg { width: 100%; height: 100%; }
.hw1 { animation: drift 14s ease-in-out infinite alternate; }
.hw2 { animation: drift 10s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translateX(-60px); } }
@media (prefers-reduced-motion: reduce) { .hw1, .hw2 { animation: none; } html { scroll-behavior: auto; } }
.hero-in { position: relative; max-width: 1240px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--teal-2); margin-bottom: 12px; }
.hero .eyebrow { color: var(--aqua); }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero-sub { max-width: 56ch; font-size: 1.12rem; color: #d7efea; }
.hero-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; max-width: 620px; box-shadow: var(--shadow-lg); margin-top: 26px; color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 1.02rem var(--sans); color: var(--ink); background: transparent; padding: 10px 0; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { display: inline-flex; gap: 6px; align-items: center; color: #fff; text-decoration: none; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; transition: background .15s; }
.pill:hover { background: rgba(255,255,255,.22); }
.pill .ic { width: 16px; height: 16px; }

/* water now */
.water-now { position: relative; margin-top: -64px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 22px 26px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px 32px; align-items: center; max-width: 1184px; }
.water-now h2 { font-size: 1.3rem; margin: 0; }
.wn-text p { margin: 0; color: var(--muted); font-size: .9rem; }
.wn-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 2px; }
.wn-legend { grid-column: 1 / -1; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; padding: 0; font-size: .85rem; color: var(--ink-2); }
.wn-legend li { display: inline-flex; align-items: center; gap: 6px; }
.wn-legend i { width: 10px; height: 10px; border-radius: 50%; }
@media (max-width: 760px) { .water-now { grid-template-columns: 1fr; margin-left: 16px; margin-right: 16px; width: auto; padding: 18px; } }
@media (min-width: 761px) { .water-now { width: calc(100% - 56px); } }

/* sections */
.section { padding: 56px 0 8px; }
.sec-head { margin-bottom: 22px; max-width: 70ch; }
.sec-head p { color: var(--muted); }
.section-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .section-split { grid-template-columns: 1fr; } }
.page-head { padding: 12px 16px 8px; }
@media (min-width: 700px) { .page-head { padding: 12px 28px 8px; } }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 70ch; }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 6px; margin: 0; font-size: .85rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-2); text-decoration: underline; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 24px 0 8px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.stat b { display: block; font: 650 1.7rem var(--serif); }
.stat span { font-size: .85rem; color: var(--muted); }
.stat-ok b { color: #1f9d55; }

/* quality badge */
.q-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; background: rgba(255,255,255,.94); color: var(--ink); padding: 4px 10px 4px 8px; border-radius: 99px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.q-badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--qc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--qc) 25%, transparent); }
.q-big { font-size: .95rem; padding: 8px 14px 8px 12px; background: color-mix(in srgb, var(--qc) 12%, #fff); box-shadow: none; border: 1px solid color-mix(in srgb, var(--qc) 35%, transparent); }
.q-big i { width: 12px; height: 12px; }

/* cards */
.card { position: relative; background: var(--card); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover, .card.hl { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: #d6ccb9; }
.card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.card-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mint); }
.card-art .art { width: 100%; height: 100%; transition: transform .5s; }
.card:hover .art { transform: scale(1.04); }
.card-art .q-badge { position: absolute; left: 10px; bottom: 10px; }
.card-body { padding: 14px 16px 16px; }
.card-meta { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; display: flex; gap: 8px; }
.card-dist { margin-left: auto; color: var(--teal-2); }
.card-dist:empty { display: none; }
.card-title { margin: 4px 0 6px; font-size: 1.12rem; }
.card-desc { font-size: .9rem; color: var(--ink-2); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.card-facts li { display: inline-flex; gap: 5px; align-items: center; font-size: .8rem; font-weight: 500; background: var(--sand); padding: 3px 9px; border-radius: 99px; }
.card-facts .ic { width: 14px; height: 14px; }
.fav-btn { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .15s; }
.fav-btn:hover { transform: scale(1.1); }
.fav-btn.on, [data-fav].on { color: #e0465a; }
.fav-btn.on .ic, [data-fav].on .ic { fill: currentColor; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* explorer */
.explorer { padding: 48px 0 8px; }
.ex-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ex-count { color: var(--muted); margin: 0; }
.ex-count b { color: var(--ink); }
.ex-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.ex-search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px; color: var(--muted); }
.ex-search:focus-within { border-color: var(--teal-2); }
.ex-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 .95rem var(--sans); padding: 10px 0; background: transparent; color: var(--ink); }
.ex-toolbar select { font: 500 .9rem var(--sans); color: var(--ink); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2310302e' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 36px 10px 14px; appearance: none; cursor: pointer; }
.ex-toolbar select:disabled { opacity: .55; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 500 .85rem var(--sans); padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); color: var(--ink-2); cursor: pointer; transition: all .15s; }
.chip .ic { width: 15px; height: 15px; }
.chip:hover { border-color: var(--teal-2); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.ex-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
.ex-list { display: grid; gap: 12px; max-height: calc(100vh - var(--hdr) - 40px); overflow-y: auto; padding: 2px 6px 2px 2px; scrollbar-width: thin; }
.ex-list .card { display: grid; }
.ex-list .card-link { display: grid; grid-template-columns: 150px 1fr; }
.ex-list .card-art { aspect-ratio: auto; min-height: 100%; }
.ex-list .card-art .q-badge { font-size: 0; padding: 5px; gap: 0; }
.ex-list .card-body { padding: 12px 52px 12px 14px; }
.ex-list .card-desc { -webkit-line-clamp: 2; font-size: .85rem; }
.ex-list .fav-btn { top: 8px; right: 8px; width: 32px; height: 32px; background: var(--sand); box-shadow: none; }
.ex-mapwrap { position: sticky; top: calc(var(--hdr) + 16px); }
.ex-map { height: calc(100vh - var(--hdr) - 40px); min-height: 420px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #dfece8; z-index: 1; }
.leaflet-tile-pane { filter: saturate(.75) hue-rotate(-8deg) brightness(1.03); }
.mapy-logo img { display: block; }
.map-legend { position: absolute; right: 12px; top: 12px; max-width: calc(100% - 70px); z-index: 5; background: rgba(255,255,255,.95); border-radius: 12px; padding: 7px 12px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: .78rem; font-weight: 600; box-shadow: var(--shadow); }
.map-legend span { display: inline-flex; align-items: center; gap: 4px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; }
.map-legend a { font-weight: 500; }
.ex-empty { padding: 30px; text-align: center; color: var(--muted); background: var(--card); border-radius: var(--r); border: 1px dashed var(--line); }
.ex-toggle { display: none; }
@media (max-width: 900px) {
  .ex-body { grid-template-columns: 1fr; }
  .ex-list { max-height: none; overflow: visible; padding: 0; }
  .ex-mapwrap { display: none; position: static; }
  .explorer.show-map .ex-mapwrap { display: block; }
  .explorer.show-map .ex-list { display: none; }
  .ex-map { height: 70vh; }
  .ex-toggle { display: inline-flex; position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40; box-shadow: var(--shadow-lg); }
  .ex-toggle:hover { transform: translateX(-50%); }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .chip { flex: none; }
  .ex-toolbar select { flex: 1 1 140px; }
}
@media (max-width: 520px) {
  .ex-list .card-link { grid-template-columns: 110px 1fr; }
  .ex-list .card-desc { display: none; }
}

/* map markers */
.mk { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--qc); border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.3); transition: transform .15s; }
.mk.hl { transform: rotate(-45deg) scale(1.35); }
.mk-here { width: 18px; height: 18px; border-radius: 50%; background: #2b7cff; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(43,124,255,.25); }
.marker-cluster { background: rgba(15,79,76,.22); border-radius: 50%; }
.marker-cluster div { width: 30px; height: 30px; margin: 5px; border-radius: 50%; background: var(--teal); color: #fff; font: 700 .8rem/30px var(--sans); text-align: center; box-shadow: 0 0 0 2px #fff; }
.leaflet-popup-content-wrapper { border-radius: 14px; padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: 240px !important; font-family: var(--sans); }
.pop { display: block; text-decoration: none; color: var(--ink); }
.pop-art { height: 90px; overflow: hidden; }
.pop-art .art { width: 100%; height: 100%; }
.pop-b { padding: 10px 12px 12px; }
.pop-b b { font: 650 1rem var(--serif); display: block; margin-bottom: 4px; }
.pop-b span { font-size: .8rem; color: var(--muted); }
.pop .q-badge { box-shadow: none; padding-left: 0; background: none; margin-top: 4px; }

/* kraje & types */
.kraje-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.kraj-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; transition: all .15s; }
.kraj-card:hover { border-color: var(--teal-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.kc-name { font: 650 1.1rem var(--serif); }
.kc-meta { font-size: .85rem; color: var(--muted); }
.kc-bar { display: flex; gap: 3px; margin-top: 6px; }
.kc-bar i { width: 14px; height: 6px; border-radius: 3px; }
.types-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.type-card { border-radius: var(--r); overflow: hidden; position: relative; text-decoration: none; color: #fff; aspect-ratio: 4 / 3.4; display: block; }
.tc-art, .tc-art .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.type-card .art { transition: transform .5s; }
.type-card:hover .art { transform: scale(1.06); }
.tc-body { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(8,40,38,.75)); }
.tc-body h3 { margin: 0; font-size: 1.05rem; }
.tc-body span { font-size: .8rem; opacity: .85; }

/* faq, tips, guide */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--teal-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); }
.guide-card { background: var(--teal); color: #e2f4ef; border-radius: var(--r); padding: 24px; }
.guide-card h3 { color: #fff; font-size: 1.3rem; }
.guide-card .btn-dark { background: var(--accent); color: var(--ink); margin-top: 8px; }
.tips { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 12px; }
.tips li { display: flex; gap: 12px; align-items: flex-start; }
.tips .ic { margin-top: 3px; color: var(--accent); }
.d-main .tips .ic, .prose .tips .ic { color: var(--teal-2); }
.link-list { list-style: none; padding: 0; margin: 0; columns: 2; }
.link-list a { color: #fff; opacity: .9; line-height: 2; }
.okresy { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.okres { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; }
.okres h3 { font-size: 1rem; margin-bottom: 8px; }
.okres h3 a { color: inherit; }
.okres ul { list-style: none; margin: 0; padding: 0; }
.okres li a { display: grid; grid-template-columns: 10px 1fr; column-gap: 10px; padding: 7px 0; text-decoration: none; color: var(--ink); border-top: 1px solid var(--sand); align-items: center; }
.okres li:first-child a { border-top: 0; }
.okres li a:hover span { color: var(--teal-2); text-decoration: underline; }
.okres li i { width: 10px; height: 10px; border-radius: 50%; }
.okres li span { font-weight: 600; font-size: .95rem; }
.okres li em { grid-column: 2; font-style: normal; font-size: .8rem; color: var(--muted); }

/* detail */
.d-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding-top: 10px; }
.d-art { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); background: var(--mint); }
.d-art .art { width: 100%; height: 100%; }
.d-art figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 7px; font-size: .72rem; color: rgba(255,255,255,.92); background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.d-art figcaption a { color: #fff; }
img.art { object-fit: cover; display: block; }
.credits { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); }
.credits table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.credits th, .credits td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--sand); vertical-align: top; }
.credits th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.credits td:last-child { word-break: break-word; max-width: 320px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 99px; background: var(--mint); color: var(--teal); text-decoration: none; }
.d-loc { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.d-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
@media (max-width: 860px) { .d-hero { grid-template-columns: 1fr; gap: 18px; } }
.jump { position: sticky; top: var(--hdr); z-index: 30; display: flex; gap: 4px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; margin-top: 28px; background: var(--paper); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.jump a { flex: none; text-decoration: none; color: var(--ink-2); font-size: .9rem; font-weight: 500; padding: 6px 12px; border-radius: 99px; }
.jump a:hover, .jump a.on { background: var(--teal); color: #fff; }
.d-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-top: 24px; }
@media (max-width: 960px) { .d-grid { grid-template-columns: 1fr; } .d-aside { order: -1; } }
.d-sec { padding: 8px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.d-sec:last-child { border-bottom: 0; }
.d-sec h2 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; }
.d-sec h2 .ic { width: 24px; height: 24px; color: var(--teal-2); }
.d-lead { font-size: 1.15rem; color: var(--ink); font-family: var(--serif); font-weight: 500; line-height: 1.5; }
.water-card { border-radius: var(--r); background: color-mix(in srgb, var(--qc) 9%, #fff); border: 1px solid color-mix(in srgb, var(--qc) 30%, transparent); padding: 20px; margin-bottom: 16px; }
.wc-main { display: flex; gap: 16px; align-items: center; }
.wc-main p { margin: 2px 0 0; color: var(--ink-2); font-size: .92rem; }
.wc-num { flex: none; width: 58px; height: 58px; border-radius: 16px; background: var(--qc); color: #fff; display: grid; place-items: center; font: 650 1.8rem var(--serif); }
.wc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 0; }
.wc-facts div { background: rgba(255,255,255,.7); border-radius: 12px; padding: 10px 12px; }
.wc-facts dt { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.wc-facts dd { margin: 2px 0 0; font-weight: 600; }
@media (max-width: 520px) { .wc-facts { grid-template-columns: 1fr; } }
.scale { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.scale li { background: color-mix(in srgb, var(--qc) 14%, #fff); border-top: 5px solid var(--qc); padding: 8px 8px 10px; font-size: .75rem; line-height: 1.3; color: var(--ink-2); opacity: .55; border-radius: 4px; }
.scale li b { display: block; font: 650 1.1rem var(--serif); color: var(--ink); }
.scale li.on { opacity: 1; box-shadow: var(--shadow); }
.scale-big { grid-template-columns: 1fr; gap: 10px; margin-bottom: 32px; }
.scale-big li { display: flex; gap: 16px; align-items: center; font-size: .95rem; padding: 14px 18px; border-top: 0; border-left: 6px solid var(--qc); }
.scale-big li b { width: 40px; height: 40px; border-radius: 10px; background: var(--qc); color: #fff; display: grid; place-items: center; flex: none; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.2em; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--card); }
.facts div { padding: 12px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); margin: 0 -1px -1px 0; }
.facts dt { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.amen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.amen li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-weight: 500; font-size: .92rem; }
.amen li.yes { background: var(--mint); color: var(--teal); }
.amen li.no { background: transparent; color: #a3afad; text-decoration: line-through; border: 1px dashed var(--line); }
.route { display: grid; gap: 14px; margin-bottom: 16px; }
.route > div { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.route > div > .ic { width: 26px; height: 26px; color: var(--teal-2); }
.route p { margin: 2px 0 0; color: var(--ink-2); font-size: .95rem; }
.d-map { height: 360px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); z-index: 1; }
.d-aside { position: sticky; top: calc(var(--hdr) + 70px); }
@media (max-width: 960px) { .d-aside { position: static; } }
.glance { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); border-top: 6px solid var(--qc); }
.glance h2 { font-size: 1.2rem; }
.glance ul { list-style: none; padding: 0; margin: 16px 0; }
.glance li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--sand); font-size: .95rem; }
.glance li .ic { color: var(--teal-2); }
.glance li span { color: var(--muted); }
.glance .small { margin: 12px 0 0; }

/* weather */
.weather { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 8px; }
.w-now { background: linear-gradient(140deg, #13625c, #1f8a80); color: #fff; border-radius: var(--r-sm); padding: 14px 16px; }
.w-now b { font: 650 1.6rem var(--serif); display: block; white-space: nowrap; }
.w-now span { font-size: .85rem; opacity: .9; }
.w-day { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 8px; text-align: center; font-size: .82rem; }
.w-day b { display: block; font-size: 1rem; }
.w-day .w-ico { font-size: 1.4rem; line-height: 1.6; }
.w-day em { font-style: normal; color: #2b7cff; font-size: .75rem; }
@media (max-width: 640px) { .weather { grid-template-columns: repeat(5, 1fr); } .w-now { grid-column: 1 / -1; } }

/* footer */
.site-footer { margin-top: 80px; background: var(--ink); color: #b9cfca; padding: 48px 0 20px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot p { font-size: .9rem; margin-top: 12px; max-width: 40ch; }
.foot h4 { color: #fff; font: 600 .85rem var(--sans); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.foot ul { list-style: none; padding: 0; margin: 0 0 18px; columns: 2; font-size: .9rem; }
.foot a { color: #b9cfca; text-decoration: none; line-height: 1.9; }
.foot a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 24px; padding-top: 16px; font-size: .8rem; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 99px; font-size: .9rem; opacity: 0; transition: all .25s; z-index: 100; pointer-events: none; }
.toast.on { opacity: 1; transform: translateX(-50%); }
