/* Budi u toku — javna stranica. Mobile-first. Admin koristi style.css (ne dirati). */
:root {
  --bg: #f6f5f1; --surface: #ffffff; --soft: #ebe9e2; --ink: #15171c; --muted: #565b66; --line: #dcd9d0;
  --accent: #1f3f7a; --on-accent: #ffffff; --err: #a32020; --shadow: 0 -8px 30px rgba(0,0,0,.18);
  --k-politika: #3f63b5; --k-ekonomija: #1f8a6b; --k-drustvo: #a8761a; --k-sport: #c2561e; --k-kultura: #a8407a;
  --k-nauka: #1c88a0; --k-zdravlje: #c43d45; --k-tehnologija: #6a56c4; --k-lokalno: #7a5ca8; --k-ostalo: #7b808a;
  --serif: Charter, "Iowan Old Style", "Palatino Linotype", Georgia, "Noto Serif", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --hdr: 52px; --bar: 60px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111317; --surface: #181b20; --soft: #1f232a; --ink: #eceef1; --muted: #a3a9b4; --line: #2b3038;
    --accent: #9db8ee; --on-accent: #0e1320; --err: #ff9a9a; --shadow: 0 -8px 30px rgba(0,0,0,.6);
    --k-politika: #7d9ee6; --k-ekonomija: #4fc09c; --k-drustvo: #d9a443; --k-sport: #e8854f; --k-kultura: #d878ae;
    --k-nauka: #55bad2; --k-zdravlje: #ef7a82; --k-tehnologija: #a091ee; --k-lokalno: #b59ad8; --k-ostalo: #98a0ab;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111317; --surface: #181b20; --soft: #1f232a; --ink: #eceef1; --muted: #a3a9b4; --line: #2b3038;
  --accent: #9db8ee; --on-accent: #0e1320; --err: #ff9a9a; --shadow: 0 -8px 30px rgba(0,0,0,.6);
  --k-politika: #7d9ee6; --k-ekonomija: #4fc09c; --k-drustvo: #d9a443; --k-sport: #e8854f; --k-kultura: #d878ae;
  --k-nauka: #55bad2; --k-zdravlje: #ef7a82; --k-tehnologija: #a091ee; --k-lokalno: #b59ad8; --k-ostalo: #98a0ab;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 120px; }
html.lock { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans);
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom)); overflow-wrap: anywhere;
  -webkit-tap-highlight-color: transparent; min-height: 100dvh;
}
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 8px; }

/* ---------- zaglavlje ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.top-in { height: var(--hdr); display: flex; align-items: center; gap: 8px; padding: 0 max(8px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); max-width: 1080px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px/1 var(--serif); letter-spacing: -.01em; min-height: 44px; margin-right: auto; }
.brand .mark { width: 28px; height: 28px; border-radius: 7px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 8px; color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--soft); }
.topnav { display: none; }

/* ---------- raspored ---------- */
.shell { max-width: 1080px; margin: 0 auto; }
.col { min-width: 0; max-width: 720px; margin: 0 auto; }
.side { display: none; }
main { padding: 0 max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left)); outline: none; }

/* ---------- teme (lepljivo) ---------- */
.cats { position: sticky; top: calc(var(--hdr) + env(safe-area-inset-top)); z-index: 15; background: var(--bg); border-bottom: 1px solid var(--line);
  display: flex; gap: 8px; overflow-x: auto; padding: 4px max(16px, env(safe-area-inset-right)) 4px max(16px, env(safe-area-inset-left)); scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.cats::-webkit-scrollbar { display: none; }
.cats[hidden] { display: none; }
.chip { flex: none; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; background: none; border: 1px solid transparent; border-radius: 8px; color: var(--muted); font-size: 15px; font-weight: 600; white-space: nowrap; }
.chip:hover { color: var(--ink); background: var(--soft); }
.chip[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.k { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--k-ostalo); flex: none; }
.k[data-c="politika"] { background: var(--k-politika); } .k[data-c="ekonomija"] { background: var(--k-ekonomija); }
.k[data-c="drustvo"] { background: var(--k-drustvo); } .k[data-c="sport"] { background: var(--k-sport); }
.k[data-c="kultura"] { background: var(--k-kultura); } .k[data-c="nauka"] { background: var(--k-nauka); }
.k[data-c="zdravlje"] { background: var(--k-zdravlje); } .k[data-c="tehnologija"] { background: var(--k-tehnologija); }
.k[data-c="lokalno"] { background: var(--k-lokalno); }

/* ---------- uvod strane ---------- */
.mast { padding: 20px 0 16px; border-bottom: 2px solid var(--ink); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mast-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 6px; }
.mast h1 { font: 700 32px/1.1 var(--serif); letter-spacing: -.02em; }
.mast-meta { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- dugmad ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; line-height: 1.2; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: none; color: var(--muted); }
.btn.ghost:hover { color: var(--ink); }
.btn:disabled { opacity: .7; cursor: progress; }
.sheet-open { flex: none; }

/* ---------- vesti ---------- */
.story { padding: 20px 0; border-bottom: 1px solid var(--line); transition: opacity .25s, transform .25s; }
.story.gone { opacity: 0; transform: translateX(16px); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--muted); }
.meta > * + *::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; vertical-align: middle; margin-right: 10px; opacity: .7; }
.tag { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; letter-spacing: .02em; }
.tag::before { display: none !important; }
.t { margin-top: 8px; font: 700 21px/1.25 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.lead .t { font-size: 26px; line-height: 1.18; letter-spacing: -.015em; }
.cyr { font-family: var(--sans); letter-spacing: 0; }
.t.cyr { font-weight: 700; }
.sum { margin-top: 8px; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.detail { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .22s ease, visibility 0s .22s; }
.detail.open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .22s ease; }
.detail-in { overflow: hidden; min-height: 0; }
.body { padding-top: 16px; max-width: 68ch; }
.body p { font: 400 17px/1.7 var(--serif); margin-bottom: 14px; }
.body p.note { font: 400 13px/1.5 var(--sans); color: var(--muted); }
.body p.err, .err { color: var(--err); font: 600 15px/1.5 var(--sans); }
.readbar { padding: 20px 0 8px; display: flex; justify-content: center; }

/* ---------- skeleton i stanja ---------- */
.skel { height: 14px; margin: 10px 0; border-radius: 4px; background: var(--soft); animation: pulse 1.4s ease-in-out infinite; }
.skel.big { height: 20px; }
.w1 { width: 96%; } .w2 { width: 78%; } .w3 { width: 30%; } .w4 { width: 55%; }
@keyframes pulse { 50% { opacity: .45; } }
.state { padding: 28px 0 8px; color: var(--muted); }
.state-t { font: 700 19px/1.3 var(--serif); color: var(--ink); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 1.2s ease-in-out infinite; }

/* ---------- događaji ---------- */
.day { padding-top: 24px; }
.day h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font: 700 22px/1.2 var(--serif); padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.day h2 span { font: 500 14px/1.2 var(--sans); color: var(--muted); }
.ev { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.datebox { text-align: center; line-height: 1; padding-top: 2px; }
.datebox b { display: block; font: 700 26px/1 var(--serif); }
.datebox small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ev h3 { font: 700 18px/1.3 var(--serif); }
.where { margin-top: 4px; font-size: 14px; color: var(--muted); }
.ev-d { margin-top: 6px; font-size: 16px; }
.ev-f { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.citytag { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }


/* ---------- donja navigacija (telefon, tablet) ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(2, 1fr); background: var(--surface);
  border-top: 1px solid var(--line); padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.tabbar button { height: var(--bar); background: none; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 12px; font-weight: 600; min-width: 0; padding: 0 4px; }
.tabbar button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabbar svg { width: 24px; height: 24px; }
.tabbar button[aria-current="page"] { color: var(--accent); }
.tabbar button[aria-current="page"] span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- izbor mesta ---------- */
.backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .2s; }
.backdrop.open { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-height: 86dvh; display: flex; flex-direction: column; background: var(--surface);
  border-radius: 14px 14px 0 0; box-shadow: var(--shadow); transform: translateY(100%); transition: transform .22s ease; padding-bottom: env(safe-area-inset-bottom); }
.sheet.open { transform: none; }
.sheet[hidden], .backdrop[hidden] { display: none; }
.sheet-grab { width: 36px; height: 4px; border-radius: 2px; background: var(--line); margin: 8px auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 4px 16px; }
.sheet-head h2 { font: 700 20px/1.2 var(--serif); }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 16px; }
.grp { margin-top: 12px; }
.grp h3, .side-t { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pl { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 12px; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-weight: 600; line-height: 1.2; }
.pl:hover { border-color: var(--muted); }
.pl[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--surface); color: var(--accent); }
.pl-c { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.pl-c.wait { opacity: .7; }

.toast { position: fixed; left: 50%; bottom: calc(var(--bar) + 16px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 60;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-size: 14px; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- tablet ---------- */
@media (min-width: 768px) {
  .mast { padding-top: 32px; }
  .mast h1 { font-size: 40px; }
  .t { font-size: 23px; }
  .lead .t { font-size: 32px; }
  .sum { font-size: 17px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sheet { left: 50%; right: auto; width: 640px; transform: translate(-50%, 100%); }
  .sheet.open { transform: translate(-50%, 0); }
  .ev { grid-template-columns: 64px minmax(0, 1fr); gap: 20px; }
}

/* ---------- računar ---------- */
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .tabbar, .sheet, .backdrop, .sheet-open { display: none !important; }
  .topnav { display: flex; gap: 4px; margin-right: 8px; }
  .topnav button { height: var(--hdr); padding: 0 14px; background: none; border: 0; border-bottom: 3px solid transparent; font-weight: 600; font-size: 15px; color: var(--muted); }
  .topnav button:hover { color: var(--ink); }
  .topnav button[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
  .brand { margin-right: auto; }
  .shell { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 48px; justify-content: center; padding: 0 24px; }
  .col { margin: 0; max-width: none; }
  .side { display: block; position: sticky; top: calc(var(--hdr) + 24px); align-self: start; max-height: calc(100dvh - var(--hdr) - 48px); overflow-y: auto; padding: 8px 0; }
  .side .grid { grid-template-columns: 1fr; gap: 2px; }
  .side .pl { min-height: 44px; border-color: transparent; background: none; }
  .side .pl:hover { background: var(--soft); }
  .side .pl[aria-pressed="true"] { background: var(--soft); border-color: transparent; box-shadow: inset 3px 0 0 var(--accent); }
  .side-t { margin-bottom: 0; }
  main, .cats { padding-left: 0; padding-right: 0; }
  .cats { -webkit-mask-image: none; mask-image: none; }
  .t { font-size: 24px; }
  .toast { bottom: 24px; }
  html { scroll-padding-top: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- traka "Instaliraj aplikaciju" (install.js) ---------- */
.ib { background: var(--soft); border-bottom: 1px solid var(--line); font-size: 14px; }
.ib-row { display: flex; align-items: center; gap: 10px; max-width: 1080px; margin: 0 auto; padding: 6px 8px 6px 16px; min-height: 48px; }
.ib-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: ibPulse 1.5s ease-in-out infinite; }
.ib-text { flex: 1; min-width: 0; font-weight: 600; line-height: 1.25; }
.ib-go { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 650; animation: ibGlow 2.4s ease-in-out infinite; }
.ib-x { flex: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; }
.ib-steps { max-width: 1080px; margin: 0 auto; padding: 2px 16px 14px 16px; color: var(--ink); }
.ib-steps ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; line-height: 1.45; }
@keyframes ibPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .25; transform: scale(.7); } }
@keyframes ibGlow { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 28%, transparent); } }
@media (prefers-reduced-motion: reduce) { .ib-dot, .ib-go { animation: none; } }

/* ---------- profil i podešavanja (panel odozdo na telefonu, prozor u sredini na većim ekranima) ---------- */
.pbd { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .2s; }
.pbd.open { opacity: 1; }
.prof { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; max-height: 92dvh; display: flex; flex-direction: column; background: var(--surface);
  border-radius: 14px 14px 0 0; box-shadow: var(--shadow); transform: translateY(100%); transition: transform .22s ease; padding-bottom: env(safe-area-inset-bottom); }
.prof.open { transform: none; }
.pbd[hidden], .prof[hidden], .langscr[hidden] { display: none; }
.prof-body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 20px; }
.psec { padding: 14px 0; border-bottom: 1px solid var(--line); }
.psec:last-of-type { border-bottom: 0; }
.psec h3 { font: 700 17px/1.25 var(--serif); }
.psub { margin-top: 2px; color: var(--muted); font-size: 14px; }
.lgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.lopt { min-height: 48px; padding: 6px 12px; text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-weight: 600; }
.lopt:hover { border-color: var(--muted); }
.lopt[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); background: var(--surface); }
.linkbtn { margin: 8px 0 0; min-height: 44px; padding: 0; background: none; border: 0; color: var(--accent); font-weight: 650; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.pgrp { margin-top: 8px; }
.pgrp h4 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 8px 0 4px; }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
.chk { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; cursor: pointer; font-size: 15px; }
.chk input { flex: none; width: 22px; height: 22px; accent-color: var(--accent); margin: 0; }
.perr { margin-top: 6px; color: var(--err); font-weight: 600; font-size: 14px; }
.devnote { margin-top: 12px; padding: 12px; background: var(--soft); border-radius: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
@media (min-width: 768px) {
  .prof { left: 50%; right: auto; bottom: auto; top: 50%; width: 600px; max-height: 86dvh; border-radius: 12px; opacity: 0; transform: translate(-50%, -46%); transition: transform .2s ease, opacity .2s; }
  .prof.open { opacity: 1; transform: translate(-50%, -50%); }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- prva strana: izbor jezika ---------- */
.langscr { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--bg); padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
.langscr-in { width: 100%; max-width: 420px; text-align: center; }
.langscr .mark { width: 64px; height: 64px; border-radius: 15px; }
.langscr h1 { margin-top: 10px; font: 700 30px/1.15 var(--serif); letter-spacing: -.01em; }
.langscr-q { margin: 8px 0 22px; color: var(--muted); font-size: 15px; }
.langscr-list { display: grid; gap: 10px; }
.lopt.big { min-height: 56px; font-size: 18px; border-radius: 10px; }
.langscr-s { margin-top: 18px; color: var(--muted); font-size: 13.5px; }

.trnote { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 8px 12px; background: var(--soft); border-radius: 8px; color: var(--muted); font-size: 14px; }

/* ---------- traka "Dostupna je nova verzija" (update.js) ---------- */
.upd { position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(var(--bar) + env(safe-area-inset-bottom) + 10px); display: flex; align-items: center; gap: 8px;
  padding: 6px 4px 6px 14px; background: var(--ink); color: var(--bg); border-radius: 10px; box-shadow: var(--shadow); font-size: 14.5px; font-weight: 600; }
.upd-t { flex: 1; min-width: 0; line-height: 1.3; }
.upd-go { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--bg); color: var(--ink); font-weight: 700; }
.upd-x { flex: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; font-size: 22px; opacity: .8; }
@media (min-width: 1024px) { .upd { left: auto; right: 24px; bottom: 24px; width: 420px; } }

/* ---------- registracija u profilu ---------- */
.regbtn { margin-top: 10px; }
.regform { display: grid; gap: 10px; margin-top: 12px; }
.fld { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.fld input { width: 100%; min-height: 48px; padding: 0 12px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; font: 400 16px var(--sans); }
.fld input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.regbtns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- "Moj brifing": vesti iz svih izabranih mesta u jednom toku ---------- */
.plc { font-weight: 700; color: var(--accent); }
.pl.all { grid-column: 1 / -1; border-color: var(--accent); }
.mix-more { display: flex; justify-content: center; margin-top: 16px; }

/* ---------- stranica "e-pošta potvrđena" (/api/verify) ---------- */
.vpage { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.vpage-in { max-width: 420px; text-align: center; }
.vpage .mark { border-radius: 15px; }
.vpage h1 { margin-top: 14px; font: 700 28px/1.2 var(--serif); }
.vpage .vtext { margin: 10px 0 22px; color: var(--muted); }

/* ---------- deljenje (panel, dugmad, istaknuta stavka kad se stigne preko linka) ---------- */
.shr-body { display: grid; gap: 8px; padding: 6px 16px 8px; }
.shr-msg { min-height: 22px; padding: 0 16px 16px; color: var(--muted); font-size: 14px; }
.shi { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  font: 600 16px var(--sans); color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; }
.shi:hover { border-color: var(--muted); }
.shi svg { width: 26px; height: 26px; flex: none; }
.shrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.shbtn svg { width: 18px; height: 18px; }
.detail-share { margin: 14px 0 0; }
.sr-only-ta { position: fixed; left: -9999px; top: 0; opacity: 0; }
.flash { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

/* ---------- nalog: upozorenje o nepotvrđenoj e-pošti ---------- */
.acct-warn { margin: 8px 0 12px; padding: 12px 14px; border-radius: 12px; background: rgba(230,168,23,.16); border: 1px solid rgba(230,168,23,.5); color: var(--ink); font-size: 14px; line-height: 1.45; }
.acct-ok { margin: 8px 0; color: #1fa971; font-weight: 700; }
