/* BalkanLoop - NOVOSTI (3.10.2026.): izgled za sve iz js/novo.js - objava sa više slika, Nekad i sad, filteri i
   uređivanje videa, ankete, podijeljene objave, nacrti, Kafa u pet, statistika, Grad sedmice, rodni kraj. */

/* ------------------------------------------------------------ filteri (Uredi video / sliku) */
.post.fx-toplo .media video, .post.fx-toplo .media img, .tile.fx-toplo .topen img, .prev.fx-toplo video, .prev.fx-toplo .prev-img, .nvsw.fx-toplo { filter: sepia(.28) saturate(1.35) hue-rotate(-8deg) brightness(1.04); }
.post.fx-hladno .media video, .post.fx-hladno .media img, .tile.fx-hladno .topen img, .prev.fx-hladno video, .prev.fx-hladno .prev-img, .nvsw.fx-hladno { filter: saturate(.85) hue-rotate(14deg) brightness(1.03) contrast(1.06); }
.post.fx-cb .media video, .post.fx-cb .media img, .tile.fx-cb .topen img, .prev.fx-cb video, .prev.fx-cb .prev-img, .nvsw.fx-cb { filter: grayscale(1) contrast(1.12); }
.post.fx-retro .media video, .post.fx-retro .media img, .tile.fx-retro .topen img, .prev.fx-retro video, .prev.fx-retro .prev-img, .nvsw.fx-retro { filter: sepia(.45) contrast(.9) saturate(1.25) brightness(1.06); }
.post.fx-zivo .media video, .post.fx-zivo .media img, .tile.fx-zivo .topen img, .prev.fx-zivo video, .prev.fx-zivo .prev-img, .nvsw.fx-zivo { filter: saturate(1.65) contrast(1.1); }
.post.fx-sepija .media video, .post.fx-sepija .media img, .tile.fx-sepija .topen img, .prev.fx-sepija video, .prev.fx-sepija .prev-img, .nvsw.fx-sepija { filter: sepia(.9) contrast(1.02); }
.post.fx-toplo .car img { filter: sepia(.28) saturate(1.35) hue-rotate(-8deg) brightness(1.04); }
.post.fx-hladno .car img { filter: saturate(.85) hue-rotate(14deg) brightness(1.03) contrast(1.06); }
.post.fx-cb .car img { filter: grayscale(1) contrast(1.12); }
.post.fx-retro .car img { filter: sepia(.45) contrast(.9) saturate(1.25) brightness(1.06); }
.post.fx-zivo .car img { filter: saturate(1.65) contrast(1.1); }
.post.fx-sepija .car img { filter: sepia(.9) contrast(1.02); }
/* mali uzorak boje uz ime filtera */
.nvsw { display: inline-block; flex: none; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #f4a62a 0 30%, #2bb3a3 30% 62%, #e5533d 62%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.nvsw.fx-none { filter: none; }

/* ------------------------------------------------------------ objava sa više slika (niz) */
.car { position: absolute; inset: 0; z-index: 1; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; background: #000; cursor: pointer; }
.car::-webkit-scrollbar { display: none; }
.car img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; scroll-snap-stop: always; user-select: none; -webkit-user-drag: none; }
.car img.l { object-fit: contain; }
.ccount { position: absolute; right: 12px; top: calc(66px + var(--sat)); z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(16, 12, 10, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--glass-line); font-size: 12px; font-weight: 700; color: var(--dim); pointer-events: none; }
.ccount b { color: var(--text); }
/* 4.10.: isto ime klase ima i naslov prozora sa komentarima ("3 komentara") - tamo ostaje običan naslov, ne pločica
   preko šoljice za ćejf (od 3.10. je stajao gore desno, preko prvog komentara) */
.sheet-head .ccount { position: static; z-index: auto; padding: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; font: inherit; color: inherit; pointer-events: auto; }
.post:has(.sticker-ov) .ccount { top: calc(76px + var(--sat)); }
/* dok je traka "Kafa u pet" na ekranu, brojač i oznake Nekad/Sad idu ispod nje */
.phone:has(#kafabar:not([hidden])) .ccount, .phone:has(#kafabar:not([hidden])) .nis-l { top: calc(104px + var(--sat)); }
.phone[data-tab="local"]:has(#kafabar:not([hidden])) .ccount, .phone[data-tab="local"]:has(#kafabar:not([hidden])) .nis-l { top: calc(140px + var(--sat)); }

/* ------------------------------------------------------------ Nekad i sad (stara i nova slika, ručica na sredini) */
.nis { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: #000; }
.nis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.nis-nekad { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--nx, 50%)) 0 0); }
.nis::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--nx, 50%); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 10px rgba(0, 0, 0, .55); pointer-events: none; }
.nis-l { position: absolute; top: calc(66px + var(--sat)); z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(16, 12, 10, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 700 12.5px/1.2 var(--display); color: #fff; pointer-events: none; }
.nis-l1 { left: 12px; }
.nis-l2 { right: 12px; }
.nis-h { position: absolute; top: 44%; left: var(--nx, 50%); z-index: 2; width: 56px; height: 56px; margin: -28px 0 0 -28px; display: grid; place-items: center; border-radius: 50%; background: rgba(16, 12, 10, .55); border: 2px solid #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 6px 22px rgba(0, 0, 0, .5); cursor: ew-resize; touch-action: none; }
.nis-h span::before { content: "⇆"; font-size: 24px; line-height: 1; color: #fff; font-weight: 700; }
.nis-h:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.post.nis-drag .nis-h { transform: scale(1.08); background: rgba(244, 166, 42, .6); }

/* ------------------------------------------------------------ anketa na objavi i "Dijeli @neko" */
.vpoll { margin: 0 0 9px; padding: 9px 10px 8px; border-radius: 16px; background: rgba(16, 12, 10, .4); border: 1px solid var(--glass-line); }
.vpq { display: block; margin-bottom: 7px; font: 700 14.5px/1.25 var(--display); overflow-wrap: anywhere; }
.vpo { display: grid; gap: 6px; }
.vpo button { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 6px 12px; border-radius: 12px; background: rgba(251, 241, 227, .1); border: 1px solid transparent; color: var(--text); text-align: left; font-size: 13.5px; font-weight: 700; }
.vpo button:hover { background: rgba(251, 241, 227, .16); }
.vpo button i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); background: rgba(244, 166, 42, .3); transition: width .45s cubic-bezier(.3, .9, .3, 1); pointer-events: none; }
.vpo button.mine { border-color: var(--amber); }
.vpo button.mine i { background: rgba(244, 166, 42, .55); }
.vpo .vpt { position: relative; z-index: 1; min-width: 0; overflow-wrap: anywhere; }
.vpo em { position: relative; z-index: 1; flex: none; font-style: normal; font-weight: 800; font-size: 12.5px; }
.vpn { display: block; margin-top: 6px; font-size: 11.5px; color: var(--dim); }
.repby { display: flex; align-items: center; gap: 6px; margin: 0 0 7px; font-size: 12px; font-weight: 700; color: var(--amber2); }
.repby svg { width: 14px; height: 14px; flex: none; }
.repby span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------------------ pločica u mreži: oznaka niza / Nekad i sad */
.tmulti { position: absolute; right: 7px; bottom: 7px; z-index: 1; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 8px; background: rgba(16, 12, 10, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 13px; font-weight: 800; line-height: 1; pointer-events: none; }
.tmulti svg { width: 13px; height: 13px; }
.tile:has(.tbadges) .tmulti { bottom: 34px; }

/* ------------------------------------------------------------ objava: Video / Slika / Nekad i sad, dodaci */
.seg.utype.three { grid-template-columns: repeat(3, 1fr); }
.seg.utype.three button { font-size: 12.5px; }
.nv-drafts { margin: 16px 0 0; }
.nv-drafts:empty { display: none; }
.nvu-sec { margin: 18px 0 0; }
.nvu-sec .lbl { align-items: center; }
.nvu-sec .lbl .linkbtn { margin-left: auto; }
.lbl.sub { margin-top: 12px; }
.nvu-note { display: block; margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--dim); }
.nvu-note:empty { display: none; }
.nvu-niz { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.nvu-niz::-webkit-scrollbar { display: none; }
.nvu-th { position: relative; flex: 0 0 64px; height: 86px; border-radius: 12px; overflow: hidden; background: var(--card2); border: 1px solid var(--line); }
.nvu-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nvu-th > b { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 0; background: var(--amber); color: var(--ink); font-size: 10px; text-align: center; }
.nvu-th > button[data-nvrm], .nvu-th > button[data-nvdel] { position: absolute; top: 3px; right: 3px; z-index: 1; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(16, 12, 10, .72); color: #fff; }
.nvu-th > button svg { width: 12px; height: 12px; }
.nvu-th.draft { flex-basis: 70px; height: 96px; }
.nvd-open { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; color: var(--dim); }
.nvd-open i { display: grid; place-items: center; }
.nvd-open i svg { width: 22px; height: 22px; }
.nvd-open small { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 2px; background: linear-gradient(transparent, rgba(16, 12, 10, .85)); color: #fff; font-size: 10px; font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvu-add { flex: 0 0 64px; height: 86px; display: grid; place-content: center; justify-items: center; gap: 3px; border-radius: 12px; border: 1.5px dashed rgba(251, 241, 227, .28); color: var(--dim); font-size: 11px; font-weight: 700; }
.nvu-add svg { width: 20px; height: 20px; color: var(--amber); }
.nvu-add:hover { border-color: var(--amber); color: var(--text); }
.nvu-nis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nvu-slot { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--card2); border: 1px solid var(--line); }
.nvu-slot.empty { border: 1.5px dashed rgba(251, 241, 227, .28); }
.nvu-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nvu-slot > b { position: absolute; left: 6px; top: 6px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: rgba(16, 12, 10, .68); font: 700 12px/1.2 var(--display); color: #fff; }
.nvu-slot input { position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 1; height: 32px; border-radius: 10px; border: 1px solid var(--glass-line); background: rgba(16, 12, 10, .7); color: var(--text); text-align: center; font-size: 14px; outline: none; }
.nvu-slot input:focus { border-color: var(--amber); }
.nvu-pick { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 0 10px 40px; color: var(--dim); font-size: 12px; font-weight: 700; text-align: center; }
.nvu-pick svg { width: 26px; height: 26px; color: var(--amber); }
.nvu-chg { position: absolute; right: 6px; top: 6px; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(16, 12, 10, .68); color: #fff; }
.nvu-chg svg { width: 15px; height: 15px; }
.nvu-trim { display: grid; gap: 10px; }
.nvu-trim label { display: grid; gap: 4px; font-size: 13px; color: var(--dim); }
.nvu-trim label b { color: var(--text); font-variant-numeric: tabular-nums; }
.nvu-trim input[type="range"] { width: 100%; accent-color: var(--amber); }
.nvu-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 0; font-weight: 700; font-size: 13px; }
.seg.nvu-sp { flex: 1; max-width: 250px; grid-template-columns: repeat(4, 1fr); }
.seg.nvu-sp button { height: 32px; font-size: 13px; }
.chips.nvu-fl { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips.nvu-fl::-webkit-scrollbar { display: none; }
.chips.nvu-fl .chip { flex: none; gap: 7px; padding: 6px 12px 6px 7px; }
.nvu-in { display: block; width: 100%; height: 42px; margin: 0 0 8px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card2); color: var(--text); font: inherit; font-size: 15px; outline: none; }
.nvu-in:focus { border-color: var(--amber); }
.nvu-sec > .linkbtn { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 4px 0; }
.nvu-sec .linkbtn svg { width: 14px; height: 14px; flex: none; }
.nvu-polladd svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------ uredi profil: rodni kraj */
.ehome { margin: 18px 0 8px; font-size: 12.5px; line-height: 1.45; color: var(--dim); }

/* ------------------------------------------------------------ pošalji prijatelju (spisak razgovora) i objava u poruci */
.nvdm .nvsend { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--card2); color: var(--amber); }
.nvdm .nvsend svg { width: 18px; height: 18px; }
.nvdm .lkrow.sent .nvsend { background: var(--teal); color: #fff; }
.nvdm .lkrow:disabled { opacity: 1; }
.dmpost { display: flex; align-items: center; gap: 10px; max-width: 250px; padding: 6px 10px 6px 6px; border-radius: 14px; background: rgba(16, 12, 10, .25); color: inherit; text-align: left; }
.dmpost img, .dmpost-ph { flex: none; width: 54px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--card3); display: grid; place-items: center; }
.dmpost-ph svg { width: 20px; height: 20px; }
.dmpost-t { min-width: 0; display: grid; gap: 2px; }
.dmpost-t b { font-size: 13px; }
.dmpost-t small { font-size: 12px; opacity: .82; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ------------------------------------------------------------ Moj kraj: "Odakle sam" (ispod čipa sa krajem) */
#homechip { top: calc(94px + var(--sat)); }
#homechip.on { background: var(--amber); border-color: transparent; color: var(--ink); }
#homechip.on svg { color: var(--ink); }
.phone:has(#homechip:not([hidden])) .hint { top: calc(132px + var(--sat)); }

/* ------------------------------------------------------------ Kafa u pet: traka na toku */
#kafabar { position: absolute; left: 50%; top: calc(58px + var(--sat)); z-index: 7; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; max-width: calc(100% - 24px); padding: 3px 3px 3px 12px; border-radius: 999px; background: rgba(23, 17, 14, .8); border: 1px solid rgba(244, 166, 42, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 26px rgba(0, 0, 0, .45); animation: kbIn .35s ease both; }
.phone[data-tab="local"] #kafabar { top: calc(94px + var(--sat)); }
.phone:has(#homechip:not([hidden])) #kafabar { top: calc(130px + var(--sat)); }
#kafabar .kb-go { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 0; font-size: 13px; font-weight: 700; color: var(--text); }
#kafabar .kb-go svg { width: 19px; height: 19px; flex: none; color: var(--amber); }
#kafabar .kb-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
#kafabar .kb-x { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--dim); }
#kafabar .kb-x svg { width: 14px; height: 14px; }
#kafabar.now { background: var(--amber); border-color: transparent; animation: kbIn .35s ease both, kbGlow 1.8s ease-in-out infinite; }
#kafabar.now .kb-go, #kafabar.now .kb-x, #kafabar.now .kb-go svg { color: var(--ink); }
@keyframes kbIn { from { opacity: 0; transform: translate(-50%, -8px); } }
@keyframes kbGlow { 0%, 100% { box-shadow: 0 8px 26px rgba(0, 0, 0, .45), 0 0 0 0 rgba(244, 166, 42, .55); } 50% { box-shadow: 0 8px 26px rgba(0, 0, 0, .45), 0 0 0 8px rgba(244, 166, 42, 0); } }

/* ------------------------------------------------------------ Kafa u pet: ekran */
.kbody .kwhy { margin: 4px 0 12px; font-size: 13px; line-height: 1.45; color: var(--dim); }
.kbox { margin: 0 0 6px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.kbox.go, .kbox.wait { text-align: center; }
.kbox.go { background: linear-gradient(160deg, rgba(244, 166, 42, .16), var(--card) 70%); border-color: rgba(244, 166, 42, .4); }
.kbox .kt, .kbox.wait b { display: block; font: 700 17px/1.3 var(--display); font-variant-numeric: tabular-nums; }
.kbox .kt { color: var(--amber2); }
.kbtns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.kbox.mine { display: flex; align-items: center; gap: 12px; }
.kbox.mine img { flex: none; width: 84px; height: 84px; border-radius: 14px; object-fit: cover; }
.kbox.mine > div { min-width: 0; display: grid; justify-items: start; gap: 5px; }
.kbox.mine b { font: 700 16px/1.2 var(--display); }
.kbox.mine .linkbtn.danger { margin: 0; padding: 2px 0; }
.kniz { font-size: 13px; font-weight: 800; color: var(--amber2); }
.kniz:empty { display: none; }
.kbox.new { display: grid; gap: 10px; }
.kbox.new img { width: 100%; max-height: 320px; border-radius: 14px; object-fit: cover; }
.knew { display: grid; gap: 8px; justify-items: center; }
.kcap { width: 100%; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card2); color: var(--text); font: inherit; font-size: 15px; outline: none; }
.kcap:focus { border-color: var(--amber); }
.knew .btn { width: 100%; }
.kbadge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(201, 65, 45, .92); color: #fff; font-size: 11px; font-weight: 800; white-space: nowrap; }
.kbadge.ok { background: rgba(26, 140, 127, .94); color: #fff; }
.kgrid-wrap { position: relative; }
.kgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kcard { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--card); }
.kcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kc-top { position: absolute; left: 8px; top: 8px; }
.kc-bot { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 8px 8px; background: linear-gradient(transparent, rgba(16, 12, 10, .88)); }
.kc-who { display: flex; align-items: center; gap: 7px; max-width: 100%; text-align: left; color: #fff; }
.kc-who > span { min-width: 0; display: grid; gap: 1px; }
.kc-who b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kc-who small { display: flex; align-items: center; gap: 3px; font-size: 11px; color: var(--dim); overflow: hidden; white-space: nowrap; }
.kc-who small svg { width: 11px; height: 11px; flex: none; color: var(--amber); }
.kc-who .av { --s: 28px; }
.kc-bot p { margin: 5px 0 0; font-size: 12px; line-height: 1.3; overflow-wrap: anywhere; }
.kc-cejf { position: absolute; right: 8px; bottom: 100%; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px 5px 7px; border-radius: 999px; background: rgba(16, 12, 10, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--glass-line); color: #fff; font-size: 12px; }
.kc-cejf svg { width: 18px; height: 18px; }
.kc-cejf.on { color: var(--amber2); border-color: rgba(244, 166, 42, .6); }
.kc-cejf.on .cpb { fill: var(--amber); stroke: var(--amber); }
.kc-cejf.on .cph, .kc-cejf.on .cps { stroke: var(--amber); }
.kgrid.locked .kcard > img { filter: blur(16px) brightness(.7); transform: scale(1.12); }
.kgrid.locked .kc-bot p, .kgrid.locked .kc-cejf { display: none; }
.kgrid.locked { pointer-events: none; user-select: none; }
.klock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -30%); width: min(86%, 300px); display: grid; justify-items: center; gap: 8px; padding: 16px 14px; border-radius: 18px; background: rgba(23, 17, 14, .86); border: 1px solid rgba(244, 166, 42, .45); text-align: center; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.klock svg { width: 26px; height: 26px; color: var(--amber); }

/* ------------------------------------------------------------ Otkrij: kartice Kafa u pet / Grad sedmice, naši po svijetu */
.nvcards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 4px; }
.nvcard { min-width: 0; display: grid; justify-items: start; align-content: start; gap: 3px; padding: 13px 13px 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-align: left; transition: transform .12s, background .15s; }
.nvcard:hover { background: var(--card2); }
.nvcard:active { transform: scale(.98); }
.nvcard .nvc-ico { font-size: 24px; line-height: 1; margin-bottom: 3px; }
.nvcard b { font: 700 16px/1.2 var(--display); }
.nvcard small { font-size: 12px; line-height: 1.35; color: var(--dim); }
.nvcard.kafa { background: linear-gradient(150deg, rgba(244, 166, 42, .18), var(--card) 75%); }
.nvcard.grad { background: linear-gradient(150deg, rgba(43, 179, 163, .16), var(--card) 75%); }
.nvcard.hot { border-color: var(--amber); animation: kbGlow 1.8s ease-in-out infinite; }
.nvcard.hot small { color: var(--amber2); font-weight: 700; }
.nvdias { display: flex; align-items: center; gap: 10px; width: 100%; margin: 6px 0 4px; padding: 11px 13px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-align: left; font-size: 20px; }
.nvdias > span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.nvdias b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvdias small { font-size: 12px; color: var(--dim); }
.nvdias > svg { width: 16px; height: 16px; flex: none; color: var(--dim); }

/* ------------------------------------------------------------ Grad sedmice (lista) */
.nvrank { list-style: none; margin: 0; padding: 0; }
.nvrank li button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 2px; border-bottom: 1px solid var(--line); color: var(--text); text-align: left; }
.nvrank li:last-child button { border-bottom: 0; }
.nvrank .rk { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--card2); font: 700 15px/1 var(--display); }
.nvrank li:first-child .rk { background: var(--amber); color: var(--ink); }
.nvrank b { flex: 1; min-width: 0; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvrank small { flex: none; font-size: 12px; color: var(--dim); }
.nvrank svg { width: 16px; height: 16px; flex: none; color: var(--dim); }

/* ------------------------------------------------------------ profil: Statistika, niz kafe, rodom iz */
.nvprof { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.nvprof:not(:has(> :not([hidden]))) { display: none; }
.nvprof .chip { padding: 6px 12px; font-size: 12.5px; }
.nvprof .chip b { font-weight: 700; }
.nvprof .chip.home { cursor: default; }
.ptabs.two button { flex: 1; }

/* ------------------------------------------------------------ statistika (ekran) */
.stbody .sh small { font: 600 12px/1 system-ui, sans-serif; color: var(--dim); margin-left: 4px; }
.sttiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.sttile { display: grid; gap: 2px; padding: 13px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.sttile b { font: 700 25px/1.1 var(--display); color: var(--amber2); font-variant-numeric: tabular-nums; }
.sttile span { font-size: 13px; font-weight: 700; }
.sttile small { font-size: 11.5px; color: var(--dim); }
.stchart { padding: 12px 12px 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.stchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.stchart rect { fill: var(--amber); }
.stchart rect:hover { fill: var(--amber2); }
.stchart text { fill: var(--dim); font-size: 9px; font-family: system-ui, sans-serif; }
.stmax { margin: 4px 0 0; font-size: 11px; color: var(--dim); text-align: right; }
.strow { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 2px; border-bottom: 1px solid var(--line); color: var(--text); text-align: left; }
.strow:last-child { border-bottom: 0; }
.strow img, .strow > i { flex: none; width: 42px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--card2); }
.strow .stc { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strow .stn { flex: none; display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--dim); }
.strow .stn svg { width: 14px; height: 14px; color: var(--amber); }

/* ------------------------------------------------------------ dobrodošlica/prijava: preuzmi aplikaciju za Android */
.ioswel.wapk { margin-top: 14px; color: var(--text); text-decoration: none; background: rgba(43, 179, 163, .12); border-color: rgba(43, 179, 163, .45); }
.ioswel.wapk > svg { color: #6fd8cb; }
.ioswel.wapk:hover { background: rgba(43, 179, 163, .2); }
.ioswel.wapk[hidden] { display: none; }

/* ------------------------------------------------------------ 20.10.: AI slike (js/ai-slike.js) */
.btn.uai, .uai { margin-top: 10px; background: rgba(43, 179, 163, .12); border-color: rgba(43, 179, 163, .45); color: #b8f0e8; }
.uai:hover { background: rgba(43, 179, 163, .2); }
.ai-slika .ai-form { display: flex; flex-direction: column; gap: 8px; }
.ai-slika .ai-opis, .ai-slika .ai-tekst { width: 100%; box-sizing: border-box; }
.ai-slika .ai-poz { margin: 2px 0 6px; }
.ai-slika .ai-make { margin-top: 6px; }
.ai-slika .ai-left { margin: 0; text-align: center; font-size: 13px; color: var(--dim); }
.ai-slika .ai-rules { font-size: 12px; opacity: .8; }
.ai-wait { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 70px 16px; text-align: center; }
.ai-wait[hidden], .ai-done[hidden], .ai-form[hidden] { display: none; }
.ai-wait .ai-spin { position: static; margin: 0 0 8px; opacity: 1; }
.ai-wait small { color: var(--dim); }
.ai-done { display: flex; flex-direction: column; gap: 12px; }
.ai-done .ai-img { width: 100%; max-width: 520px; align-self: center; border-radius: 14px; display: block; }
.ai-done .uact .btn { text-decoration: none; text-align: center; }
.ai-ov { position: absolute; left: 12px; top: calc(66px + var(--sat)); z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(16, 12, 10, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--glass-line); font-size: 12px; font-weight: 700; color: var(--text); pointer-events: none; }

/* 20.10.: stilovi muzike (dugmad iznad liste u izboru muzike) */
.mchips { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin: 8px 0 4px; padding-bottom: 4px; scrollbar-width: none; }
.mchips::-webkit-scrollbar { display: none; }
.mchips .chip { flex: none; }
.mchips .chip.on { background: rgba(244, 166, 42, .22); border-color: rgba(244, 166, 42, .6); color: #ffd9a0; }

/* 21.10.: AI slika - "Od moje slike" (stilovi, fotografija, potvrda) */
.ai-slika .ai-nacin { margin-bottom: 4px; }
.ai-slika .ai-izvor { display: flex; gap: 8px; }
.ai-slika .ai-izvor .btn { flex: 1; }
.ai-slika .ai-ulaz { width: 100%; max-height: 300px; object-fit: contain; border-radius: 14px; background: #000; margin-top: 4px; }
.ai-slika .ai-stilovi { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-slika .ai-stilovi .chip.on { background: rgba(244, 166, 42, .22); border-color: rgba(244, 166, 42, .6); color: #ffd9a0; }
.ai-slika .ai-pristanak { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--dim); margin-top: 4px; }
.ai-slika .ai-pristanak input { margin-top: 2px; }
.ai-slika .ai-moja { display: flex; flex-direction: column; gap: 8px; }
.ai-slika .ai-moja[hidden] { display: none; }
