/* Lokalne volitve Destrnik 2026 – javna stran. Nevtralne barve; barvne so le oznake list v grafih. */
:root {
  --bg: #f6f5f2; --surface: #ffffff; --surface-2: #f0efeb; --ink: #1d242b; --ink-2: #3c4651; --muted: #66707a;
  --line: #e2e0da; --line-2: #d2cfc7; --head: #24323f; --head-ink: #f4f2ed; --accent: #24323f; --link: #1f4e6b;
  --ok: #2f7d4f; --warn: #a3620a; --crit: #b3362f; --plan: #c9d3dc; --real: #4b6478;
  --r: 12px; --r-sm: 8px; --f: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161a; --surface: #1a2026; --surface-2: #20272e; --ink: #e8e6e1; --ink-2: #c9ccce; --muted: #959ca3;
    --line: #2a323a; --line-2: #36404a; --head: #0d1114; --head-ink: #e8e6e1; --accent: #d9dde1; --link: #8fc0e0;
    --ok: #5cb27e; --warn: #e0a14a; --crit: #e2675f; --plan: #3a4651; --real: #8ea6ba;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--f); }
a { color: var(--link); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 750; }
h2 { font-size: 1.3rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 680; }
p { margin: 0 0 .8em; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.num, .n { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* glava */
.site-head { background: var(--head); color: var(--head-ink); }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; line-height: 1.15; }
.brand b { display: block; font-size: 1.05rem; }
.brand span span { font-size: .85rem; opacity: .8; }
.mark { width: 42px; height: 42px; border-radius: 10px; border: 2px solid currentColor; display: grid; place-items: center; font-weight: 800; font-size: 1rem; line-height: 1; flex: none; padding-top: 2px; }
.mark small { display: block; font-size: .62rem; font-weight: 700; opacity: .8; border-top: 1px solid currentColor; padding-top: 1px; }
.nav { display: none; }
.nav a, .nav-mobile a { color: var(--head-ink); text-decoration: none; opacity: .82; }
.nav a[aria-current], .nav-mobile a[aria-current] { opacity: 1; font-weight: 650; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 8px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.menu[open] summary { background: rgba(255,255,255,.1); }
.nav-mobile { position: absolute; right: 0; top: 52px; z-index: 20; background: var(--head); border-radius: 12px; padding: 8px; min-width: 220px; box-shadow: 0 12px 30px rgba(0,0,0,.3); display: grid; }
.nav-mobile a { padding: 11px 14px; border-radius: 8px; }
.nav-mobile a:hover { background: rgba(255,255,255,.08); opacity: 1; }
@media (min-width: 900px) {
  .menu { display: none; }
  .nav { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-bottom: 14px; font-size: .95rem; }
  .nav a { padding: 4px 0; border-bottom: 2px solid transparent; }
  .nav a[aria-current] { border-bottom-color: currentColor; }
  .nav a:hover { opacity: 1; }
}

.banner { padding: 10px 0; font-size: .95rem; }
.banner.molk { background: #3a3f46; color: #f1f1ef; }
.banner.molk a, .banner.live a { color: inherit; }
.banner.live { background: var(--ok); color: #fff; }
.banner.ok { background: color-mix(in srgb, var(--ok) 15%, var(--surface)); }
.banner.err { background: color-mix(in srgb, var(--crit) 15%, var(--surface)); }

main { padding: 28px 16px 56px; }
.hero { padding: 12px 0 8px; max-width: 760px; }
.head { margin-bottom: 20px; max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.lead { font-size: 1.08rem; color: var(--ink-2); }
.official { color: var(--muted); margin-top: 10px; }
.crumbs { margin: 0 0 8px; font-size: .9rem; }
.section-title { margin: 32px 0 12px; }
.note { background: var(--surface-2); border-radius: var(--r-sm); padding: 10px 14px; font-size: .92rem; }
.row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.row h2, .row h3 { margin-bottom: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); text-decoration: none; font-size: .9rem; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-current] { background: var(--accent); color: var(--bg); border-color: var(--accent); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 16px; min-width: 0; }
.grid { display: grid; gap: 16px; }
.grid > .panel, .grid > div > .panel { margin-bottom: 0; }
.grid > div { display: grid; gap: 16px; align-content: start; }
.grid + .grid, .grid + .panel, .panel + .grid { margin-top: 16px; }
@media (min-width: 760px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } }

.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpi .k { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.kpi .v { font-size: 1.35rem; font-weight: 750; line-height: 1.2; overflow-wrap: anywhere; }
.kpi .v.sm { font-size: 1.15rem; }
.kpi .s { font-size: .82rem; color: var(--muted); }

.cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(4, 1fr); } .vcards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink-2); min-height: 44px; }
.panel .card { background: var(--surface-2); border-color: transparent; }
.card b { color: var(--ink); font-size: 1.02rem; }
.card:hover { border-color: var(--ink-2); }
.up { color: var(--ok); font-weight: 650; } .down { color: var(--crit); font-weight: 650; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 108px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9rem; }
.timeline li.past { opacity: .55; }
.timeline li.now time, .timeline li.big time { color: var(--ink); font-weight: 700; }
.timeline li.big a, .timeline li.big span { font-weight: 700; }
.ve-list { list-style: none; padding: 0; margin: 0 0 8px; }
.ve-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); display: grid; }
.ve-list span { font-size: .88rem; color: var(--muted); }

/* tabele */
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px 8px; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; white-space: nowrap; }
td.n, th.n { text-align: right; }
tr.tot td { font-weight: 700; border-top: 2px solid var(--line-2); }
tr.lead td { background: color-mix(in srgb, var(--ok) 10%, transparent); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: baseline; flex: none; }
.dot.plan { background: var(--plan); } .dot.real { background: var(--real); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; color: var(--ink-2); margin: 4px 0 10px; }
.vote { display: inline-block; padding: 1px 8px; border-radius: 6px; background: color-mix(in srgb, var(--warn) 16%, transparent); }
.vote.un { background: color-mix(in srgb, var(--ok) 16%, transparent); }

/* kandidati */
.duel { display: grid; gap: 12px; }
@media (min-width: 640px) { .duel { grid-template-columns: 1fr 1fr; } }
.cand { border: 1px solid var(--line); border-left: 6px solid var(--c, var(--line-2)); border-radius: var(--r-sm); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.cand .nm { font-size: 1.2rem; font-weight: 720; padding-right: 40px; }
.cand .big { font-size: 1.8rem; font-weight: 800; }
.ballot { position: absolute; right: 14px; top: 12px; width: 32px; height: 32px; border: 2px solid var(--ink-2); border-radius: 50%; display: grid; place-items: center; font-weight: 750; }

/* grafi */
.stack { display: flex; height: 30px; border-radius: 6px; overflow: hidden; background: var(--surface-2); margin: 6px 0 8px; position: relative; }
.stack span { display: flex; align-items: center; justify-content: center; min-width: 2px; }
.stack span + span { box-shadow: inset 2px 0 0 var(--surface); }
.stack b { font-size: .78rem; color: #fff; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.45); white-space: nowrap; }
.stack.half::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; border-left: 2px dashed var(--ink); opacity: .55; }
.race { padding: 8px 0 12px; border-bottom: 1px dashed var(--line); margin-bottom: 8px; }
.race:last-of-type { border-bottom: 0; }
.race-legend { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .9rem; }
.race-legend li { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.race-legend .num { font-weight: 700; }
.race-legend.compact { font-size: .82rem; gap: 2px 14px; }
.ve-block { min-width: 0; }
.bars { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.bars li { display: grid; gap: 3px; }
.bars .bl { font-size: .9rem; }
.bars li.in .bl { font-weight: 650; }
.bars .bt { display: flex; align-items: center; gap: 8px; }
.bars .bf { height: 12px; border-radius: 4px; min-width: 2px; }
.bars .bf.plan { background: var(--plan); } .bars .bf.real { background: var(--real); }
.bars .num { font-size: .85rem; color: var(--ink-2); white-space: nowrap; }
.bars .bd { display: block; }
.bars.pair li { padding-bottom: 6px; }

.members { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.members li { display: grid; grid-template-columns: auto 1fr; column-gap: 0; }
.members li span { grid-column: 2; font-size: .9rem; color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tiles div { background: var(--surface-2); border-radius: var(--r-sm); padding: 12px; display: grid; }
.tiles b { font-size: 1.3rem; }
.tiles span { font-size: .85rem; color: var(--muted); }

/* vasi */
.issues { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.issues li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: start; }
.issues .st { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; padding: 3px 8px; border-radius: 6px; text-align: center; background: var(--surface-2); color: var(--ink-2); }
.st-hot .st { background: color-mix(in srgb, var(--crit) 15%, transparent); color: var(--crit); }
.st-wip .st { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.st-done .st { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.src { display: block; font-size: .8rem; color: var(--muted); }
.plain { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; }
.plain.cols { columns: 1; display: block; }
.plain.cols li { margin-bottom: 6px; break-inside: avoid; }
@media (min-width: 760px) { .plain.cols { columns: 2; } }

/* dejstva */
.facts { display: grid; gap: 12px; }
@media (min-width: 900px) { .facts { grid-template-columns: 1fr 1fr; align-items: start; } }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; min-width: 0; }
.fact:target { border-color: var(--link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 25%, transparent); }
.fmeta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .8rem; margin-bottom: 8px; }
.fmeta .when { font-weight: 700; color: var(--ink-2); }
.tag { background: var(--surface-2); color: var(--ink-2); padding: 2px 8px; border-radius: 6px; text-decoration: none; }
.perma { margin-left: auto; color: var(--muted); text-decoration: none; }
.ftext { margin-bottom: 8px; overflow-wrap: anywhere; }
.fsrc { font-size: .85rem; color: var(--ink-2); border-left: 3px solid var(--line-2); padding-left: 10px; overflow-wrap: anywhere; }
.fsrc > span:first-child { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); margin-right: 4px; }
.empty { color: var(--muted); padding: 20px 0; }

.filters { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; align-items: end; }
.filters label { display: grid; gap: 4px; font-size: .82rem; color: var(--muted); font-weight: 600; min-width: 0; }
.filters .grow { grid-column: 1 / -1; }
.factions { display: flex; gap: 14px; align-items: center; grid-column: 1 / -1; }
@media (min-width: 900px) { .filters { grid-template-columns: 2fr 1.3fr 1.2fr 1.2fr .8fr auto; } .filters .grow { grid-column: auto; } .factions { grid-column: auto; } }
input, select, textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 9px 11px; width: 100%; min-height: 44px; }
textarea { resize: vertical; }
.btn { font: inherit; font-weight: 650; min-height: 44px; padding: 8px 18px; border-radius: var(--r-sm); border: 0; background: var(--accent); color: var(--bg); cursor: pointer; }
.btn:hover { opacity: .9; }

/* prijava napake */
.report { margin-top: 10px; font-size: .88rem; }
.report-form { display: grid; gap: 10px; margin-top: 8px; padding: 12px; border-radius: var(--r-sm); background: var(--surface-2); }
.report-form label { display: grid; gap: 4px; font-weight: 600; }
.report-form .btn { justify-self: start; }
.report-form p { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* volilni molk */
.phases { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.phases li { display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--surface-2); }
.phases li.molk { background: #3a3f46; color: #f1f1ef; }
.phases em { font-style: normal; font-size: .78rem; opacity: .7; }
.checks { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: #fff; }
.checks.no li::before { content: "✕"; background: var(--crit); }
.checks.yes li::before { content: "✓"; background: var(--ok); }
.note-panel { border-left: 6px solid var(--ink-2); }
.sources { padding-left: 18px; margin: 0 0 10px; display: grid; gap: 6px; }

/* izidi */
.status-line { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px; }
.empty-results { text-align: center; padding: 28px 18px; }

/* noga */
.site-foot { background: var(--surface-2); border-top: 1px solid var(--line); padding: 28px 0; font-size: .9rem; color: var(--ink-2); }
.foot-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-grid b { display: block; color: var(--ink); margin-bottom: 4px; }

@media print {
  .site-head .menu, .nav, .report, .chips, .site-foot, .banner { display: none !important; }
  body { background: #fff; }
  .panel, .fact, .kpi { border-color: #ccc; break-inside: avoid; }
}

/* Tabele na telefonu: vsaka vrstica je kartica, celice dobijo naslov stolpca iz data-label (doda strežnik). */
.mo { display: none; }
@media (max-width: 700px) {
  table[data-stack] { font-size: .95rem; }
  table[data-stack] thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table[data-stack], table[data-stack] tbody { display: block; }
  table[data-stack] tr { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 8px 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  table[data-stack] tr:first-child { padding-top: 4px; }
  table[data-stack] td { display: block; border: 0; padding: 0; text-align: left; min-width: 0; overflow-wrap: anywhere; }
  table[data-stack] td::before { content: attr(data-label); display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; line-height: 1.3; margin-bottom: 1px; }
  table[data-stack] td.t { grid-column: 1 / -1; order: -2; font-size: 1.02rem; font-weight: 700; }
  table[data-stack] td.t::before { content: none; }
  table[data-stack] td.w { grid-column: 1 / -1; }
  table[data-stack] td.o1 { order: -1; }
  table[data-stack] td.mh, table[data-stack] td.w:empty { display: none; }
  table[data-stack] .mo { display: inline; }
  table[data-stack] tr.tot { border-top: 2px solid var(--line-2); margin-top: 4px; }
  table[data-stack] tr.tot td { border-top: 0; }
  table[data-stack] tr.lead { border-radius: var(--r-sm); }
  .tbl:has(> table[data-stack]) { overflow: visible; margin: 0 0 8px; }
}

/* Poziv k popravkom: jasno kot gumb */
.report-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px 6px 12px; border-radius: 999px; border: 1.5px solid var(--link); color: var(--link); background: transparent; font-weight: 650; font-size: .9rem; text-decoration: none; cursor: pointer; list-style: none; }
.report-btn::-webkit-details-marker { display: none; }
.report-btn::after { content: "›"; font-size: 1.15em; line-height: 1; transition: transform .15s; }
.report-btn:hover { background: color-mix(in srgb, var(--link) 10%, transparent); color: var(--link); text-decoration: none; }
.report[open] > .report-btn { background: var(--link); color: var(--surface); }
.report[open] > .report-btn::after { transform: rotate(90deg); }
.report-btn .ic { width: 17px; height: 17px; flex: none; }

@media (max-width: 700px) { table[data-stack] td, table[data-stack] .nowrap { white-space: normal; } }

/* Proračun po letih */
@media (min-width: 960px) { .cards.years { grid-template-columns: repeat(5, 1fr); } }
dl.info { margin: 0 0 10px; display: grid; gap: 4px 16px; }
dl.info dt { font-weight: 700; font-size: .85rem; color: var(--ink-2); margin-top: 6px; }
dl.info dd { margin: 0; }
@media (min-width: 760px) { dl.info { grid-template-columns: 220px 1fr; } dl.info dt { margin-top: 0; } }
h3.group { margin-top: 20px; }
.lot { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 6px; margin: 0 4px 2px 0; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.lot-done { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.lot-wip { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }

/* Deljenje */
.head-tools { display: flex; align-items: center; gap: 6px; }
.share { position: relative; }
.share > summary { list-style: none; }
.share > summary::-webkit-details-marker { display: none; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 16px 6px 12px; border-radius: 999px; border: 1.5px solid var(--link); color: var(--link); font-weight: 650; font-size: .9rem; cursor: pointer; background: var(--surface); }
.share-btn .ic { width: 17px; height: 17px; flex: none; }
.share[open] > .share-btn { background: var(--link); color: var(--surface); }
.share-menu { display: grid; gap: 2px; margin-top: 8px; padding: 8px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 10px 28px rgba(0,0,0,.14); min-width: 250px; font-size: .92rem; }
.share-menu > a, .share-menu > button { display: flex; align-items: center; min-height: 40px; padding: 6px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }
.share-menu > a:hover, .share-menu > button:hover { background: var(--surface-2); }
.share-menu .native { font-weight: 650; color: var(--link); }
.share-link { display: flex; gap: 6px; padding: 6px 4px 2px; }
.share-link input { min-height: 38px; padding: 6px 8px; font-size: 14px; color: var(--ink-2); }
.share-link .copy { font: inherit; font-weight: 650; border: 0; border-radius: 6px; padding: 0 12px; background: var(--accent); color: var(--bg); cursor: pointer; }
.share-sub { font-size: .78rem; color: var(--muted); padding: 8px 6px 2px; border-top: 1px solid var(--line); margin-top: 6px; }
.share-imgs { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; }
.share-imgs a { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; font-size: .85rem; }
.share-imgs a:hover { border-color: var(--ink-2); }
.factions-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; margin-top: 10px; }
.factions-row .report { margin-top: 0; flex: 1 1 auto; }
.factions-row .report[open] { flex-basis: 100%; }
/* v glavi: meni se odpre pod gumbom, poravnan desno */
.site-head .share-btn { border-color: rgba(255,255,255,.55); color: var(--head-ink); background: transparent; }
.site-head .share[open] > .share-btn { background: var(--head-ink); color: var(--head); }
.site-head .share-menu { position: absolute; right: 0; top: 46px; z-index: 30; color: var(--ink); }
@media (max-width: 420px) { .site-head .share-btn { padding: 6px 10px; } .site-head .share-menu { right: -50px; } }
.fact-single .fact { max-width: 760px; }
.card-previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.card-prev { display: grid; gap: 6px; text-decoration: none; color: var(--link); font-size: .85rem; font-weight: 600; }
.card-prev img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); }
@media print { .share { display: none !important; } }
