:root {
    --accent: #b5d335;
    --accent-hover: #c6e24a;
    --accent-deep: #8fad1c;
    --accent-soft: #f4f8d9;
    --ink: #080808;
    --ink-2: #19191b;
    --ink-4: #2c2c2e;
    --muted: #9c9c9c;
    --muted-2: #777777;
    --line: #e5e5e5;
    --bg: #ffffff;
    --bg-soft: #f6f6f6;
    --on-accent: #141414;
}

* { box-sizing: border-box; }

body.page-reports {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Onest, Manrope, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a { color: inherit; }

.site-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.site-bar-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 40px;
    display: flex;
    align-items: center;
    /* без переноса меню вылезало за экран на планшетах (768px) */
    flex-wrap: wrap;
    row-gap: 8px;
    gap: 24px;
}

.brand-block { min-width: 0; }
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.brand img { height: 36px; width: auto; display: block; }
.byline {
    display: block;
    margin-left: 46px;
    margin-top: -2px;
    color: var(--muted-2);
    font-size: 12px;
    text-decoration: none;
}
.byline:hover { color: var(--accent-deep); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.site-nav a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 12px;
}
.site-nav a:hover { background: var(--bg-soft); }
.site-nav a.is-active { background: var(--accent-soft); font-weight: 600; }

.btn-accent {
    flex: none;
    background: var(--accent);
    color: var(--on-accent);
    text-decoration: none;
    font-weight: 500;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 8px 22px -2px rgba(181, 211, 53, 0.35);
}
.btn-accent:hover { background: var(--accent-hover); }

main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 40px 72px;
}

.hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    /* Отступ main сверху — 28px. Раньше hero подтягивался на эту величину
       всегда и накрывал хлебные крошки на страницах листингов. Теперь
       подтягиваем только когда hero идёт первым, без крошек. */
    margin-top: 0;
    margin-bottom: 36px;
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(181, 211, 53, 0.16) 0%, transparent 60%);
    pointer-events: none;
}
main > .hero:first-child {
    margin-top: -28px;
}

.hero-inner {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 72px 40px 64px;
    text-align: center;
}
.hero h1 {
    margin: 0;
    border: 0;
    padding: 0;
    color: #fff;
    font-size: 52px;
    line-height: 56px;
    font-weight: 500;
    letter-spacing: -0.03em;
    text-align: center;
}
.hero-lead {
    margin: 18px auto 0;
    max-width: 640px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.5;
}

.hero-search {
    margin: 28px auto 0;
    max-width: 560px;
    display: flex;
    gap: 8px;
    background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 8px;
}
.hero-search input[type="text"] {
    flex: 1;
    min-width: 0;
    width: auto;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 12px;
    font: inherit;
}
.hero-search input[type="text"]::placeholder { color: var(--muted-2); }
.hero-search input[type="text"]:focus { outline: none; box-shadow: none; }
.hero-search button {
    border: 0;
    cursor: pointer;
    background: var(--accent);
    color: var(--on-accent);
    font: inherit;
    font-weight: 500;
    border-radius: 14px;
    padding: 12px 18px;
    box-shadow: 0 8px 22px -2px rgba(181, 211, 53, 0.35);
}
.hero-search button:hover { background: var(--accent-hover); }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

h1, h2, h3 {
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.03em;
    text-align: left;
    border: 0;
    padding: 0;
}
h1 { font-size: 40px; line-height: 1.15; margin: 0 0 16px; }
h2 { font-size: 28px; line-height: 1.25; margin: 36px 0 16px; }
h3 { font-size: 22px; margin: 32px 0 12px; }

.report-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 8px 0 28px;
}
.report-card {
    background: var(--bg-soft);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.report-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: var(--line);
}
.report-card div { padding: 20px 22px 22px; }
.report-card h2 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 28px;
}
.report-card h2 a { text-decoration: none; }
.report-card h2 a:hover { color: var(--accent-deep); }
.report-facts {
    display: flex;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    color: var(--muted-2);
    font-size: 14px;
}
.report-facts span { display: inline; margin-right: 6px; }
.report-card .report-facts li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.report-card .report-facts svg,
.report-card p a svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
.report-card p { margin: 0; }
.report-card p a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent-deep);
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
}
.report-card p a:hover { color: var(--accent); }

.pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0 0;
}
.pager a, .pager span {
    font-size: 14px;
}
.pager a {
    text-decoration: none;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 500;
    background: var(--ink-4);
    color: #fff;
}
.pager a:last-child {
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: 0 8px 22px -2px rgba(181, 211, 53, 0.35);
}
.pager span { color: var(--muted-2); }

.site-foot {
    border-top: 1px solid var(--line);
    text-align: center;
    padding: 36px 20px 48px;
    color: var(--muted-2);
    font-size: 14px;
}
.footer-proverb { color: var(--ink); font-weight: 500; margin: 0 0 8px; }
.site-foot a { color: var(--accent-deep); text-decoration: none; font-weight: 500; }

form { margin: 0 0 24px; }
form label { display: block; font-weight: 500; margin-bottom: 8px; }
input[type="text"], input[type="search"] {
    width: min(100%, 420px);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}
input[type="text"]:focus, input[type="search"]:focus {
    outline: 2px solid var(--accent);
    border-color: transparent;
}
input[type="submit"], button[type="submit"] {
    border: 0;
    cursor: pointer;
    background: var(--accent);
    color: var(--on-accent);
    font: inherit;
    font-weight: 500;
    border-radius: 14px;
    padding: 12px 18px;
    margin-left: 8px;
}

.crumbs { color: var(--ink); font-size: 14px; font-weight: 500; margin: 0 0 16px; }
.crumbs a { color: var(--muted-2); font-weight: 400; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.geo-lead {
    color: var(--muted-2);
    font-size: 18px;
    max-width: 640px;
    margin: 8px 0 28px;
}

.region-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    background: var(--bg-soft);
    border-radius: 20px;
    overflow: hidden;
}
.region-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-top: 1px solid var(--line);
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
}
.region-list li:first-child a { border-top: 0; }
.region-list a:hover { background: #fff; color: var(--ink); }
.region-list em {
    font-style: normal;
    color: var(--ink);
    background: #fff;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 14px;
}

.report-hero {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 20px;
    background: var(--bg-soft);
    display: block;
    margin: 0 0 24px;
}
.report-hero-link {
    display: block;
    margin: 0 0 24px;
    cursor: zoom-in;
}
.report-hero-link .report-hero { margin: 0; }
.report-copy .report-facts { margin: 0 0 20px; }
.report-fish {
    margin: 0 0 16px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--bg-soft);
    font-size: 15px;
    line-height: 1.5;
}
.report-fish strong { font-weight: 600; }
.report-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 8px 0 28px;
}
.report-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    background: var(--bg-soft);
    display: block;
}
.gallery-item {
    display: block;
    cursor: zoom-in;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}
.gallery-item:hover,
.gallery-item:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
}

/* Лайтбокс: полная версия фото по клику на превью */
body.lightbox-open { overflow: hidden; }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(8, 12, 20, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
    max-width: calc(100vw - 120px);
    max-height: calc(100vh - 80px);
    object-fit: contain;
    border-radius: 12px;
    background: #0b1220;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, .26); }
.lightbox-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 28px;
}
.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 34px;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    margin: 0;
    opacity: .85;
}
@media (max-width: 640px) {
    .lightbox { padding: 8px; }
    .lightbox-img { max-width: calc(100vw - 16px); max-height: calc(100vh - 100px); }
    .lightbox-prev, .lightbox-next { width: 42px; height: 42px; font-size: 26px; }
    .lightbox-prev { left: 6px; }
    .lightbox-next { right: 6px; }
}
.fact-card {
    background: var(--bg-soft);
    border-radius: 20px;
    padding: 24px 24px 8px;
    margin: 8px 0 28px;
}
.fact-card h2 { margin-top: 0; }
.fact-card dl { margin: 0; }
.fact-card dl > div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}
.fact-card dt { color: var(--muted-2); font-size: 14px; }
.fact-card dd { margin: 0; font-weight: 500; }
.fact-card dd span { display: block; color: var(--muted-2); margin-top: 4px; font-weight: 400; }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; }
.map-links a {
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}
.map-links a:hover { color: var(--accent-deep); border-color: var(--accent); }
.report-copy p { margin: 0 0 0.8em; }
.report-tags-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
}
.report-tags-row > p { margin: 0; color: var(--muted-2); font-size: 14px; }
.report-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.report-tags li::before { content: none; }
.report-tags a {
    display: inline-block;
    background: var(--bg-soft);
    color: #2b2b2b;
    border-radius: 999px;
    padding: 6px 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.report-tags a:hover { background: var(--accent-soft); color: var(--accent-deep); }
.report-tags .tag-hash { color: var(--accent-deep); margin-right: 2px; font-weight: 600; }

/* Дерево географии на /geo/ */
.geo-panel {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px 24px;
    margin: 8px 0 28px;
}
.geo-tree { list-style: none; margin: 0; padding: 0; }
.geo-tree .geo-tree { margin-left: 18px; border-left: 1px dashed var(--line); padding-left: 14px; }
.geo-tree li { margin: 2px 0; }
.geo-tree details > summary {
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}
.geo-tree details > summary::-webkit-details-marker { display: none; }
.geo-tree details > summary::before {
    content: '+';
    width: 16px;
    color: var(--accent-deep);
    font-weight: 700;
    flex: 0 0 16px;
    text-align: center;
}
.geo-tree details[open] > summary::before { content: '−'; }
.geo-tree details > summary:hover { background: var(--accent-soft); }
.geo-tree details > summary a { text-decoration: none; color: var(--ink); font-weight: 500; }
.geo-tree details > summary a:hover { color: var(--accent-deep); }
.geo-leaf {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px 5px 32px;
    border-radius: 10px;
}
.geo-leaf:hover { background: var(--accent-soft); }
.geo-leaf a { text-decoration: none; color: var(--ink); }
.geo-leaf a:hover { color: var(--accent-deep); }
.geo-count {
    margin-left: auto;
    font-style: normal;
    font-size: 13px;
    color: var(--muted);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 1px 9px;
    flex: 0 0 auto;
}
.geo-unknown {
    border: 1px dashed var(--line);
    border-radius: 20px;
    padding: 18px 24px;
    margin-bottom: 32px;
}
.geo-unknown h2 { margin: 0 0 8px; font-size: 20px; }
.geo-unknown p { margin: 0 0 10px; color: var(--muted-2); }
.geo-unknown-link {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 12px;
    background: var(--accent);
    color: var(--on-accent);
    text-decoration: none;
    font-weight: 600;
}
.geo-unknown-link:hover { background: var(--accent-hover); }
.geo-note {
    margin: 0 0 16px;
    padding: 10px 14px;
    border-left: 3px solid var(--accent);
    background: var(--accent-soft);
    border-radius: 0 12px 12px 0;
    font-size: 14px;
    color: var(--muted-2);
}

/* Плашка «Прогноз клёва по месту» */
.forecast-card {
    margin: 24px 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg);
}
.forecast-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    padding: 14px 18px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}
.forecast-title { font-weight: 700; }
.forecast-place { color: var(--muted); font-size: 14px; }
.forecast-body {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px;
}
.forecast-score {
    flex: 0 0 auto;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--on-accent);
    background: var(--accent);
}
.forecast-score span { font-size: 13px; margin-left: 1px; }
.forecast-body.verdict-good .forecast-score { background: var(--accent); }
.forecast-body.verdict-ok .forecast-score { background: #e8dd7a; }
.forecast-body.verdict-bad .forecast-score { background: #d9d9d9; }
.forecast-text p { margin: 0 0 6px; }
.forecast-verdict { font-size: 17px; }
.forecast-temp { color: var(--ink); }
.forecast-optimal { color: var(--muted-2); font-size: 14px; }
.forecast-weather { color: var(--muted-2); font-size: 14px; }
.forecast-more { margin-top: 4px; }
.forecast-city { color: var(--muted-2); font-size: 13px; }
.forecast-more a { color: var(--accent-deep); text-decoration: none; font-weight: 600; }
.forecast-more a:hover { text-decoration: underline; }
.forecast-empty { flex-direction: column; align-items: flex-start; gap: 10px; }
.forecast-btn {
    border: 0;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    background: var(--accent);
    color: var(--on-accent);
}
.forecast-btn:hover { background: var(--accent-hover); }
.forecast-btn:disabled { opacity: .6; cursor: default; }
.forecast-loading, .forecast-error { color: var(--muted-2); margin: 0; }
@media (max-width: 640px) {
    .forecast-body { flex-direction: column; align-items: flex-start; }
    .forecast-score { width: 62px; height: 62px; font-size: 19px; }
}
@media (max-width: 640px) {
    .geo-panel { padding: 14px; }
    .geo-tree .geo-tree { margin-left: 10px; padding-left: 10px; }
    .geo-leaf { padding-left: 22px; }
}
.report-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.report-nav a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 14px;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 14px;
    max-width: none;
}
.report-prev { background: var(--ink-2); color: #fff; }
.report-prev:hover { background: var(--ink); color: #fff; }
.report-next { background: var(--accent); color: var(--on-accent); margin-left: auto; }
.report-next:hover { background: var(--accent-hover); color: var(--on-accent); }

#spot, #mapboard {
    height: 420px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
}
#mapboard { height: 70vh; min-height: 480px; }
.map-lead, .search-count { color: var(--muted-2); font-size: 18px; margin: 8px 0 24px; }

/* Карта других отчётов по этому водоёму */
.water-map-block { margin-top: 32px; }.water-map-lead { color: var(--muted-2); font-size: 16px; margin: 8px 0 16px; }
#watermap {
    height: 420px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
}
.water-popup a {
    display: inline-block;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--accent-deep);
    text-decoration: none;
}
.water-popup a:hover { text-decoration: underline; }
.water-popup-title { font-weight: 600; margin-bottom: 2px; }
.water-popup-meta { color: var(--muted-2); font-size: 13px; }
@media (max-width: 640px) {
    #watermap { height: 320px; }
}

.setup-note {
    background: var(--accent-soft);
    border-radius: 20px;
    padding: 16px 18px;
}

@media (max-width: 980px) {
    .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero h1 { font-size: 36px; line-height: 1.15; }
}

@media (max-width: 760px) {
    .report-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fact-card dl > div { grid-template-columns: 1fr; gap: 4px; }
    .site-bar-inner { flex-wrap: wrap; padding: 12px 16px; gap: 10px; }
    .site-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
    }
    .btn-accent { margin-left: auto; padding: 10px 12px; }
    main { padding: 16px 16px 48px; }
    .hero { margin-top: -16px; }
    .hero-inner { padding: 40px 16px 36px; }
    .hero h1 { font-size: 32px; line-height: 1.15; }
    .hero-search { flex-direction: row; }
    .report-grid { grid-template-columns: 1fr; }
    h1 { font-size: 30px; }
    input[type="submit"], button[type="submit"] { margin: 8px 0 0; display: block; }
    .hero-search button[type="submit"] {
        display: inline-flex;
        margin: 0;
        width: auto;
        align-items: center;
    }
}
/* Листинг метки: рыба и карта всех точек */
.listing-fish {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: -8px 0 24px;
}
.listing-fish-label { color: var(--muted-2); font-size: 15px; }
.listing-fish-chip {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--accent-soft);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.listing-fish-chip:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.listing-fish-more { color: var(--muted-2); font-size: 13px; }
.listing-map-block { margin-top: 36px; }
.listing-map-lead { color: var(--muted-2); font-size: 16px; margin: 8px 0 16px; }
#listmap {
    height: 460px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
}
@media (max-width: 640px) {
    #listmap { height: 340px; }
}

/* Бренд: логотип + подпись «Рыболовные отчёты + прогнозы» */
.brand img { height: 44px; width: auto; display: block; }
.brand-tagline {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.15;
    max-width: 12em;
    letter-spacing: -0.01em;
}

/* Общий подвал сайта и радара */
.site-foot {
    border-top: 1px solid var(--line);
    padding: 40px 20px 52px;
    text-align: center;
    color: var(--muted-2);
    font-size: 14px;
}
.site-foot-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.site-foot-brand .brand { justify-content: center; }
.site-foot-brand .brand img { height: 72px; }
.site-foot-brand .brand-tagline { font-size: 17px; max-width: none; }
.site-foot-nav .site-nav {
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 10px;
}
.site-nav-footer a { font-size: 14px; padding: 6px 10px; }
.site-foot-count { margin: 0; font-size: 15px; }
.site-foot-count strong { color: var(--ink); }
.site-foot .footer-proverb { margin: 0; font-style: italic; }
.site-foot-copy { margin: 0; font-size: 13px; color: var(--muted); }

@media (max-width: 720px) {
    .brand-tagline { display: none; }
    .site-foot-brand .brand-tagline { display: block; }
    .site-nav { flex-wrap: wrap; gap: 2px; }
    .site-nav a { padding: 6px 10px; font-size: 14px; }
}
.site-foot-count-sep { color: var(--line); margin: 0 4px; }

@media (max-width: 560px) {
    .site-bar-inner .btn-accent { padding: 10px 14px; font-size: 14px; }
}

/* Мобильные исправления по итогам аудита */
@media (max-width: 720px) {
    /* Факты отчёта — столбиком, а не тремя узкими колонками */
    .report-facts { flex-direction: column; gap: 6px; }
    .report-facts li { display: flex; gap: 8px; align-items: baseline; }

    /* Крупный заголовок отчёта съедал первый экран */
    .report-copy h1 { font-size: 24px; line-height: 1.25; }

    /* Фото не прыгает, пока грузится */
    .report-hero { aspect-ratio: 4 / 3; }

    /* Цели под палец: было 33px */
    .site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
    .geo-tree a,
    .geo-tree summary { min-height: 44px; display: flex; align-items: center; }

    /* Списки прячут хвост, пока не нажали «показать ещё» */
    .report-grid.is-limited > :nth-child(n+13) { display: none; }
    .listing-fish.is-limited .listing-fish-chip:nth-child(n+9) { display: none; }
}

/* Кнопка «показать ещё» */
.more-toggle {
    display: block;
    width: 100%;
    margin: 4px 0 24px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.more-toggle:hover { background: var(--accent-soft); }
.more-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 800px) {
    /* меню остаётся крупным и на планшетах: там тоже палец */
    .site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Страница 404 */
.notfound-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 28px 0 32px;
}
.notfound-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--bg-soft);
    color: var(--ink);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}
.notfound-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.notfound-card strong { font-size: 17px; }
.notfound-card span { color: var(--muted-2); font-size: 14px; line-height: 1.35; }
.notfound-search { margin: 0 0 32px; }
.notfound-search h2 { margin: 0 0 12px; font-size: 20px; }
.notfound-search .hero-search { max-width: 520px; }

/* Оценки отчёта, жалоба и «поделиться» */
.report-reactions {
    margin: 24px 0 8px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--bg-soft);
}
.reactions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}
.reactions-votes { display: inline-flex; gap: 10px; }
.vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.vote-btn svg { width: 20px; height: 20px; fill: currentColor; }
.vote-btn:hover { border-color: var(--accent-deep); }
.vote-btn:disabled { opacity: .6; cursor: default; }
.vote-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.vote-up { color: #2f9e44; }
.vote-up.is-active { background: #eaf7ec; border-color: #79c48a; }
.vote-down { color: #d64545; }
.vote-down.is-active { background: #fdecec; border-color: #f0a3a3; }

.vote-count { font-variant-numeric: tabular-nums; }

.flag-open {
    margin-left: auto;
    padding: 10px 16px;
    border: 1px dashed var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted-2);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}
.flag-open:hover { border-color: var(--accent-deep); color: var(--ink); }
.flag-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.reactions-status { margin: 10px 0 0; font-size: 14px; color: var(--muted-2); min-height: 18px; }
.reactions-status.is-error { color: #c0392b; }

.flag-box {
    margin-top: 14px;
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
}
.flag-lead { margin: 0 0 12px; font-size: 14px; color: var(--muted-2); }
.flag-reasons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.flag-reason { position: relative; }
.flag-reason input { position: absolute; opacity: 0; pointer-events: none; }
.flag-reason span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.flag-reason input:checked + span { background: var(--accent-soft); border-color: var(--accent-deep); font-weight: 600; }
.flag-reason input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.flag-box textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font: inherit;
    font-size: 15px;
    resize: vertical;
}
.flag-box textarea:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(181, 211, 53, .2); }
.flag-actions { display: flex; gap: 10px; margin-top: 12px; }
.flag-submit {
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: var(--on-accent);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.flag-submit:hover { background: var(--accent-hover); }
.flag-submit:disabled { opacity: .6; cursor: default; }
.flag-cancel {
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--muted-2);
    font: inherit;
    cursor: pointer;
}

.report-share { margin: 28px 0 8px; }
.report-share h2 { margin: 0 0 12px; font-size: 20px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.share-btn:hover { border-color: var(--accent-deep); background: var(--accent-soft); }
.share-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 640px) {
    .flag-open { margin-left: 0; width: 100%; }
    .vote-btn { flex: 1; justify-content: center; }
    .reactions-votes { width: 100%; }
    .share-btn { flex: 1 1 calc(50% - 5px); }
}

/* Один соседний отчёт по водоёму: ссылка вместо второй карты */
.water-single-link {
    margin: 20px 0 8px;
    font-size: 15px;
    color: var(--muted-2);
}
.water-single-link a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
}
.water-single-link a:hover { border-bottom-color: var(--accent-deep); }
.water-single-meta {
    margin-left: 8px;
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
}
