/* =========================================================================
   zoora bookmark - "magični" izgled u duhu Radosnica appa
   Topla espresso "lampa" noć + sjaj, prozirne kartice, Fraunces + Poppins.
   Iste klase kao app.js. Mobilni-first PWA.
   ========================================================================= */

:root {
  --a:    #c7ad7f;   /* mesing-svijetli akcent */
  --b:    #b08a52;
  --p:    #8f6b3a;   /* mesing tamni */
  --gold: #d3b782;
  --ink:  #ece2d2;   /* meki tekst */
  --mut:  #b3a48c;   /* prigušeni */
  --hi:   #f4ecdb;   /* naslovi */
  --line: rgba(190,165,125,.15);
  --card: rgba(255,255,255,.05);
  --cardb:rgba(190,165,125,.2);
  --rose: #e6a9c2;   /* misao */
  --maxw: 480px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Inter Tight", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(130% 90% at 50% -5%, #2b2012 0%, #171008 45%, #0d0906 100%) fixed;
  min-height: 100dvh; letter-spacing: .1px; overflow-x: hidden; line-height: 1.5;
}
/* zvjezdana prašina (suptilno zrno) + gornji sjaj */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(90% 50% at 50% -5%, rgba(170,140,95,.25), transparent 60%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Lebdeća slova (u duhu molitvenika) + parallax ---------- */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fl { position: absolute; bottom: -14%; will-change: transform; } /* parallax transform postavlja JS */
.fl-anim { display: block; opacity: 0; will-change: transform, opacity; animation-timing-function: linear; animation-iteration-count: infinite; }
.fl-letter { color: var(--a); font-family: "Instrument Serif", Georgia, serif; font-weight: 500; line-height: 1; user-select: none; text-shadow: 0 0 12px rgba(210,192,160,.35); }
.fl-letter .fl-anim { animation-name: letterdrift; }
.fl-letter:nth-of-type(3n) { color: var(--gold); text-shadow: 0 0 12px rgba(230,201,146,.4); }
/* slova plutaju prema gore uz blagu rotaciju - jedva vidljivo */
@keyframes letterdrift {
  0%   { transform: translateY(0) rotate(-8deg); opacity: 0; }
  15%  { opacity: .17; }
  50%  { transform: translateY(-58vh) rotate(8deg); opacity: .13; }
  85%  { opacity: .06; }
  100% { transform: translateY(-120vh) rotate(-4deg); opacity: 0; }
}

#app { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 22px 16px 90px; }

/* ---------- Tipografija ---------- */
.display { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: 0; line-height: 1.1; color: var(--hi); }
.eyebrow { font-family: "Inter Tight", sans-serif; font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--a); display: inline-flex; align-items: center; gap: 9px; }
.muted { color: var(--mut); }

/* ---------- Masthead ---------- */
.bm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 2px 16px; margin-bottom: 18px; }
.bm-brand { display: flex; align-items: center; gap: 12px; }
.ribbon { width: 10px; height: 34px; border-radius: 0 0 4px 4px; background: linear-gradient(var(--b), var(--p)); flex: none; box-shadow: 0 6px 16px -6px var(--p); position: relative; }
.ribbon::after { content: ""; position: absolute; bottom: -6px; left: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--p); }
.bm-brand h1 { font-family: "Instrument Serif", serif; font-size: 25px; margin: 0; line-height: 1; font-weight: 400; color: var(--hi); }
.bm-logo { height: 14px; display: block; margin-top: 6px; opacity: .9; }
.bm-brand .sub { font-family: inherit; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--a); font-weight: 600; margin-top: 4px; }

/* ---------- Gumbi ---------- */
.btn { font-family: "Inter Tight", sans-serif; font-size: 13px; font-weight: 500; padding: 9px 18px; border-radius: 30px; border: 1px solid var(--cardb); background: var(--card); color: var(--ink); cursor: pointer; transition: transform .12s ease, background .18s ease, border-color .18s ease; }
.btn:hover { background: rgba(255,255,255,.09); border-color: var(--a); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(120deg, var(--b), var(--p)); border: none; color: #fff; font-weight: 500; box-shadow: 0 12px 28px -10px rgba(140,112,68,.85); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--card); }
.btn-link { background: none; border: none; color: var(--a); padding: 4px 2px; cursor: pointer; font-family: "Inter Tight", sans-serif; font-size: 13px; font-weight: 500; }
.btn-sm { font-size: 12.5px; padding: 7px 14px; }

/* ---------- Tabovi (pill segment) ---------- */
.tabs { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: 4px; margin-bottom: 24px; }
.tab { flex: 1; background: none; border: none; color: var(--mut); font-family: "Inter Tight", sans-serif; font-size: 12px; font-weight: 500; padding: 9px 4px; border-radius: 30px; cursor: pointer; transition: .16s; }
.tab:hover { color: var(--ink); }
.tab.on { background: linear-gradient(120deg, var(--b), var(--p)); color: #fff; box-shadow: 0 8px 20px -10px rgba(140,112,68,.8); }

/* ---------- Trenutna knjiga ---------- */
.now { animation: rise .5s both; }
.now > .eyebrow { margin-bottom: 4px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--a); box-shadow: 0 0 10px var(--a); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(196,175,140,.5);} 70% { box-shadow: 0 0 0 8px rgba(196,175,140,0);} 100% { box-shadow: 0 0 0 0 rgba(196,175,140,0);} }
.book-title { font-size: 33px; margin: 8px 0 3px; }
.book-author { font-family: "Instrument Serif", serif; font-style: italic; color: var(--a); font-size: 17px; margin: 0 0 12px; }
.readers { font-size: 13px; color: var(--mut); display: flex; align-items: center; gap: 9px; }

/* napredak kao LINIJA (svjetleća) */
.progress { margin: 20px 0 26px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.progress .lbl { display: flex; justify-content: space-between; align-items: baseline; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); font-weight: 500; margin-bottom: 16px; }
.progress .lbl span:last-child { font-family: "Instrument Serif", serif; font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--hi); }
.pline { position: relative; height: 18px; display: flex; align-items: center; }
.pline.click { cursor: pointer; }
.pline .track { position: absolute; left: 0; right: 0; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); }
.pline .fill { position: absolute; left: 0; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--b), var(--a)); box-shadow: 0 0 12px rgba(196,175,140,.6); transition: width .3s ease; }
.pline .knob { position: absolute; top: 50%; width: 15px; height: 15px; border-radius: 50%; background: var(--hi); transform: translate(-50%,-50%); box-shadow: 0 0 14px rgba(222,208,178,.9), 0 0 0 4px rgba(140,112,68,.35); transition: left .3s ease; }
.stepper { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.stepper .ch { font-size: 12px; color: var(--mut); }

/* Misao dana - blistava kartica (kao radosnica poruka dana) */
.qotd { position: relative; text-align: center; border-radius: 26px; padding: 30px 22px 24px; margin: 6px 0 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(170,140,95,.38), rgba(140,112,68,.12));
  border: 1px solid rgba(210,192,160,.4); box-shadow: 0 22px 60px -20px rgba(140,112,68,.7); }
.qotd::before { content: "\201C"; position: absolute; left: 50%; transform: translateX(-50%); top: -22px; font-family: "Instrument Serif", serif; font-size: 120px; color: rgba(210,192,160,.14); pointer-events: none; line-height: 1; }
.qotd .qhead { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.qotd .qhead .eyebrow { color: var(--a); }
.qotd .q { font-family: "Instrument Serif", serif; font-style: italic; font-size: 23px; line-height: 1.42; color: var(--hi); display: block; }
.qotd .q::before { content: none; }
.qotd .src { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); margin-top: 16px; font-weight: 500; }
.qotd .src b { color: var(--a); font-weight: 500; }
.qotd .shuffle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-top: 18px; font-size: 13px; font-weight: 500; background: linear-gradient(120deg, var(--b), var(--p)); border: none; border-radius: 30px; padding: 9px 22px; color: #fff; cursor: pointer; box-shadow: 0 12px 28px -8px rgba(140,112,68,.85); font-family: inherit; }

/* ---------- Sekcije / bilješke ---------- */
.section-h { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 0 14px; }
.section-h h3 { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 23px; margin: 0; color: var(--hi); }
.section-h .count { font-size: 12px; color: var(--mut); font-variant-numeric: tabular-nums; }

.note { position: relative; padding: 14px 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; animation: rise .45s both; }
.note::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--a); }
.note.t-quote::before { background: var(--gold); }
.note.t-thought::before { background: var(--rose); }
.note .meta { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: 7px; display: flex; gap: 12px; align-items: center; font-weight: 500; }
.note .meta .tip { color: var(--a); }
.note.t-quote .meta .tip { color: var(--gold); }
.note.t-thought .meta .tip { color: var(--rose); }
.note .body { font-size: 15px; line-height: 1.6; color: rgba(236,226,210,.78); }
.note.t-quote .body { font-family: "Instrument Serif", serif; font-style: italic; font-size: 19px; line-height: 1.4; color: var(--hi); }
.note .del { position: absolute; top: 10px; right: 12px; opacity: 0; transition: opacity .2s; }
.note:hover .del { opacity: 1; }

/* "bez spoilera" - blistavi pečat */
.sealed { position: relative; margin: 24px 0 4px; padding: 22px; text-align: center; border-radius: 20px; color: var(--a); font-size: 13px;
  background: linear-gradient(160deg, rgba(230,201,146,.12), rgba(230,201,146,.03)); border: 1px solid rgba(230,201,146,.28); }
.sealed .wax { display: inline-block; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd98a, #d8a85c); margin-bottom: 12px; box-shadow: 0 0 18px rgba(230,201,146,.5), inset 0 -2px 6px rgba(120,70,10,.4); }

/* prazno stanje */
.empty { text-align: center; padding: 46px 16px; color: var(--mut); }
.empty .display { font-size: 26px; color: var(--hi); margin-bottom: 10px; }

/* ---------- Forme ---------- */
.field { margin: 11px 0; }
input, textarea, select {
  width: 100%; font-family: "Inter Tight", sans-serif; font-size: 15px;
  padding: 12px 15px; border-radius: 14px;
  background: rgba(255,255,255,.06); color: var(--hi);
  border: 1px solid var(--cardb); transition: border-color .16s ease, box-shadow .16s ease; }
input::placeholder, textarea::placeholder { color: var(--mut); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--a); box-shadow: 0 0 0 3px rgba(196,175,140,.2); }
textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c7ad7f' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.row { display: flex; gap: 10px; } .row > * { flex: 1; }
.compose { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px; margin-bottom: 8px; }
.compose .seg { display: inline-flex; background: rgba(255,255,255,.05); border: 1px solid var(--cardb); border-radius: 30px; padding: 3px; margin-bottom: 12px; width: 100%; }
.seg button { flex: 1; font-family: "Inter Tight", sans-serif; font-size: 12px; padding: 8px 4px; border-radius: 30px; border: none; background: none; color: var(--mut); cursor: pointer; transition: .14s; }
.seg button.on { background: linear-gradient(120deg, var(--b), var(--p)); color: #fff; }

/* ---------- Knjižara ---------- */
.kn-book { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; color: var(--ink); transition: transform .12s ease, border-color .18s ease, background .18s ease; font-family: "Inter Tight", sans-serif; }
.kn-book:hover { border-color: var(--a); background: rgba(255,255,255,.08); transform: translateY(-1px); }
.kn-rank { font-family: "Instrument Serif", serif; font-size: 30px; line-height: 1; color: var(--a); width: 38px; text-align: center; flex: none; font-variant-numeric: tabular-nums; text-shadow: 0 0 16px rgba(196,175,140,.5); }
.kn-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.kn-main .t { font-family: "Instrument Serif", serif; font-size: 18px; line-height: 1.15; color: var(--hi); }
.kn-main .a { font-style: italic; font-family: "Instrument Serif", serif; color: var(--a); font-size: 14px; }
.kn-stat { text-align: right; font-size: 12px; color: var(--ink); white-space: nowrap; flex: none; }
.kn-stat .muted { font-size: 11px; }

/* ---------- Polica ---------- */
.shelf-item { display: flex; gap: 14px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; animation: rise .4s both; }
.shelf-spine { width: 4px; border-radius: 3px; background: linear-gradient(var(--b), var(--p)); flex: none; }
.shelf-item.done .shelf-spine { background: rgba(190,165,125,.3); }
.shelf-item.wish .shelf-spine { background: repeating-linear-gradient(180deg, var(--gold) 0 5px, transparent 5px 10px); }
.shelf-main { flex: 1; min-width: 0; }
.shelf-main .t { font-family: "Instrument Serif", serif; font-size: 18px; line-height: 1.15; color: var(--hi); }
.shelf-main .a { font-style: italic; font-family: "Instrument Serif", serif; color: var(--a); font-size: 13px; }
.shelf-meta { text-align: right; font-size: 12px; color: var(--mut); white-space: nowrap; }
.tag-done { color: var(--gold); }

/* ---------- Korice + pretraga knjige ---------- */
.book-head { display: flex; gap: 16px; align-items: flex-start; margin: 8px 0 4px; }
.book-head-txt { flex: 1; min-width: 0; }
.book-cover { width: 88px; aspect-ratio: 2/3; object-fit: cover; border-radius: 8px; flex: none; background: rgba(255,255,255,.06); box-shadow: 0 12px 28px -8px rgba(0,0,0,.6); }
.kn-cover { width: 38px; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px; flex: none; background: rgba(255,255,255,.05); box-shadow: 0 6px 14px -6px rgba(0,0,0,.6); }
.kn-cover-none { background: linear-gradient(var(--b), var(--p)); opacity: .45; }

.bk-search { position: relative; }
.bk-res { position: absolute; left: 0; right: 0; top: 100%; z-index: 12; margin-top: 5px; background: #271f49; border: 1px solid var(--cardb); border-radius: 14px; overflow: hidden; max-height: 330px; overflow-y: auto; box-shadow: 0 24px 50px -16px rgba(0,0,0,.75); }
.bk-row { display: flex; gap: 11px; align-items: center; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid var(--line); padding: 9px 11px; cursor: pointer; color: var(--ink); font-family: "Inter Tight", sans-serif; }
.bk-row:last-child { border-bottom: none; }
.bk-row:hover { background: rgba(255,255,255,.07); }
.bk-row img, .bk-noimg { width: 32px; height: 47px; object-fit: cover; border-radius: 4px; flex: none; background: rgba(255,255,255,.08); }
.bk-noimg { background: linear-gradient(var(--b), var(--p)); opacity: .4; }
.bk-info { display: flex; flex-direction: column; min-width: 0; }
.bk-info .t { font-family: "Instrument Serif", serif; font-size: 15px; color: var(--hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-info .a { font-size: 12px; color: var(--mut); }
.bk-grouphd { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); padding: 9px 12px 5px; background: rgba(255,255,255,.03); }
.bk-tag { margin-left: auto; flex: none; font-size: 10px; letter-spacing: .04em; color: var(--gold); background: rgba(230,201,146,.12); border: 1px solid rgba(230,201,146,.28); border-radius: 20px; padding: 3px 9px; }
.bk-cover { width: 92px; aspect-ratio: 2/3; object-fit: cover; border-radius: 8px; margin: 4px 0 8px; box-shadow: 0 12px 28px -8px rgba(0,0,0,.6); }

/* ---------- Polica kao vizualna polica (grid korica) ---------- */
.shelf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shelf-card { position: relative; animation: rise .4s both; }
.shelf-card.tap { cursor: pointer; }
.sb-cover { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 8px; display: block; background: rgba(255,255,255,.05); box-shadow: 0 14px 28px -10px rgba(0,0,0,.65); transition: transform .16s ease; }
.shelf-card:hover .sb-cover { transform: translateY(-5px); }
.sb-noimg { display: flex; align-items: center; justify-content: center; padding: 10px; text-align: center; background: linear-gradient(155deg, var(--b), var(--p)); }
.sb-noimg span { font-family: "Instrument Serif", serif; font-size: 13px; color: #fff; line-height: 1.25; }
.sb-badge { position: absolute; top: 7px; right: 7px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; background: var(--gold); color: #3a2606; box-shadow: 0 2px 8px rgba(0,0,0,.45); }
.sb-badge.done { background: var(--a); color: #2a1e0d; }
.sb-t { font-family: "Instrument Serif", serif; font-size: 13.5px; color: var(--hi); margin-top: 8px; line-height: 1.2; }
.sb-m { font-size: 11px; color: var(--mut); margin-top: 2px; }

/* ---------- Claim / login ---------- */
.gate { max-width: 400px; margin: 8vh auto 0; text-align: center; animation: rise .6s both; }
.seal { width: 88px; height: 88px; margin: 0 auto 26px; border-radius: 50%; background: radial-gradient(circle at 36% 30%, var(--a), var(--p)); display: grid; place-items: center; box-shadow: 0 0 40px rgba(140,112,68,.6), inset 0 -3px 10px rgba(40,20,80,.5); position: relative; }
.seal svg { width: 34px; height: 34px; }
.seal svg * { stroke: #fff !important; }
.gate h2 { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 32px; line-height: 1.1; margin: 0 0 12px; color: var(--hi); }
.gate p { color: var(--mut); font-size: 15px; margin: 0 0 26px; line-height: 1.55; }
.gate form { text-align: left; }
.gate .btn-primary { width: 100%; margin-top: 6px; padding: 14px; font-size: 15px; }
.gate .fine { font-size: 12.5px; color: var(--mut); margin-top: 18px; }
.pin-input { text-align: center; letter-spacing: .5em; font-size: 24px; font-family: inherit; padding-left: .5em; }

/* ---------- Postavke ---------- */
.setting { padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.setting .k { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); margin-bottom: 8px; font-weight: 500; }
.setting code { font-family: ui-monospace, monospace; background: rgba(255,255,255,.07); color: var(--a); padding: 4px 10px; border-radius: 8px; letter-spacing: .1em; font-size: 14px; }

/* ---------- Razno ---------- */
.banner { background: linear-gradient(160deg, rgba(170,140,95,.3), rgba(140,112,68,.12)); border: 1px solid var(--cardb); color: var(--hi); padding: 12px 16px; border-radius: 14px; font-size: 14px; margin-bottom: 16px; }
.loading { color: var(--a); font-family: "Instrument Serif", serif; font-style: italic; font-size: 18px; padding: 40px 0; text-align: center; }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.stagger > * { animation: rise .5s both; }
.stagger > *:nth-child(1){animation-delay:.04s}.stagger > *:nth-child(2){animation-delay:.10s}.stagger > *:nth-child(3){animation-delay:.16s}.stagger > *:nth-child(4){animation-delay:.22s}.stagger > *:nth-child(5){animation-delay:.28s}.stagger > *:nth-child(6){animation-delay:.34s}

/* =========================================================================
   v2: ocjene/recenzije, ankete, pokloni, DNK, geo
   ========================================================================= */
.vblock { margin-top: 24px; }

/* zvjezdice */
.stars { display: inline-flex; gap: 2px; }
.stars .star { color: rgba(230,201,146,.28); font-size: 17px; line-height: 1; }
.stars .star.on { color: var(--gold); text-shadow: 0 0 8px rgba(230,201,146,.5); }
.stars.pick .star { cursor: pointer; font-size: 26px; }
.rate-avg { margin-left: auto; color: var(--gold); font-size: 14px; font-weight: 500; }
.rate-avg .s { font-size: 12px; }

/* recenzije */
.reviewform { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 14px; }
.reviewform .sline { margin-bottom: 10px; }
.reviewform textarea { width: 100%; background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-family: inherit; font-size: 15px; padding: 11px; resize: vertical; min-height: 56px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; margin-bottom: 10px; }
.rv-top { display: flex; align-items: center; gap: 10px; }
.rv-who { font-size: 12px; color: var(--mut); }
.rv-txt { font-family: inherit; font-size: 15.5px; color: var(--ink); margin-top: 8px; line-height: 1.55; }

/* ankete */
.poll { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 15px 16px; margin-bottom: 12px; }
.poll-q { font-family: "Instrument Serif", serif; font-size: 16px; color: var(--hi); margin-bottom: 12px; }
.poll-opt { position: relative; display: flex; align-items: center; width: 100%; text-align: left; background: rgba(0,0,0,.2); border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; margin-bottom: 8px; color: var(--ink); font-family: inherit; font-size: 14px; cursor: pointer; overflow: hidden; }
.poll-opt.voted { cursor: default; }
.poll-opt .po-fill { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(140,112,68,.45), rgba(196,175,140,.25)); transition: width .5s ease; z-index: 0; }
.poll-opt .po-label, .poll-opt .po-pct { position: relative; z-index: 1; }
.poll-opt .po-pct { margin-left: auto; color: var(--a); font-weight: 500; }
.poll-opt.mine { border-color: var(--a); }
.poll-opt.mine .po-label::before { content: "✓ "; color: var(--a); }
.poll-meta { font-size: 12px; color: var(--mut); margin-top: 4px; }
.pollform { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-top: 8px; }
.pollform input { width: 100%; background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: 11px; color: var(--ink); font-family: inherit; font-size: 14px; padding: 10px 12px; margin-bottom: 8px; }

/* pokloni (zapečaćene poruke) */
.gift { position: relative; background: linear-gradient(160deg, rgba(230,201,146,.12), rgba(140,112,68,.08)); border: 1px solid rgba(230,201,146,.3); border-radius: 16px; padding: 16px 16px 14px; margin-bottom: 11px; }
.gift .wax { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f0d6a0, #c79b54); box-shadow: 0 0 12px rgba(230,201,146,.5); margin-bottom: 8px; }
.gift-body { font-family: "Instrument Serif", serif; font-size: 16px; color: var(--hi); line-height: 1.6; font-style: italic; }
.gift-meta { font-size: 11.5px; color: var(--gold); margin-top: 9px; letter-spacing: .03em; }

/* DNK čitanja */
.dna { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 18px; margin-bottom: 14px; }
.dna-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.dna-cell { background: rgba(0,0,0,.18); border: 1px solid var(--line); border-radius: 12px; padding: 11px 6px; text-align: center; }
.dna-cell .n { display: block; font-family: "Instrument Serif", serif; font-size: 22px; color: var(--hi); }
.dna-cell .l { display: block; font-size: 10.5px; color: var(--mut); margin-top: 2px; letter-spacing: .03em; }
.dna-au { font-size: 13px; color: var(--mut); margin-top: 12px; }
.dna-au b { color: var(--a); font-weight: 500; }

/* postavke - stupčani redak (geo, poklon) */
.setting-col { display: block; }
.setting-col input, .setting-col textarea { width: 100%; background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: 11px; color: var(--ink); font-family: inherit; font-size: 14px; padding: 10px 12px; }
.setting-col textarea { font-family: inherit; font-size: 15px; resize: vertical; min-height: 64px; margin-top: 8px; }
.chk { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink); cursor: pointer; margin-bottom: 10px; }
.chk input { width: auto; }
.geo-fields { display: flex; gap: 8px; }
.geo-fields input:first-child { max-width: 120px; }
.geo-list { margin-top: 10px; }
.geo-row { display: flex; justify-content: space-between; padding: 9px 12px; background: rgba(0,0,0,.18); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 6px; }
.geo-row .gc { font-weight: 600; color: var(--hi); }
.geo-row .gn { color: var(--mut); font-size: 13px; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
