/* ============================================================
   UTRINEK — fiktivno socialno omrežje (Dosje №3 "Zadnja objava")
   Mobile-first, brez frameworkov. Brand: vijolično-roza gradient.
   ============================================================ */

:root {
  --grad-a: #7c3aed;
  --grad-b: #db2777;
  --grad-c: #f59e0b;
  --brand-grad: linear-gradient(45deg, #7c3aed 0%, #c026d3 45%, #db2777 75%, #f97316 100%);
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #111114;
  --ink-2: #55555e;
  --ink-3: #8a8a94;
  --line: #e6e6ea;
  --like: #ef2d56;
  --radius: 14px;
  --maxw: 470px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-brand: 'Space Grotesk', 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  min-height: 100dvh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--surface);
  min-height: 100dvh;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding-bottom: 76px; /* prostor za spodnjo navigacijo */
  position: relative;
}
@media (max-width: 500px) {
  .shell { border-left: none; border-right: none; }
}

/* ---------- zgornja vrstica ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  min-height: 54px;
}
.wordmark {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}
.wordmark .spark {
  width: 13px; height: 13px;
  margin-left: 3px;
  margin-top: -10px;
  flex: none;
}
.topbar .handle-title {
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.btn {
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 10px;
  transition: transform 0.08s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--brand-grad); color: #fff; }
.btn-ghost { background: #f0f0f4; color: var(--ink); }
.btn-sm { font-size: 13px; padding: 7px 14px; border-radius: 9px; }
.btn-block { display: block; width: 100%; text-align: center; }
.icon-btn { padding: 6px; display: inline-flex; border-radius: 50%; }
.icon-btn svg { width: 24px; height: 24px; }

/* ---------- avatarji ---------- */
.avatar {
  border-radius: 50%;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.3px;
  user-select: none;
  background: linear-gradient(135deg, #9ca3af, #6b7280);
}
.avatar.ring { box-shadow: 0 0 0 2px #fff, 0 0 0 4px transparent; position: relative; }
.avatar-ring-wrap {
  border-radius: 50%;
  padding: 2.5px;
  background: var(--brand-grad);
  display: inline-flex;
  flex: none;
}
.avatar-ring-wrap .avatar { border: 2.5px solid #fff; }
.av-24 { width: 24px; height: 24px; font-size: 10px; }
.av-32 { width: 32px; height: 32px; font-size: 12px; }
.av-40 { width: 40px; height: 40px; font-size: 15px; }
.av-56 { width: 56px; height: 56px; font-size: 20px; }
.av-84 { width: 84px; height: 84px; font-size: 30px; }

/* barvne variante avatarjev (determinirano po handle-u) */
.avc-0 { background: linear-gradient(135deg, #7c3aed, #db2777); }
.avc-1 { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.avc-2 { background: linear-gradient(135deg, #10b981, #0d9488); }
.avc-3 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.avc-4 { background: linear-gradient(135deg, #64748b, #334155); }
.avc-5 { background: linear-gradient(135deg, #ec4899, #f97316); }
.avc-6 { background: linear-gradient(135deg, #8b5cf6, #3b82f6); }
.avc-7 { background: linear-gradient(135deg, #14b8a6, #84cc16); }

/* ---------- verified značka ---------- */
.verified {
  width: 15px; height: 15px;
  flex: none;
  display: inline-block;
  vertical-align: -2px;
}

/* ---------- profil ---------- */
.profile-head { padding: 18px 16px 6px; }
.profile-row { display: flex; align-items: center; gap: 22px; }
.profile-stats {
  display: flex;
  flex: 1;
  justify-content: space-around;
  text-align: center;
}
.profile-stats b { display: block; font-size: 17px; }
.profile-stats span { color: var(--ink-2); font-size: 12.5px; }
.profile-bio { margin-top: 14px; font-size: 14px; }
.profile-bio .name { font-weight: 700; display: flex; align-items: center; gap: 5px; }
.profile-bio .bio-line { margin-top: 3px; white-space: pre-line; }
.profile-bio .bio-line a { color: #3b5aa9; font-weight: 500; }
.profile-actions { display: flex; gap: 8px; margin-top: 14px; }
.profile-actions .btn { flex: 1; }

/* memorial trak */
.memorial {
  margin: 14px 16px 0;
  border: 1px solid var(--line);
  background: #f7f7f9;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--ink-2);
  display: flex;
  gap: 8px;
  align-items: center;
}
.memorial svg { width: 16px; height: 16px; flex: none; }

/* ---------- highlights ---------- */
.highlights {
  display: flex;
  gap: 16px;
  padding: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.highlights::-webkit-scrollbar { display: none; }
.highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 66px;
  flex: none;
}
.highlight .hl-ring {
  width: 62px; height: 62px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #d9d9e0, #b9b9c4);
}
.highlight .hl-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}
.highlight span { font-size: 11.5px; color: var(--ink); }
.hl-vedra .hl-inner { background: linear-gradient(160deg, #e9e4d8, #cbb9a2); }
.hl-qa .hl-inner { background: linear-gradient(160deg, #7c3aed, #db2777); }
.hl-bts .hl-inner { background: linear-gradient(160deg, #1f2430, #4b5468); }

/* ---------- zavihki + grid ---------- */
.grid-tabs {
  display: flex;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.grid-tabs button {
  flex: 1;
  padding: 11px 0 10px;
  color: var(--ink-3);
  border-top: 1.5px solid transparent;
  margin-top: -1px;
}
.grid-tabs button.active { color: var(--ink); border-top-color: var(--ink); }
.grid-tabs svg { width: 22px; height: 22px; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.post-grid .tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}
.post-grid .tile .art { position: absolute; inset: 0; }
.tile .tile-badge {
  position: absolute;
  top: 6px; right: 6px;
  width: 18px; height: 18px;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
  z-index: 3;
}

/* ---------- stilizirani placeholderji kadrov (do AI fotk) ---------- */
.art {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #ddd;
}
.art::before, .art::after { content: ""; position: absolute; }

/* 1 — Bohinj, skok v vodo (dron) */
.art-1 { background: linear-gradient(180deg, #0e7490 0%, #155e75 45%, #164e63 100%); }
.art-1::before {
  inset: 0;
  background:
    radial-gradient(ellipse 26% 9% at 56% 58%, rgba(255,255,255,0.85), rgba(255,255,255,0) 70%),
    repeating-radial-gradient(circle at 56% 58%, rgba(255,255,255,0.14) 0 2px, transparent 2px 26px);
}
.art-1::after {
  inset: 0;
  background: radial-gradient(circle at 18% 14%, rgba(255,255,255,0.35), transparent 34%);
}

/* 2 — skodelica, zvezek, jutranje sonce */
.art-2 { background: linear-gradient(160deg, #fde8c8 0%, #f6cf9a 55%, #e0a96d 100%); }
.art-2::before {
  width: 34%; aspect-ratio: 1;
  left: 20%; top: 38%;
  border-radius: 50%;
  border: 10px solid rgba(255,255,255,0.85);
  background: #8a5a33;
  box-shadow: 14px 10px 24px rgba(120,70,20,0.25);
}
.art-2::after {
  inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255,244,214,0.55) 46%, rgba(255,244,214,0.55) 60%, transparent 64%);
}

/* 3 — črn kvadrat z drobnim logotipom (kanon: to JE kader) */
.art-3 { background: #0a0a0c; display: flex; align-items: center; justify-content: center; }
.art-3 .art-inner {
  color: #cbb9a2;
  font-family: var(--font-brand);
  font-size: clamp(11px, 3.2vw, 16px);
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  opacity: 0.9;
}

/* 4 — screenshot Q&A */
.art-4 { background: linear-gradient(160deg, #4c1d95, #831843); display: flex; align-items: center; justify-content: center; }
.art-4 .art-inner {
  background: rgba(255,255,255,0.96);
  color: #1f1f26;
  border-radius: 12px;
  padding: 8% 9%;
  max-width: 76%;
  font-size: clamp(10px, 3vw, 15px);
  font-weight: 600;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.art-4 .art-inner small { display: block; font-weight: 500; color: #8a8a94; margin-bottom: 4px; font-size: 0.72em; text-transform: uppercase; letter-spacing: 0.12em; }

/* 5 — izsek iz podcasta */
.art-5 { background: linear-gradient(200deg, #1e1b4b, #312e81 55%, #4c1d95); }
.art-5::before {
  width: 12%; aspect-ratio: 1/2.4;
  left: 44%; top: 30%;
  border-radius: 40px;
  background: linear-gradient(180deg, #c7c9d4, #8f92a3);
  box-shadow: 0 0 60px 18px rgba(167,139,250,0.35);
}
.art-5::after {
  width: 26%; height: 2.5%;
  left: 37%; top: 62%;
  border-radius: 6px;
  background: rgba(199,201,212,0.7);
}

/* 6 — snemalni studio, roka s serumom, RDEČI NOHTI, okno na Slovensko */
.art-6 { background: linear-gradient(200deg, #3f3a36 0%, #6b5d4f 55%, #8a745c 100%); }
.art-6::before {
  width: 38%; height: 52%;
  right: 8%; top: 10%;
  background: linear-gradient(180deg, #cfe0ee 0%, #9fb6ca 100%);
  border: 6px solid #2c2824;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.15);
}
.art-6::after {
  width: 10%; height: 26%;
  left: 26%; bottom: 12%;
  border-radius: 8px;
  background: linear-gradient(180deg, #e8d9c4, #d9c1a3 62%, #7f1d2e 62%);
  box-shadow: -18px 6px 0 -2px #7f1d2e, 16px 8px 0 -3px #7f1d2e;
  transform: rotate(-8deg);
}

/* 7 — flatlay: serum, led, bezgovi cvetovi */
.art-7 { background: linear-gradient(150deg, #f4f1e8, #e7e3d3 60%, #d8d4bf); }
.art-7::before {
  width: 22%; height: 44%;
  left: 39%; top: 26%;
  border-radius: 10px 10px 14px 14px;
  background: linear-gradient(180deg, #b7a488 12%, #cbb9a2 12%);
  box-shadow: 0 14px 26px rgba(90,80,50,0.22);
}
.art-7::after {
  inset: 0;
  background:
    radial-gradient(circle 5px at 24% 30%, #fff 60%, transparent 62%),
    radial-gradient(circle 4px at 30% 25%, #fff 60%, transparent 62%),
    radial-gradient(circle 5px at 74% 68%, #fff 60%, transparent 62%),
    radial-gradient(circle 4px at 79% 74%, #fff 60%, transparent 62%),
    radial-gradient(circle 3px at 70% 30%, #fff 60%, transparent 62%),
    radial-gradient(circle 14px at 22% 72%, rgba(199,222,235,0.85) 60%, transparent 65%),
    radial-gradient(circle 11px at 31% 79%, rgba(199,222,235,0.8) 60%, transparent 65%);
}

/* 8 — zamegljen kader z vaje govora */
.art-8 { background: linear-gradient(160deg, #26222e, #423a52 55%, #2a2436); }
.art-8::before {
  inset: -10%;
  background:
    radial-gradient(ellipse 26% 26% at 48% 45%, rgba(230,220,255,0.5), transparent 70%),
    radial-gradient(ellipse 14% 14% at 66% 30%, rgba(255,190,120,0.45), transparent 70%),
    radial-gradient(ellipse 10% 10% at 30% 62%, rgba(255,255,255,0.25), transparent 70%);
  filter: blur(14px);
}

/* 9 — selfie brez ličil, trda svetloba */
.art-9 { background: linear-gradient(180deg, #d9d5d0, #b9b3ad 60%, #948e88); }
.art-9::before {
  width: 46%; height: 58%;
  left: 27%; top: 18%;
  border-radius: 46% 46% 42% 42%;
  background: linear-gradient(200deg, #e9dccd, #cbb39c);
  box-shadow: -26px 10px 40px rgba(60,50,40,0.35);
}
.art-9::after {
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.5), transparent 38%, transparent 66%, rgba(30,25,20,0.28));
}

/* 10 — terasa Aurore, pogled na grad, pripravljeni kozarci */
.art-10 { background: linear-gradient(180deg, #f2b26b 0%, #d96f63 42%, #6f3d63 78%, #3c2a52 100%); }
.art-10::before {
  width: 100%; height: 26%;
  left: 0; bottom: 22%;
  background:
    linear-gradient(0deg, rgba(28,20,40,0.95), rgba(28,20,40,0.95));
  clip-path: polygon(0 78%, 8% 76%, 14% 62%, 22% 66%, 30% 52%, 36% 58%, 42% 34%, 47% 30%, 52% 36%, 58% 58%, 66% 50%, 74% 64%, 82% 58%, 90% 72%, 100% 68%, 100% 100%, 0 100%);
}
.art-10::after {
  width: 100%; height: 22%;
  left: 0; bottom: 0;
  background:
    radial-gradient(circle 4px at 20% 30%, rgba(255,225,180,0.9) 60%, transparent 65%),
    radial-gradient(circle 4px at 34% 42%, rgba(255,225,180,0.9) 60%, transparent 65%),
    radial-gradient(circle 4px at 52% 34%, rgba(255,225,180,0.9) 60%, transparent 65%),
    radial-gradient(circle 4px at 68% 44%, rgba(255,225,180,0.9) 60%, transparent 65%),
    radial-gradient(circle 4px at 82% 32%, rgba(255,225,180,0.9) 60%, transparent 65%),
    linear-gradient(0deg, #191227, #241a38);
}

/* 11 — POSNETEK V ŽIVO s partyja (beli nohti, nazdravljanje) */
.art-11 { background: linear-gradient(220deg, #12101c 0%, #2b1e3f 45%, #51284f 100%); }
.art-11::before {
  inset: 0;
  background:
    radial-gradient(ellipse 8% 8% at 62% 38%, rgba(255,215,140,0.9), transparent 70%),
    radial-gradient(ellipse 20% 20% at 62% 40%, rgba(255,190,110,0.35), transparent 72%),
    radial-gradient(circle 3px at 30% 24%, #ffe9c4 60%, transparent 65%),
    radial-gradient(circle 2px at 42% 60%, #ffe9c4 60%, transparent 65%),
    radial-gradient(circle 2px at 76% 66%, #ffe9c4 60%, transparent 65%),
    radial-gradient(circle 3px at 22% 74%, #ffe9c4 60%, transparent 65%);
}
.art-11::after {
  width: 12%; height: 30%;
  left: 56%; top: 34%;
  background: linear-gradient(180deg, rgba(255,240,210,0.9) 40%, rgba(255,240,210,0.25) 40%);
  clip-path: polygon(0 0, 100% 0, 62% 55%, 62% 88%, 84% 100%, 16% 100%, 38% 88%, 38% 55%);
}

/* 12 — ZADNJA OBJAVA: nočni skyline + roka s kozarcem, temno rdeči nohti */
.art-12 { background: linear-gradient(180deg, #070812 0%, #131433 48%, #2a1e4d 100%); }
.art-12::before {
  inset: 0;
  background:
    radial-gradient(ellipse 9% 9% at 76% 16%, #f4ecd8 55%, rgba(244,236,216,0.16) 62%, transparent 74%),
    radial-gradient(circle 2px at 18% 20%, #fff 60%, transparent 65%),
    radial-gradient(circle 1.6px at 34% 12%, #fff 60%, transparent 65%),
    radial-gradient(circle 1.6px at 52% 24%, #fff 60%, transparent 65%),
    radial-gradient(circle 2px at 88% 40%, #fff 60%, transparent 65%);
}
.art-12::after {
  width: 100%; height: 44%;
  left: 0; bottom: 0;
  background: linear-gradient(0deg, #05050c 55%, rgba(5,5,12,0.92));
  clip-path: polygon(0 42%, 7% 42%, 7% 26%, 15% 26%, 15% 48%, 24% 48%, 24% 14%, 33% 14%, 33% 40%, 44% 40%, 44% 30%, 55% 30%, 55% 52%, 64% 52%, 64% 8%, 72% 8%, 72% 44%, 83% 44%, 83% 28%, 92% 28%, 92% 50%, 100% 50%, 100% 100%, 0 100%);
}
.art-12 .art-inner {
  position: absolute;
  left: 8%; bottom: 6%;
  width: 20%; height: 34%;
  background: linear-gradient(190deg, rgba(233,216,190,0.92) 0%, rgba(217,193,163,0.92) 58%, #6d1626 58.5%);
  border-radius: 40% 40% 20% 20% / 30% 30% 12% 12%;
  transform: rotate(14deg);
  box-shadow: 26px -18px 0 -6px rgba(240,235,220,0.28);
  z-index: 2;
}

/* generični vzorci za predlagane objave na feedu */
.noise-1 { background: conic-gradient(from 40deg at 50% 50%, #ffe4f1, #e9d5ff, #cffafe, #ffe4f1); }
.noise-2 { background: repeating-linear-gradient(45deg, #dbeafe 0 14px, #ede9fe 14px 28px); }
.noise-3 { background: radial-gradient(circle at 30% 30%, #fef3c7, #fdba74 70%); }
.noise-4 { background: linear-gradient(160deg, #d1fae5, #a7f3d0 50%, #6ee7b7); }
.noise-5 { background: repeating-radial-gradient(circle at 70% 60%, #fce7f3 0 12px, #fbcfe8 12px 24px); }
.noise-6 { background: conic-gradient(from 200deg at 60% 40%, #e0e7ff, #c7d2fe, #a5b4fc, #e0e7ff); }

/* ---------- feed (index) ---------- */
.hero {
  padding: 34px 22px 26px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero .wordmark { font-size: 40px; }
.hero .wordmark .spark { width: 20px; height: 20px; margin-top: -18px; }
.hero p.tag { color: var(--ink-2); margin: 10px auto 20px; max-width: 300px; font-size: 14.5px; }
.hero .btn { min-width: 210px; }
.hero .hero-sub { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.hero .hero-sub button { color: #7c3aed; font-weight: 600; font-size: 12.5px; }

.section-label {
  padding: 18px 16px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.suggest-profiles { display: flex; gap: 10px; padding: 4px 16px 8px; overflow-x: auto; scrollbar-width: none; }
.suggest-profiles::-webkit-scrollbar { display: none; }
.profile-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px 14px;
  min-width: 138px;
  flex: none;
  text-align: center;
  background: var(--surface);
}
.profile-card .avatar { margin: 0 auto 8px; }
.profile-card .pc-name { font-weight: 700; font-size: 13px; display: flex; justify-content: center; align-items: center; gap: 4px; }
.profile-card .pc-handle { color: var(--ink-3); font-size: 12px; margin-bottom: 10px; }

/* feed kartice objav */
.feed-post { border-bottom: 1px solid var(--line); padding-top: 4px; }
.feed-post .fp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}
.fp-head .fp-names { flex: 1; min-width: 0; }
.fp-head .fp-user { font-weight: 600; font-size: 13.5px; display: flex; align-items: center; gap: 4px; }
.fp-head .fp-sub { color: var(--ink-3); font-size: 12px; }
.feed-post .fp-art { aspect-ratio: 4/5; position: relative; }
.feed-post .fp-art.sq { aspect-ratio: 1; }
.fp-actions { display: flex; align-items: center; gap: 14px; padding: 8px 14px 0; }
.fp-actions .spacer { flex: 1; }
.fp-actions svg { width: 25px; height: 25px; display: block; }
.fp-likes { padding: 7px 14px 0; font-weight: 600; font-size: 13.5px; }
.fp-caption { padding: 3px 14px 0; font-size: 13.5px; }
.fp-caption b { font-weight: 600; }
.fp-time { padding: 6px 14px 14px; color: var(--ink-3); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.02em; }

/* ---------- pogled objave (post view) ---------- */
.postview {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 12, 22, 0.5);
  display: none;
  justify-content: center;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.postview.open { display: flex; align-items: flex-start; }
.postview .pv-sheet {
  background: var(--surface);
  width: 100%;
  max-width: var(--maxw);
  min-height: 100%;
  animation: pv-in 0.22s ease;
}
@keyframes pv-in { from { transform: translateY(28px); opacity: 0.4; } to { transform: none; opacity: 1; } }
.pv-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.pv-topbar .pv-title { font-weight: 700; font-size: 15px; }
.pv-topbar .pv-title small { display: block; font-weight: 500; color: var(--ink-3); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.pv-art { aspect-ratio: 1; position: relative; }
.pv-badge-live {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 4;
  background: #e11d48;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 6px;
}
.studio-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-3);
  font-size: 11.5px;
}
.studio-tag svg { width: 12px; height: 12px; }
.pv-meta { padding: 4px 14px 8px; }
.pv-caption { font-size: 14px; padding-top: 6px; }
.pv-caption .hashtag { color: #3b5aa9; }
.pv-datetime { color: var(--ink-3); font-size: 11.5px; padding: 8px 0 2px; text-transform: uppercase; letter-spacing: 0.02em; }

.pv-comments { border-top: 1px solid var(--line); padding: 12px 14px 20px; }
.pv-comments .pvc-count { color: var(--ink-3); font-size: 13px; padding-bottom: 12px; }
.comment { display: flex; gap: 10px; padding: 7px 0; }
.comment .c-body { flex: 1; min-width: 0; }
.comment .c-user { font-weight: 600; margin-right: 5px; }
.comment .c-user .verified { width: 12px; height: 12px; }
.comment .c-text { font-size: 13.5px; overflow-wrap: anywhere; }
.comment .c-meta { color: var(--ink-3); font-size: 11.5px; margin-top: 3px; display: flex; gap: 12px; }
.comment .c-like { color: var(--ink-3); padding-top: 8px; }
.comment .c-like svg { width: 13px; height: 13px; }
.comment.removed {
  color: var(--ink-3);
  font-size: 12.5px;
  font-style: italic;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
}
.comment.removed svg { width: 15px; height: 15px; flex: none; }

.pv-addcomment {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
  position: sticky;
  bottom: 0;
  background: var(--surface);
}
.pv-addcomment input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 13.5px;
  background: none;
  color: var(--ink);
}

/* like animacija */
.like-btn.liked svg { fill: var(--like); stroke: var(--like); }
.like-btn.pop svg { animation: like-pop 0.35s ease; }
@keyframes like-pop { 0% { transform: scale(1); } 40% { transform: scale(1.32); } 100% { transform: scale(1); } }

/* ---------- modali ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 12, 22, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--surface);
  border-radius: 18px;
  padding: 26px 22px 20px;
  width: 100%;
  max-width: 330px;
  text-align: center;
  animation: modal-in 0.18s ease;
  box-shadow: 0 24px 60px rgba(20, 10, 40, 0.3);
}
@keyframes modal-in { from { transform: scale(0.94); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h3 { font-size: 16px; margin-bottom: 6px; }
.modal p { color: var(--ink-2); font-size: 13.5px; margin-bottom: 18px; }
.modal .avatar { margin: 0 auto 10px; }
.modal .m-handle { color: var(--ink-3); font-size: 13px; margin-bottom: 2px; }
.modal .m-name { font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.modal .m-private {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--ink-2);
  font-size: 13px;
  background: #f4f4f7;
  border-radius: 10px;
  padding: 12px;
  margin: 14px 0 16px;
}
.modal .m-private svg { width: 15px; height: 15px; }

/* ---------- story (highlight) pregled ---------- */
.story {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #0b0a12;
  display: none;
  align-items: center;
  justify-content: center;
}
.story.open { display: flex; }
.story .story-frame {
  width: 100%;
  max-width: 430px;
  height: 100dvh;
  max-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 26px 46px;
  overflow: hidden;
}
.story .story-bg { position: absolute; inset: 0; }
.story .story-head {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 4;
  color: #fff;
}
.story .story-head .s-user { font-weight: 600; font-size: 13.5px; }
.story .story-head .s-label { color: rgba(255,255,255,0.75); font-size: 12px; }
.story .story-head .icon-btn { margin-left: auto; color: #fff; }
.story .story-progress {
  position: absolute;
  top: 8px; left: 12px; right: 12px;
  height: 2.5px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  z-index: 4;
}
.story .story-progress i { display: block; height: 100%; width: 42%; background: #fff; border-radius: 4px; }
.story .story-content { position: relative; z-index: 3; color: #fff; }
.story .qa-q {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14.5px;
  margin-bottom: 14px;
  backdrop-filter: blur(6px);
}
.story .qa-q small { display: block; opacity: 0.75; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 5px; }
.story .qa-a {
  background: #fff;
  color: #17131f;
  border-radius: 14px;
  padding: 15px 16px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.story .story-caption { text-align: center; font-size: 15px; font-weight: 600; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }

/* ---------- spodnja navigacija ---------- */
.bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--maxw);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  padding: 8px 0 calc(10px + env(safe-area-inset-bottom));
  z-index: 50;
}
.bottomnav button, .bottomnav a { padding: 6px 14px; color: var(--ink); display: inline-flex; }
.bottomnav svg { width: 25px; height: 25px; }

/* ---------- footer ---------- */
.site-footer {
  padding: 26px 16px 34px;
  text-align: center;
  color: var(--ink-3);
  font-size: 12px;
}
.site-footer a { color: var(--ink-3); }
.site-footer a:hover { color: var(--ink-2); }
.site-footer .dot { margin: 0 6px; }

/* ---------- statične strani (pogoji, zasebnost) ---------- */
.doc { padding: 26px 20px 40px; max-width: 430px; }
.doc h1 { font-size: 21px; margin-bottom: 4px; }
.doc .doc-sub { color: var(--ink-3); font-size: 12.5px; margin-bottom: 22px; }
.doc h2 { font-size: 15px; margin: 20px 0 6px; }
.doc p { color: var(--ink-2); font-size: 13.5px; margin-bottom: 10px; }

/* util */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}
