/* kvrc. — korisnička aplikacija. Literata za čitanje, Inter za interfejs. */
:root {
  --bg: #faf8f3; --ink: #1b1a17; --muted: #8a857a; --line: #e6e1d6; --soft: #f1ede4; --accent: #9a058f; --on-accent: #fff;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --top: 56px; --bot: 60px; --col: 560px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #111110; --ink: #ece9e1; --muted: #8c887e; --line: #2a2926; --soft: #1b1a18; --accent: #d35fc8; --on-accent: #111110; }
}
:root[data-theme="dark"] { --bg: #111110; --ink: #ece9e1; --muted: #8c887e; --line: #2a2926; --soft: #1b1a18; --accent: #d35fc8; --on-accent: #111110; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

#app { max-width: var(--col); margin: 0 auto; height: 100dvh; position: relative; overflow: hidden; }
.top { position: absolute; inset: 0 0 auto 0; height: var(--top); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; z-index: 5; background: linear-gradient(var(--bg) 60%, transparent); padding-top: env(safe-area-inset-top); }
.logo { font-weight: 700; font-size: 21px; letter-spacing: -0.03em; }
.logo span { color: var(--accent); }
/* logo: antracit slova u svetloj, bela u tamnoj temi */
.logo { display: flex; align-items: center; }
.logo img { height: 16px; width: auto; display: block; } /* −45% (od 0.13.2) */
img.lg-d { display: none !important; }
:root[data-theme="dark"] img.lg-l { display: none !important; } :root[data-theme="dark"] img.lg-d { display: block !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) img.lg-l { display: none !important; } :root:not([data-theme="light"]) img.lg-d { display: block !important; } }
.drawer-p .logo { justify-content: center; margin: 4px 0 18px; } .drawer-p .logo img { height: 19px; }
.logo-h img { height: 48px; width: auto; display: block; } .logo-h { margin: 10px 0 22px; }
.top-mid { flex: 1; min-width: 0; text-align: center; font-size: 12.5px; color: var(--muted); padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.bottom { position: absolute; inset: auto 0 0 0; height: calc(var(--bot) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: flex; justify-content: space-around; align-items: center; z-index: 5; background: var(--bg); border-top: 1px solid var(--line); }
.bottom a { width: 56px; height: 44px; display: grid; place-items: center; color: var(--muted); border-radius: 12px; }
.bottom a.on { color: var(--ink); }
.bottom a.on svg { stroke-width: 2; }
#view { position: absolute; inset: 0; padding-top: var(--top); padding-bottom: calc(var(--bot) + env(safe-area-inset-bottom)); overflow-y: auto; }
#view.full { padding: 0; overflow: hidden; }

/* ---------- tok ---------- */
.feed { height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; }
.feed::-webkit-scrollbar { display: none; }
.card { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; padding: calc(var(--top) + 4px) 30px calc(var(--bot) + env(safe-area-inset-bottom) + 6px); position: relative; }
.card-meta { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: center; font-weight: 500; min-height: 18px; }
.card-meta a { border-bottom: 1px solid transparent; }
.card-meta .x { color: var(--acc); }
.card-meta a { color: var(--acc); }
.card-main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 0; }
.card-body { font-family: var(--serif); font-weight: 400; line-height: 1.42; max-width: 24em; text-wrap: balance; overflow-wrap: break-word; }
.card-body.s1 { font-size: 34px; line-height: 1.25; } .card-body.s2 { font-size: 27px; line-height: 1.32; } .card-body.s3 { font-size: 23px; } .card-body.s4 { font-size: 20px; } .card-body.s5 { font-size: 18px; }
.t-citat .card-body { font-style: italic; }
.hl { font-style: inherit; color: var(--acc, var(--accent)); font-weight: 500; }

/* boja oblasti (akcent kartice); u tamnoj temi malo svetlija da se čita */
.card { --acc: var(--tc, var(--accent)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card[style*="--tc"] { --acc: color-mix(in srgb, var(--tc) 75%, #fff); } }
:root[data-theme="dark"] .card[style*="--tc"] { --acc: color-mix(in srgb, var(--tc) 75%, #fff); }

/* znak vrste kartice: veliki, jedva vidljiv, u gornjem desnom uglu samog teksta (iza slova) */
@font-face { font-family: "kvrc znak"; src: url("fonts/kvrc-znak.woff") format("woff"); font-weight: 700; font-style: italic; font-display: block; }
:root { --mark: "kvrc znak", "Literata", Georgia, serif; --ask: #d6402b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ask: #f0563f; } }
:root[data-theme="dark"] { --ask: #f0563f; }
.card { overflow-x: clip; }
.t-citat .card-body, .t-statistika .card-body, .card.iqc .iq-q { position: relative; isolation: isolate; }
.t-citat .card-body::after, .t-statistika .card-body::after, .card.iqc .iq-q::after {
  position: absolute; z-index: -1; pointer-events: none; font-family: var(--mark); font-style: italic; font-weight: 700; line-height: 1; color: var(--acc); opacity: 0.09; }
/* mobilni: tekst je širok skoro koliko ekran, pa znak ide malo iznad i ostaje u ekranu */
.t-citat .card-body::after { content: "“"; font-size: 170px; top: -0.62em; right: -0.08em; }
.t-statistika .card-body::after { content: "%"; font-size: 120px; top: -0.86em; right: -0.1em; }
.card.iqc .iq-q { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
.card.iqc .iq-q::after { content: "*"; font-size: 190px; top: -0.42em; right: -0.12em; color: var(--ask); opacity: 0.13; }
.card.iqc .card-meta { color: var(--ask); }
.card-sk { width: min(230px, 58vw); aspect-ratio: 4 / 3; flex: none; margin-bottom: 20px; background: var(--ink); opacity: 0.88; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.member-bio { font-family: var(--serif); font-size: 17px; line-height: 1.55; margin: 4px 0 6px; }
.rn { display: block; }
.card-author { margin-top: 18px; font-size: 14px; color: var(--muted); }
.card-src { margin-top: 22px; font-size: 12.5px; color: var(--muted); max-width: 26em; }
.card-src a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.card-sponsor { margin-top: 10px; font-size: 11px; letter-spacing: 0.06em; color: var(--muted); opacity: 0.8; }
.card-actions { display: flex; justify-content: center; gap: 20px; padding: 6px 0 10px; }
.act { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; min-width: 40px; height: 40px; justify-content: center; font-variant-numeric: tabular-nums; }
.act svg { width: 23px; height: 23px; }
.act.on { color: var(--acc, var(--accent)); }
.act.on svg.fillable { fill: currentColor; }
.act.pop svg { animation: pop 0.35s ease; }
/* palac gore | palac dole, kao na YouTube-u */
.ud { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 22px; height: 40px; padding: 0 4px; }
.ud .act { min-width: 44px; height: 38px; padding: 0 8px; }
.ud .act svg { width: 21px; height: 21px; }
.ud .dis svg { transform: rotate(180deg); }
.ud .dis.pop svg { animation: popd 0.35s ease; }
@keyframes popd { 0% { transform: rotate(180deg); } 40% { transform: rotate(180deg) scale(1.35) rotate(-8deg); } 100% { transform: rotate(180deg); } }
.ud i { width: 1px; height: 20px; background: var(--line); }
.ud .act.on { color: var(--acc, var(--accent)); }
.ud .dis.on { color: var(--ink); }
@keyframes pop { 40% { transform: scale(1.35) rotate(-8deg); } }
.card.note .card-body { font-family: var(--sans); font-size: 19px; font-weight: 500; line-height: 1.45; }
.card.note p { color: var(--muted); font-size: 14.5px; max-width: 22em; margin: 14px 0 22px; }
.learn-bar { position: absolute; left: 0; right: 0; top: calc(var(--top) - 2px); height: 2px; background: var(--line); z-index: 6; }
.learn-bar i { display: block; height: 100%; background: var(--accent); width: 0; transition: width 0.4s; }

/* ---------- stranice ---------- */
.page { padding: 8px 22px 40px; }
h1 { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; margin: 14px 0 6px; font-weight: 700; }
h2 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 30px 0 10px; }
.lead { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.crumbs { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.crumbs a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 15px; }
.btn.ghost { background: none; color: var(--ink); border: 1px solid var(--line); }
.btn.accent { background: var(--accent); color: var(--on-accent); }
.btn.sm { height: 36px; padding: 0 16px; font-size: 13.5px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: 0.5; }
.btn[hidden] { display: none; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.link { color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

.tlist { list-style: none; margin: 0; padding: 0; }
.tlist li a, .tlist li button { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.tname { flex: 1; min-width: 0; font-weight: 500; font-size: 16.5px; }
.tname small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.pct { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ring { width: 30px; height: 30px; flex: none; transform: rotate(-90deg); }
.ring circle { stroke-width: 3; } .ring .bg { stroke: var(--line); } .ring .fg { stroke: var(--accent); transition: stroke-dashoffset 0.4s; }
.badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 500; }
.badge b { color: var(--accent); font-weight: 700; }
.steps { display: flex; gap: 4px; margin: 14px 0 6px; }
.steps i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.steps i b { display: block; height: 100%; background: var(--accent); }
.steps-l { display: flex; font-size: 11px; color: var(--muted); } .steps-l span { flex: 1; text-align: center; } .steps-l span.on { color: var(--accent); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; }
.chip.k { color: var(--muted); }
.search { position: sticky; top: 0; background: var(--bg); padding: 6px 0 12px; z-index: 2; }
input[type=text], input[type=search], input[type=email], input[type=password], input[type=number], textarea, select { width: 100%; font: inherit; color: var(--ink); background: var(--soft); border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); }
textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 5px; }
.form-err { color: var(--ask); font-size: 14px; margin: 12px 0 0; min-height: 20px; }
.narrow { max-width: 380px; margin: 0 auto; }

.ilist { list-style: none; margin: 0; padding: 0; }
.ilist li a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ilist .t { font-family: var(--serif); font-size: 16.5px; line-height: 1.5; }
.ilist .m { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.article p { font-family: var(--serif); font-size: 17.5px; line-height: 1.62; margin: 0 0 16px; }
.article p.q { font-style: italic; padding-left: 16px; border-left: 2px solid var(--line); }
.article p .by { font-style: normal; font-family: var(--sans); font-size: 13px; color: var(--muted); display: block; margin-top: 4px; }
.article p a.more { font-family: var(--sans); font-size: 12px; color: var(--muted); white-space: nowrap; margin-left: 4px; }
.article p.seen { color: color-mix(in srgb, var(--ink) 72%, var(--bg)); }
.empty { text-align: center; color: var(--muted); padding: 60px 20px; font-size: 15px; }
.notice { background: var(--soft); border-radius: 14px; padding: 14px 16px; font-size: 14px; margin: 14px 0; }
.stat-row { display: flex; gap: 28px; margin: 16px 0 4px; } .stat-row div b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; } .stat-row div span { font-size: 12.5px; color: var(--muted); }

/* ---------- meni, listovi, obaveštenja ---------- */
.drawer, .sheet { position: fixed; inset: 0; z-index: 20; }
.scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.42); animation: fade 0.2s; }
.drawer-p { position: absolute; top: 0; bottom: 0; right: 0; width: min(310px, 84vw); background: var(--bg); padding: 22px 24px; overflow-y: auto; animation: slidel 0.22s ease; display: flex; flex-direction: column; }
.drawer-p a.mi, .drawer-p button.mi { display: block; width: 100%; text-align: left; padding: 13px 0; font-size: 17px; font-weight: 500; }
.drawer-p .who { font-size: 13px; color: var(--muted); margin: 6px 0 14px; }
.seg { display: flex; background: var(--soft); border-radius: 999px; padding: 3px; margin-top: 6px; }
.seg button { flex: 1; height: 34px; border-radius: 999px; font-size: 13px; color: var(--muted); font-weight: 500; }
.seg button.on { background: var(--bg); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.sheet-p { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: min(100%, var(--col)); max-height: 82dvh; background: var(--bg); border-radius: 22px 22px 0 0; padding: 10px 22px calc(22px + env(safe-area-inset-bottom)); overflow-y: auto; animation: slideu 0.24s ease; }
.sheet-p::before { content: ""; display: block; width: 38px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 14px; }
.sheet-p h3 { font-size: 17px; margin: 4px 0 12px; }
.sheet-p .mi { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 0; font-size: 16px; text-align: left; border-top: 1px solid var(--line); }
.sheet-p .mi svg { color: var(--muted); width: 22px; height: 22px; }
.cm { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cm .h { font-size: 12.5px; color: var(--muted); margin-bottom: 3px; display: flex; gap: 8px; align-items: center; } .cm .h b { color: var(--ink); font-weight: 600; }
.cm .h .rl { color: var(--accent); font-weight: 500; } .cm .h button { margin-left: auto; text-decoration: underline; }
.cm-form { display: flex; gap: 8px; margin-top: 14px; align-items: flex-end; } .cm-form textarea { min-height: 46px; height: 46px; }
.toasts { position: fixed; left: 0; right: 0; bottom: calc(var(--bot) + 68px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 30; pointer-events: none; padding: 0 20px; }
.toast { background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; animation: slideu 0.25s ease; max-width: 100%; text-align: center; }
.toast.big { border-radius: 18px; padding: 14px 22px; } .toast.big small { display: block; font-weight: 400; opacity: 0.75; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.toast b { color: var(--accent); }
:root[data-theme="dark"] .toast b { color: #9a058f; }
@keyframes fade { from { opacity: 0; } }
@keyframes slidel { from { transform: translateX(40px); opacity: 0; } }
@keyframes slideu { from { translate: 0 30px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .feed { scroll-behavior: auto; } }

/* ---------- iskustvo, posebni bedževi, deljenje, prijava preko mreža ---------- */
/* dnevna doza: prsten u zaglavlju */
.dose { display: flex; align-items: center; gap: 4px; height: 32px; padding: 0 6px; margin-right: 6px; color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.dose[hidden] { display: none; }
.dose svg { width: 22px; height: 22px; transform: rotate(-90deg); }
.dose circle { fill: none; stroke-width: 3; } .dose .bg { stroke: var(--line); } .dose .fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dasharray 0.4s; }
.dose .mk { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; opacity: 0.5; }
.dose.z-ok .fg { stroke: var(--ok); } .dose.z-over .fg { stroke: #e08a1e; } .dose.z-over { color: #c9771a; }
.dose-big { font-size: 15px; color: var(--muted); margin: 4px 0 14px; } .dose-big b { font-size: 40px; color: var(--accent); font-weight: 700; letter-spacing: -0.02em; }
.dose-big.z-ok b { color: var(--ok); } .dose-big.z-over b { color: #e08a1e; }
.dose-bar { position: relative; height: 10px; border-radius: 6px; background: var(--line); overflow: hidden; }
.dose-bar b { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 6px; } .dose-bar b.z-ok { background: var(--ok); } .dose-bar b.z-over { background: #e08a1e; }
.dose-bar i { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--bg); z-index: 1; }
.dose-leg { position: relative; height: 18px; font-size: 11px; color: var(--muted); margin-top: 4px; } .dose-leg span { position: absolute; transform: translateX(-50%); } .dose-leg span:first-child { transform: none; left: 0; }

/* ime korisnika pored nivoa — samo na desktopu */
.me-n { display: none; font-size: 13px; color: var(--ink); text-decoration: none; margin-right: 14px; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-n:hover { color: var(--accent); }
.xp { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; margin-right: 6px; padding: 6px 4px; }
.xp[hidden] { display: none; }
.xp b { color: var(--ink); font-weight: 600; }
.xp i { display: block; width: 46px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.xp i b { display: block; height: 100%; background: var(--accent); transition: width 0.5s; }
.xp-fly { position: absolute; right: 2px; top: 100%; font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent); animation: fly 1.1s ease forwards; pointer-events: none; }
@keyframes fly { from { opacity: 0; translate: 0 6px; } 25% { opacity: 1; translate: 0 0; } to { opacity: 0; translate: 0 -8px; } }
.xp-card { display: block; background: var(--soft); border-radius: 14px; padding: 14px 16px; margin: 16px 0 4px; }
.xp-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.500px; font-weight: 500; margin-bottom: 9px; } .xp-top span:last-child { font-size: 12.500px; color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.xp-card small { display: block; margin-top: 9px; font-size: 12.500px; color: var(--muted); }
.xp-bar { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; } .xp-bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.ach-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.ach { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; }
.ach-i { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--muted); }
.ach.on { border-color: var(--accent); } .ach.on .ach-i { background: var(--accent); color: var(--on-accent); }
.ach:not(.on) .ach-t b { color: var(--muted); }
.ach-t { flex: 1; min-width: 0; } .ach-t b { display: block; font-size: 15.500px; font-weight: 600; } .ach-t > span { display: block; font-size: 13px; color: var(--muted); }
.ach-t em { display: block; font-style: normal; font-size: 11.500px; color: var(--muted); margin-top: 5px; } .ach.on .ach-t em { color: var(--accent); font-weight: 500; } .ach-t .xp-bar { margin-top: 8px; height: 4px; }
.share-prev { display: grid; place-items: center; margin-bottom: 14px; } .share-prev canvas { max-width: 100%; max-height: 46dvh; width: auto; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.social { display: grid; gap: 10px; } .or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.500px; margin: 16px 0 2px; } .or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.feed-nav { display: none; }

/* ---------- stranice u toku, paketi, reklame ---------- */
:root { --ok: #2f7a3a; } :root[data-theme="dark"] { --ok: #7cc47f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ok: #7cc47f; } }
.eyebrow { font-size: 11.500px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: 14px; }
.eyebrow + h1 { margin-top: 4px; }
.card.pagec .card-main, .card.adc .card-main { justify-content: center; align-items: stretch; text-align: left; overflow-y: auto; scrollbar-width: none; }
.card.pagec .card-main::-webkit-scrollbar { display: none; }
.pg-title { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; text-wrap: balance; }
.pg-index .pg-title, .pg-index h1 { font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: -0.01em; }
.pg-body p, .pg-lead p { font-family: var(--serif); font-size: 17px; line-height: 1.6; margin: 0 0 14px; }
.pg-lead p { color: var(--muted); font-family: var(--sans); font-size: 15px; margin-bottom: 16px; }
.pg-body ul { padding-left: 20px; margin: 0 0 14px; font-size: 16px; } .pg-body h2 { margin-top: 22px; }
.pg-cta { margin-top: 20px; }
.plans { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -30px; padding: 4px 30px 8px; scrollbar-width: none; }
.plans::-webkit-scrollbar { display: none; }
.page .plans { margin: 0 -22px; padding: 4px 22px 8px; }
.plan { flex: 0 0 82%; max-width: 330px; scroll-snap-align: center; border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 16px; display: flex; flex-direction: column; background: var(--bg); }
.plan.feat { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan { position: relative; }
.plans { padding-top: 16px; }
.plan-k { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--bg); border: 1px solid var(--accent); color: var(--accent); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 14px; }
.plan-trial { font-size: 12.5px; color: var(--ok); margin: -4px 0 12px; font-weight: 500; }
.plan-n { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; } .plan-t { font-size: 13px; color: var(--muted); margin-top: 1px; }
.plan-p { margin: 14px 0 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; } .plan-p b { font-size: 27px; letter-spacing: -0.02em; } .plan-p span { font-size: 12.500px; color: var(--muted); }
.plan ul { list-style: none; margin: 0 0 16px; padding: 0; flex: 1; } .plan li { display: flex; gap: 9px; font-size: 13.500px; padding: 4px 0; line-height: 1.4; } .plan li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--accent); stroke-width: 2.200; }
.btn.off { opacity: 0.55; pointer-events: none; }
.ad-box { border: 1px dashed var(--muted); border-radius: 18px; padding: 34px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ad-t { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; } .ad-b { font-size: 14.500px; color: var(--muted); max-width: 26em; }
.ad-off { display: block; text-align: center; margin-top: 16px; font-size: 12.500px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- kviz ---------- */
.q-status { display: flex; background: var(--soft); border-radius: 16px; padding: 14px 6px; margin: 16px 0 6px; }
.q-status div { flex: 1; text-align: center; border-left: 1px solid var(--line); padding: 0 6px; } .q-status div:first-child { border-left: 0; }
.q-status b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; } .q-status span { font-size: 11.500px; color: var(--muted); }
.q-daily { display: flex; align-items: center; gap: 14px; background: var(--ink); color: var(--bg); border-radius: 20px; padding: 20px 20px; margin-top: 14px; }
.q-daily div { flex: 1; min-width: 0; } .q-daily small { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.q-daily b { display: block; font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.2; margin: 2px 0 4px; } .q-daily span { font-size: 13px; opacity: 0.72; }
.q-daily em { font-style: normal; flex: none; background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 14px; }
.q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.q-card { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 16px 14px 14px; display: flex; flex-direction: column; gap: 3px; min-height: 150px; }
.q-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; margin-bottom: 10px; } .q-ic svg { width: 22px; height: 22px; }
.q-card b { font-size: 15.500px; font-weight: 600; line-height: 1.25; } .q-card > span { font-size: 12.500px; color: var(--muted); line-height: 1.35; flex: 1; } .q-card small { font-size: 11.500px; color: var(--muted); margin-top: 8px; }
.q-plus { position: absolute; top: 14px; right: 12px; font-style: normal; font-size: 10.500px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 2px 8px; display: flex; align-items: center; gap: 4px; } .q-plus svg { width: 12px; height: 12px; }
.rank { list-style: none; margin: 0; padding: 0; } .rank li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rank li.me { background: var(--soft); border-radius: 12px; border-bottom-color: transparent; padding-left: 10px; padding-right: 10px; margin: 0 -10px; }
.rk { width: 26px; text-align: center; font-weight: 700; font-size: 15px; color: var(--muted); } .rank li:nth-child(-n+3) .rk { color: var(--accent); }
.rn { flex: 1; min-width: 0; } .rn b { display: block; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rn small { font-size: 12px; color: var(--muted); }
.rp { font-weight: 700; font-variant-numeric: tabular-nums; }
#app.playing .bottom, #app.playing .top { display: none; }
#app.playing #view { padding: 0; }
.qp { height: 100%; display: flex; flex-direction: column; padding: calc(10px + env(safe-area-inset-top)) 22px calc(18px + env(safe-area-inset-bottom)); max-width: 720px; margin: 0 auto; }
.qp-top { display: flex; align-items: center; gap: 8px; height: 48px; flex: none; } .qp-top .ico { margin-left: -10px; }
.qp-mid { flex: 1; text-align: center; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; } .qp-score { min-width: 44px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.qp-time { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; flex: none; } .qp-time i { display: block; height: 100%; width: 100%; background: var(--accent); transition: width 0.1s linear; }
.qp-q { flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; min-height: 0; padding: 14px 0; }
.qp-kind { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.qp-text { font-family: var(--serif); font-size: 25px; line-height: 1.32; text-wrap: balance; }
.qp-opts { display: grid; gap: 10px; flex: none; } .qp-opts.tf { grid-template-columns: 1fr 1fr; }
.qo { border: 1px solid var(--line); border-radius: 16px; padding: 15px 16px; font-size: 16px; text-align: left; line-height: 1.3; transition: background 0.15s, border-color 0.15s; } .qp-opts.tf .qo { text-align: center; padding: 22px 10px; font-weight: 600; }
.qo:not(:disabled):hover { border-color: var(--ink); }
.qo.ok { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); font-weight: 600; } .qo.bad { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.qo:disabled:not(.ok):not(.bad) { opacity: 0.5; }
.qp-foot { flex: none; min-height: 118px; padding-top: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.qp-exp { font-size: 14px; color: var(--muted); line-height: 1.45; } .okc { color: var(--ok); } .badc { color: var(--accent); }
.qp-hint { text-align: center; color: var(--muted); font-size: 13.500px; margin: 4px 0 14px; }
.mem { flex: 1; display: grid; grid-template-columns: repeat(var(--n), 1fr); grid-auto-rows: 1fr; gap: 9px; min-height: 0; }
.mc { position: relative; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); overflow: hidden; padding: 0; min-height: 0; }
.mc-b, .mc-f { position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; transition: opacity 0.2s, transform 0.25s; }
.mc-b { display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: var(--muted); } .mc-b i { font-style: normal; color: var(--accent); }
.mc-f { opacity: 0; transform: scale(0.92); font-size: 12.500px; line-height: 1.3; text-align: center; overflow-wrap: anywhere; } .mc.term .mc-f { font-weight: 600; font-size: 13.500px; }
.mc.open { background: var(--bg); border-color: var(--ink); } .mc.open .mc-b { opacity: 0; } .mc.open .mc-f { opacity: 1; transform: none; }
.mc.done { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); } .mc.miss { border-color: var(--accent); }
.q-res { text-align: center; padding-top: 36px; } .q-big { font-size: 76px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-top: 14px; } .q-sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.q-res h1 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 20px 0 6px; }

/* ---------- izazovi, pozivi, pitanja u toku ---------- */
.vs { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 22px 0 6px; }
.vs div { text-align: center; } .vs small { display: block; font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.vs b { display: block; font-size: 54px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; } .vs > span { font-size: 40px; color: var(--muted); }
.vs div:first-child b { color: var(--accent); }
.card.iqc .card-main { align-items: stretch; text-align: left; justify-content: center; }
.iq-q { font-family: var(--serif); font-size: 23px; line-height: 1.35; text-align: center; margin-bottom: 22px; text-wrap: balance; }
.iq-exp { margin-top: 14px; min-height: 40px; } .iq-more { display: block; margin-top: 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- kvrc. pauza ---------- */
.pz-entry { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-top: 14px; }
.pz-entry .q-ic { margin: 0; flex: none; } .pz-entry b { display: block; font-size: 15.500px; } .pz-entry span { font-size: 13px; color: var(--muted); }
.pz-hero { display: block; background: var(--soft); border-radius: 20px; padding: 20px 20px 18px; margin-top: 6px; }
.pz-hero b { display: block; font-size: 17px; margin-top: 12px; } .pz-hero > span { font-size: 13.500px; color: var(--muted); }
.pz-faces { display: flex; gap: 8px; color: var(--muted); } .pz-faces svg { width: 30px; height: 30px; }
.pz-hist { display: flex; align-items: flex-end; gap: 4px; height: 100px; margin-top: 18px; }
.pz-hist i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--line); }
.pz-hist i.m1 { background: #b9573f; } .pz-hist i.m2 { background: #d08a52; } .pz-hist i.m3 { background: #c9b26a; } .pz-hist i.m4 { background: #86a96b; } .pz-hist i.m5 { background: #4f8f5a; }
.pz-hist-l { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 5px; }
.pz-list { display: grid; gap: 10px; }
.pz-list a, .pz-list button { display: block; text-align: left; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; width: 100%; }
.pz-list b { display: block; font-size: 15.500px; font-weight: 600; } .pz-list span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.pz-moods { display: flex; gap: 6px; justify-content: space-between; margin: 14px 0 6px; }
.pz-moods button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 2px; border-radius: 14px; border: 1px solid var(--line); color: var(--muted); font-size: 11.500px; }
.pz-moods svg { width: 34px; height: 34px; } .pz-moods button.on { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.pz-scale { display: flex; justify-content: space-between; font-size: 11.500px; color: var(--muted); margin-top: 4px; }
input[type=range] { width: 100%; accent-color: var(--accent); }
.chip.on { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.pz-prog { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; margin: 14px 0 26px; } .pz-prog i { display: block; height: 100%; background: var(--accent); transition: width 0.3s; }
.pz-lead { color: var(--muted); font-size: 13.500px; margin: 0 0 8px; }
.pz-q { font-family: var(--serif); font-size: 23px; line-height: 1.35; margin: 0 0 22px; text-wrap: balance; }
.pz-opts { display: grid; gap: 9px; } .qo.sel { border-color: var(--ink); }
.pz-tip { font-family: var(--serif); font-size: 17px; line-height: 1.55; margin: 0 0 12px; }
.pz-note { font-size: 12.500px; color: var(--muted); margin: 18px 0 0; line-height: 1.5; }
.help-box { margin: 22px 0 0; border-left: 3px solid var(--accent); background: var(--soft); border-radius: 0 14px 14px 0; padding: 13px 16px; display: grid; gap: 4px; font-size: 13.500px; text-align: left; }
.help-box b { font-size: 14px; } .help-box a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.breath .br-stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; }
.br-ring { width: min(72vw, 300px); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; }
.br-dot { width: 100%; height: 100%; border-radius: 50%; background: color-mix(in srgb, var(--accent) 22%, transparent); border: 2px solid var(--accent); transform: scale(0.42); transition: transform 4s ease-in-out; }
.br-word { font-family: var(--serif); font-size: 30px; } .br-count { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; min-height: 20px; }

/* ---------- meni, poruke, podrška ---------- */
.who-l { display: block; margin: 6px 0 10px; padding: 10px 12px; border-radius: 12px; background: var(--soft); color: var(--ink); font-weight: 600; font-size: 15px; }
.who-l small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; }
.drawer-p a.mi, .drawer-p button.mi, .drawer-p .mi { padding: 10px 0; font-size: 16px; }
.mi-pz { color: var(--accent); } .mi-pz .pz-lbl, .mi-pz .pz-lbl span { color: #fff !important; }
.dr-hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.dr-low .mi { font-size: 14.500px !important; color: var(--muted); padding: 8px 0 !important; display: flex !important; align-items: center; gap: 8px; }
.mi-off { opacity: 0.55; cursor: default; } .mi-off small { font-size: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; }
.cnt { font-style: normal; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; border-radius: 999px; padding: 1px 7px; margin-left: auto; }
#menuBtn.dot { position: relative; } #menuBtn.dot::after { content: ""; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.inbox { list-style: none; margin: 0; padding: 0; }
.inbox a { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.av { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-weight: 700; color: var(--muted); }
.ib { flex: 1; min-width: 0; } .ib b { display: block; font-size: 15px; font-weight: 600; } .ib span { display: block; font-size: 13.500px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox a.un .ib span { color: var(--ink); font-weight: 500; }
.it { font-size: 11.500px; color: var(--muted); display: flex; flex-direction: column; align-items: flex-end; gap: 4px; } .it i { font-style: normal; background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 0 7px; font-weight: 600; }
.chat { height: 100%; display: flex; flex-direction: column; padding-top: var(--top); padding-bottom: calc(var(--bot) + env(safe-area-inset-bottom)); max-width: 760px; margin: 0 auto; }
.chat-h { display: flex; align-items: center; gap: 6px; padding: 4px 12px 8px; border-bottom: 1px solid var(--line); }
.chat-n { flex: 1; font-weight: 600; font-size: 16px; }
.chat-b { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.bub { max-width: 80%; align-self: flex-start; background: var(--soft); border-radius: 18px 18px 18px 6px; padding: 9px 13px; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; cursor: pointer; }
.bub.me { align-self: flex-end; background: var(--ink); color: var(--bg); border-radius: 18px 18px 6px 18px; cursor: default; }
.bub small { display: block; font-size: 10.500px; opacity: 0.6; margin-top: 3px; }
.chat-f { display: flex; gap: 8px; align-items: flex-end; padding: 10px 14px; border-top: 1px solid var(--line); }
.chat-f textarea { min-height: 44px; height: 44px; resize: none; }
.pill-s { font-size: 11.500px; border-radius: 999px; padding: 2px 9px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.pill-s.open { color: var(--accent); border-color: var(--accent); } .pill-s.closed { color: var(--ok); border-color: var(--ok); }
.udot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.tk { display: grid; gap: 10px; } .tkm { background: var(--soft); border-radius: 14px; padding: 11px 14px; font-size: 15px; line-height: 1.5; }
.tkm.admin { border-left: 3px solid var(--accent); } .tkm small { display: block; font-size: 11.500px; color: var(--muted); margin-bottom: 3px; }
.card.pzc .card-main { align-items: stretch; justify-content: center; text-align: left; } .card.pzc .pz-opts { max-width: 520px; width: 100%; margin: 0 auto; }

/* ---------- široki ekrani: isti princip, puna širina ---------- */
@media (min-width: 760px) {
  :root { --top: 68px; --bot: 66px; }
  #app { max-width: none; }
  .top { padding-left: 34px; padding-right: 26px; }
  .logo { font-size: 25px; } .logo img { height: 18px; }
  .xp { font-size: 12px; margin-right: 12px; } .xp i { width: 64px; }
  .me-n:not([hidden]) { display: block; }
  .bottom { justify-content: center; gap: 58px; }
  .card { padding-left: 9vw; padding-right: 9vw; }
  .card-meta { font-size: 12.500px; }
  .card-body { max-width: 27em; }
  .card-body.s1 { font-size: clamp(27px, 2.250vw, 36px); } .card-body.s2 { font-size: clamp(24px, 1.900vw, 30px); } .card-body.s3 { font-size: clamp(21px, 1.600vw, 26px); } .card-body.s4 { font-size: clamp(19px, 1.400vw, 23px); } .card-body.s5 { font-size: clamp(18px, 1.250vw, 21px); }
  .card-sk { width: 300px; margin-bottom: 28px; }
  /* desktop: ima mesta, znak izlazi desno od teksta, u visini prvog reda */
  .t-citat .card-body::after { font-size: 320px; top: -0.36em; right: -0.42em; }
  .t-statistika .card-body::after { font-size: 230px; top: -0.62em; right: -0.5em; }
  .card.iqc .iq-q::after { font-size: 280px; top: -0.5em; right: -0.42em; }
  .card.note .card-body { font-size: 22px; } .card.note p { font-size: 16px; }
  .card-author { font-size: 17px; margin-top: 26px; } .card-src { font-size: 14px; }
  .card-actions { gap: 46px; padding-bottom: 16px; } .act svg { width: 25px; height: 25px; } .act { font-size: 14px; }
  .page { max-width: 900px; margin: 0 auto; padding: 18px 34px 70px; } .page.narrow { max-width: 420px; }
  h1 { font-size: 34px; }
  .ach-grid { grid-template-columns: 1fr 1fr; }
  .bottom { gap: 46px; }
  .card.pagec .card-main, .card.adc .card-main { max-width: 1040px; margin: 0 auto; width: 100%; }
  .pg-index { max-width: 640px; margin: 0 auto; text-align: center; } .pg-index .pg-title, .pg-index h1 { font-size: 38px; } .pg-index .pg-cta { justify-content: center; } .pg-body p { font-size: 19px; }
  .pg-title { font-size: 34px; } .pagec-pricing .pg-title, .pagec-pricing .pg-lead { text-align: center; }
  .plans, .page .plans { margin: 0; padding: 4px 0 8px; overflow: visible; justify-content: center; } .plan { flex: 1 1 0; max-width: 340px; padding: 24px 24px 20px; } .plan li { font-size: 14.500px; }
  .ad-box { max-width: 620px; margin: 0 auto; padding: 56px 40px; width: 100%; } .ad-t { font-size: 30px; }
  .q-grid { grid-template-columns: repeat(4, 1fr); } .q-daily { padding: 26px 28px; } .q-daily b { font-size: 30px; }
  .qp-text { font-size: 34px; } .qp-opts.choice { grid-template-columns: 1fr 1fr; } .qo { padding: 18px 20px; font-size: 17px; }
  .mem { grid-template-columns: repeat(4, 1fr); max-height: 620px; } .mc-f { font-size: 15px; } .mc.term .mc-f { font-size: 17px; }
  .drawer-p { right: 0; width: 360px; padding: 30px 34px; }
  .feed-nav { display: flex; flex-direction: column; gap: 6px; position: absolute; right: 22px; top: 50%; translate: 0 -50%; z-index: 4; }
  .feed-nav button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); } .feed-nav button:hover { color: var(--ink); background: var(--soft); }
  .learn-bar { top: calc(var(--top) - 2px); }
}

/* ================= ukrštenice ================= */
.cw-cards { display: grid; gap: 12px; margin-top: 18px; }
.cw-card { display: flex; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.cw-card:hover { border-color: var(--accent); }
.cw-card b { display: block; font-size: 16px; } .cw-card span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.cw-card em { display: block; font-style: normal; font-size: 13px; color: var(--accent); margin-top: 8px; font-weight: 500; }
.cw-card.done em { color: var(--ok, #2e7d32); }
.cw-mini { flex: none; width: 64px; aspect-ratio: calc(var(--c) / var(--r)); max-height: 90px; display: grid; grid-template-columns: repeat(var(--c), 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cw-mini i { background: var(--bg); }
.cw-entry .q-ic { color: var(--accent); }

.cw-page { padding-bottom: 0; }
.cw-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .cw-head h1 { margin-bottom: 4px; }
.cw-page h1 { font-size: 24px; }
.cw-note { font-size: 13px; color: var(--muted); margin: 0 0 12px; max-width: 34em; }
.cw-wrap { display: flex; justify-content: center; margin: 10px 0 12px; }
.cw-grid { --line-c: var(--ink); container-type: inline-size; width: min(100%, calc(var(--cols) * 66px)); display: grid; grid-template-columns: repeat(var(--cols), 1fr);
  gap: 1px; background: var(--line-c); border: 2px solid var(--line-c); user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.cw-grid > div { aspect-ratio: 1; background: var(--bg); position: relative; overflow: hidden; min-width: 0; }
.cw-l { display: flex; align-items: center; justify-content: center; cursor: pointer; scroll-margin: 90px 0 var(--dock-h, 300px); }
.cw-l span { font-family: var(--sans); font-weight: 600; font-size: calc(100cqw / var(--cols) * 0.5); line-height: 1; color: var(--ink); text-transform: uppercase; }
.cw-l.dg2 span { font-size: calc(100cqw / var(--cols) * 0.36); letter-spacing: -0.04em; }
.cw-l.w { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); }
.cw-l.s { background: color-mix(in srgb, var(--accent) 34%, var(--bg)); }
.cw-l.bad span { color: #c0392b; text-decoration: line-through; text-decoration-thickness: 2px; }
.cw-b { background: var(--line-c) !important; }
.cw-c, .cw-i { background: color-mix(in srgb, var(--ink) 5%, var(--bg)) !important; display: flex; flex-direction: column; }
.cw-i span, .cw-q span { font-family: var(--sans); font-size: max(6.5px, calc(100cqw / var(--cols) * 0.108)); line-height: 1.3; padding-top: 0.12em; text-transform: uppercase; text-align: center; color: var(--ink);
  overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow-wrap: anywhere; hyphens: auto; }
.cw-i { align-items: center; justify-content: center; padding: 3px; }
.cw-q { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2px 3px; position: relative; cursor: pointer; min-height: 0; }
.cw-c.n2 .cw-q + .cw-q { border-top: 1px solid var(--line-c); }
.cw-c.n2 .cw-q span { -webkit-line-clamp: 3; }
.cw-q.on { background: color-mix(in srgb, var(--accent) 22%, var(--bg)); }
.cw-q .ar { position: absolute; font-style: normal; font-size: max(8px, calc(100cqw / var(--cols) * 0.2)); line-height: 1; color: var(--accent); font-weight: 700; }
.cw-q.d-r .ar, .cw-q.d-rd .ar { right: 1px; top: 50%; transform: translateY(-50%); }
.cw-q.d-d .ar, .cw-q.d-dr .ar { bottom: 0; left: 50%; transform: translateX(-50%); }
.cw-q.d-l .ar, .cw-q.d-ld .ar { left: 1px; top: 50%; transform: translateY(-50%); }
.cw-q.d-r span, .cw-q.d-rd span { padding-right: 13%; } .cw-q.d-l span, .cw-q.d-ld span { padding-left: 13%; } .cw-q.d-d span, .cw-q.d-dr span { padding-bottom: 12%; }

.cw-dock { position: sticky; bottom: 0; background: var(--bg); padding: 6px 0 10px; z-index: 5; border-top: 1px solid var(--line); margin: 0 -22px; padding-left: 12px; padding-right: 12px; }
.cw-bar { display: flex; align-items: center; gap: 6px; }
.cw-bar .ico { font-size: 26px; line-height: 1; width: 38px; height: 42px; color: var(--muted); }
.cw-clue { flex: 1; min-height: 42px; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 10%, var(--bg)); font-size: 14.5px; line-height: 1.3; }
.cw-clue i { font-style: normal; color: var(--accent); font-weight: 700; font-size: 17px; }
.cw-clue span { flex: 1; } .cw-clue em { font-style: normal; font-size: 12px; color: var(--muted); }
.cw-tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.cw-tools #cwPct { margin-left: auto; font-size: 12.5px; }
.cw-kb { display: grid; gap: 6px; }
.cw-kb div { display: flex; gap: 4px; justify-content: center; }
.cw-kb button { flex: 1; max-width: 40px; height: 44px; border-radius: 7px; background: color-mix(in srgb, var(--ink) 8%, var(--bg)); color: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 500; padding: 0; }
.cw-kb button:active { background: color-mix(in srgb, var(--accent) 30%, var(--bg)); }
.cw-kb button.dg { font-size: 13px; max-width: 48px; } .cw-kb button.bk { max-width: 52px; font-size: 18px; }
@media (min-width: 760px) {
  .cw-kb { display: none; }
  .cw-dock { position: static; border-top: none; margin: 0 auto; max-width: min(100%, 720px); padding: 0; }
  .cw-page { max-width: 960px; }
}

/* besplatan paket: dnevna ograničenja */
.daily-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12.5px; color: var(--muted); margin: 4px 0 14px; }
.daily-strip b { font-weight: 500; color: var(--ink); padding: 3px 9px; border: 1px solid var(--line); border-radius: 12px; }
.daily-strip b i { font-style: normal; color: var(--accent); margin-left: 3px; }
.daily-strip b.used { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); } .daily-strip b.used i { color: var(--muted); }
.daily-strip a { color: var(--accent); margin-left: auto; }
.daily-lim { text-align: center; padding-top: 46px; } .daily-lim .q-ic { margin: 0 auto 14px; color: var(--accent); }
.daily-lim .pz-help { font-size: 13.5px; color: var(--muted); margin: 18px auto; max-width: 26em; }
.plan-y { font-size: 13px; color: var(--muted); margin: -6px 0 12px; } .plan-y b { color: var(--ink); } .plan-y em { font-style: normal; color: var(--ok); font-weight: 600; }

/* gost: zid za registraciju */
.wall-ic { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent); margin-bottom: 10px; }
.wall-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.wall .lead { margin-bottom: 16px; }
.wall-x { display: block; margin: 12px auto 0; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* plaćanje */
.plan-act { font-size: 13px; color: var(--ok); font-weight: 600; margin-bottom: 10px; text-align: center; }
.pay-qr { display: flex; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; margin: 18px 0 8px; }
.pay-qr .qr { flex: none; width: 168px; height: 168px; background: #fff; border-radius: 8px; padding: 4px; } .pay-qr .qr svg { width: 100%; height: 100%; display: block; fill: #000; stroke: none; } .pay-qr .qr svg rect { fill: #fff; }
.pay-qr b { font-size: 16px; } .pay-qr p { font-size: 13.5px; margin: 6px 0 0; line-height: 1.45; }
.slip { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; font-size: 14px; }
.slip > div { padding: 12px 14px; } .slip .sl-l { border-right: 1px solid var(--ink); }
.slip label { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 8px 0 3px; }
.slip label:first-child { margin-top: 0; } .slip .sl-row { display: grid; grid-template-columns: 1fr 0.7fr 1fr; gap: 8px; }
.slip .mono { font-family: ui-monospace, Menlo, monospace; font-size: 14.5px; letter-spacing: 0.02em; }
@media (max-width: 560px) { .slip { grid-template-columns: 1fr; } .slip .sl-l { border-right: none; border-bottom: 1px solid var(--ink); } .pay-qr { flex-direction: column; text-align: center; } }

.my-ord { font-size: 13px; margin: -4px 0 14px; border-top: 1px solid var(--line); } .my-ord > div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.my-ord .paid { color: var(--ok); } .my-ord .pending a { color: var(--accent); }

/* ponavljanje */
.rv-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); margin: 6px 0 12px; } .rv-top > span:first-child { display: flex; gap: 6px; align-items: center; } .rv-top svg { width: 18px; height: 18px; color: var(--accent); }
.rv-card { --tc: var(--accent); border: 1px solid var(--line); border-top: 4px solid var(--tc); border-radius: 16px; padding: 22px 20px; background: var(--card, transparent); }
.rv-t { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--tc); font-weight: 700; margin-bottom: 10px; }
.rv-q { font-size: 19px; line-height: 1.5; } .rv-blank { display: inline-block; min-width: 3em; border-bottom: 2px solid var(--tc); color: transparent; letter-spacing: -0.1em; padding: 0 2px; }
.rv-blank.on { color: var(--tc); letter-spacing: 0; font-weight: 700; } .rv-hint { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.rv-a { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); } .rv-al { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); } .rv-ans { font-size: 17px; font-weight: 600; margin-top: 4px; line-height: 1.45; }
.rv-btns { display: flex; gap: 10px; margin-top: 16px; } .rv-btns[hidden] { display: none; }
/* statistika */
.st-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 6px; } .st-t { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.st-t b { font-size: 24px; display: block; } .st-t span { font-size: 12.5px; color: var(--muted); } .st-t small { display: block; font-size: 12px; color: var(--accent); margin-top: 2px; }
@media (max-width: 560px) { .st-tiles { grid-template-columns: repeat(2, 1fr); } }
.st-bars { display: flex; gap: 3px; align-items: flex-end; height: 120px; padding-bottom: 18px; position: relative; margin-bottom: 18px; }
.st-bars > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.st-bars i { width: 100%; max-width: 22px; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; opacity: 0.85; } .st-bars span { position: absolute; bottom: -17px; font-size: 9.5px; color: var(--muted); }
.st-top > div { --tc: var(--accent); display: grid; grid-template-columns: 120px 1fr 36px 80px; gap: 10px; align-items: center; font-size: 13.5px; padding: 5px 0; }
.st-top i { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; } .st-top em { display: block; height: 100%; background: var(--tc); } .st-top b { text-align: right; } .st-top small { color: var(--muted); font-size: 12px; }
@media (max-width: 560px) { .st-top > div { grid-template-columns: 90px 1fr 30px; } .st-top small { display: none; } }
.st-h { display: flex; gap: 2px; align-items: flex-end; height: 70px; } .st-h i { flex: 1; background: var(--accent); opacity: 0.7; border-radius: 2px 2px 0 0; min-height: 2px; }
.st-hl { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-top: 3px; }
.st-box { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; } .st-box > div { text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 4px; } .st-box b { display: block; font-size: 20px; } .st-box span { font-size: 11.5px; color: var(--muted); }
.st-lock { display: flex; gap: 14px; border: 1px dashed var(--accent); border-radius: 14px; padding: 16px; margin-top: 20px; } .st-lock p { font-size: 13.5px; margin: 6px 0 12px; color: var(--muted); }
.stats .pz-entry { margin-top: 8px; }

.legal-note { font-size: 12.5px; color: var(--muted); margin: 4px 0 12px; line-height: 1.45; }
.dr-legal { display: flex; gap: 14px; padding: 10px 16px 0; font-size: 12px; } .dr-legal a { color: var(--muted); }
.pg-terms h2, .pg-privacy h2 { font-size: 17px; margin: 26px 0 6px; text-transform: none; letter-spacing: 0; color: var(--ink); } .pg-terms, .pg-privacy { max-width: 720px; } .pg-terms p, .pg-privacy p, .pg-terms li, .pg-privacy li { font-size: 15px; line-height: 1.6; }

.del-acc { color: var(--err, #c0392b) !important; } .btn.danger { background: #c0392b; color: #fff; border-color: #c0392b; }

/* kvrc.Teams */
.team .eyebrow { display: flex; align-items: center; gap: 6px; } .team .eyebrow svg { width: 18px; height: 18px; color: var(--accent); }
.tm-code { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 14px 0; }
.tm-code label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); } .tm-code b { font-size: 22px; letter-spacing: 0.12em; }
.mono { font-family: ui-monospace, Menlo, monospace; }
.tm-mem { font-size: 13.5px; } .tm-mem > div { display: grid; grid-template-columns: 1.6fr 0.7fr 0.5fr 0.6fr 0.9fr 24px; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tm-mem .tm-h { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); } .tm-mem small { display: block; color: var(--muted); font-size: 12px; } .tm-mem em { font-style: normal; font-size: 11px; color: var(--accent); }
@media (max-width: 560px) { .tm-mem > div { grid-template-columns: 1.5fr 0.6fr 0.5fr 0.6fr 22px; } .tm-mem > div > span:nth-child(5) { display: none; } }
.tm-rank { padding-left: 22px; margin: 6px 0 0; } .tm-rank li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); } .tm-rank li.me { color: var(--accent); font-weight: 600; }
.tm-infos { display: grid; gap: 12px; } .tm-info { --acc: var(--accent); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px 16px; }
.tm-it { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; } .tm-it .link { text-transform: none; letter-spacing: 0; font-size: 12px; margin-left: 6px; }
.tm-ib { font-family: var(--serif); font-size: 17px; line-height: 1.5; } .tm-ib .hl { font-style: normal; color: var(--accent); font-weight: 600; }
.tm-pz { display: flex; gap: 22px; align-items: flex-end; border: 1px solid var(--line); border-radius: 14px; padding: 16px; } .tm-pz > div:first-child b { font-size: 34px; display: block; } .tm-pz > div:first-child span { font-size: 12.5px; color: var(--muted); }
.tm-dist { flex: 1; display: flex; gap: 8px; height: 90px; align-items: flex-end; } .tm-dist > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; } .tm-dist i { width: 100%; background: var(--accent); opacity: 0.8; border-radius: 4px 4px 0 0; min-height: 2px; } .tm-dist span { font-size: 10.5px; color: var(--muted); margin-top: 4px; }

/* knjige, reklame sa slikom */
.ad-img { display: block; width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.books { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.book-c { display: flex; flex-direction: column; gap: 3px; padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; text-decoration: none; color: inherit; }
.book-c span { font-size: 13px; color: var(--muted); } .book-c small { font-size: 12px; color: var(--accent); }
.book-seq { margin-top: 18px; display: grid; gap: 12px; } .book-it { display: flex; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-family: var(--serif); font-size: 17px; line-height: 1.55; }
.book-it .bn { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 600 12px/1 var(--sans, system-ui); color: var(--muted); }
.book-it.rd .bn { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Citati — posebna kategorija na vrhu stranice Oblasti */
.quotes-hero { position: relative; display: flex; flex-direction: column; gap: 4px; margin: 18px 0 10px; padding: 22px 22px 18px; border-radius: 18px; overflow: hidden; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #9A058F 0%, #6d0466 60%, #4a0346 100%); box-shadow: 0 10px 28px -14px rgba(154, 5, 143, 0.7); }
.quotes-hero .qh-mark { position: absolute; right: 10px; top: -34px; font: italic 700 210px/1 var(--mark); color: #fff; opacity: 0.16; pointer-events: none; }
.quotes-hero .qh-k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.8; font-weight: 600; }
.quotes-hero .qh-t { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
.quotes-hero .qh-s { font-size: 13px; opacity: 0.85; }
.quotes-hero .qh-q { margin-top: 12px; font-family: var(--serif); font-size: 17px; line-height: 1.5; max-width: 560px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.quotes-hero .qh-q .hl, .quotes-hero .qh-q b { color: #fff; } .quotes-hero .qh-q em { display: block; font-family: var(--sans, inherit); font-style: normal; font-size: 13px; opacity: 0.8; margin-top: 6px; }
.quotes-hero .qh-go { margin-top: 14px; align-self: flex-start; background: #fff; color: #9A058F; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; }
.quotes-hero:hover .qh-go { transform: translateX(2px); }
.qh-auth { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.qh-auth a { font-size: 13px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); }
.qh-auth a small { color: var(--accent); font-weight: 700; margin-left: 2px; }

/* Oblasti — mreža kvadrata; boja oblasti puni kvadrat odozdo prema pročitanom */
.t-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 8px 0 18px; }
@media (min-width: 560px) { .t-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .t-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.t-tile { --tc: var(--accent); position: relative; aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; padding: 14px;
  border: 2px solid color-mix(in srgb, var(--tc) 78%, #000); border-radius: 16px; background: transparent; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .12s; }
:root[data-theme="dark"] .t-tile { border-color: color-mix(in srgb, var(--tc) 70%, #fff); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .t-tile { border-color: color-mix(in srgb, var(--tc) 70%, #fff); } }
.t-tile:hover { transform: translateY(-2px); }
.t-fill { position: absolute; left: 0; right: 0; bottom: 0; background: color-mix(in srgb, var(--tc) 32%, transparent); transition: height .5s ease; pointer-events: none; }
.t-tile > span, .t-tile > b, .t-tile > em { position: relative; }
.t-name { font-weight: 700; font-size: 16px; line-height: 1.25; letter-spacing: -0.01em; }
.t-meta { font-size: 12px; color: var(--muted); line-height: 1.35; }
.t-pct { margin-top: auto; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: color-mix(in srgb, var(--tc) 85%, var(--ink)); }
.t-fol { position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--tc); font-weight: 700; }
@media (max-width: 400px) { .t-name { font-size: 14.5px; } .t-pct { font-size: 22px; } }

/* Kviz — baneri */
.hero-b { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 22px 18px; border-radius: 18px; overflow: hidden; text-decoration: none; color: #fff; margin-top: 6px; }
.hero-pz { background: linear-gradient(135deg, #0f7d73 0%, #0b5a55 55%, #083f3c 100%); box-shadow: 0 10px 28px -14px rgba(15,125,115,.7); }
.hero-b .hb-ic { position: absolute; right: -18px; top: -18px; width: 150px; height: 150px; opacity: .15; } .hero-b .hb-ic svg { width: 100%; height: 100%; stroke: #fff; stroke-width: 1.4; fill: none; }
.hero-b .hb-k { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; opacity: .8; font-weight: 600; }
.hero-b .hb-t { font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; } .hero-b .hb-s { font-size: 14px; opacity: .88; max-width: 520px; }
.hero-b .hb-go { margin-top: 14px; align-self: flex-start; background: #fff; color: #0b5a55; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; }
.q-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; } .q-pair .pz-entry { margin-top: 0; }
@media (max-width: 560px) { .q-pair { grid-template-columns: 1fr; } }
.hl-entry { border: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); } .hl-entry .q-ic { background: var(--accent); color: #fff; } .hl-entry .q-ic svg { stroke: #fff; } .hl-entry b { color: var(--accent); }
.quiz-home .q-daily { background: linear-gradient(135deg, #9A058F 0%, #5e0358 100%); color: #fff; box-shadow: 0 10px 28px -14px rgba(154,5,143,.7); }
.quiz-home .q-daily small, .quiz-home .q-daily span { opacity: .85; } .quiz-home .q-daily em { background: #fff; color: #9A058F; }
.quiz-home .q-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .quiz-home .q-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 560px) { .quiz-home .q-card { aspect-ratio: 1 / 1; } }

.pf-c { display: flex; justify-content: center; margin-top: 16px; } .pf-c .btn { margin: 0; } .form-err { text-align: center; }

/* bočni meni (0.13.2) */
.dr-acc { display: flex; gap: 10px; align-items: stretch; margin: 6px 0 16px; } .dr-acc .who { flex: 1; margin: 0; }
.dr-mail { position: relative; flex: none; width: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--soft); color: var(--ink); text-decoration: none; }
.dr-mail svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dr-mail i { position: absolute; top: 7px; right: 7px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e0242c; color: #fff; font: 700 11px/18px var(--sans, system-ui); font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.mi.mi-c { color: var(--accent); }
.mi.mi-pz { display: block; width: fit-content; } .mi.mi-pz > span.pz-lbl { display: inline-block; background: var(--accent); color: #fff; padding: 5px 12px; border-radius: 8px; }
.dr-legal { justify-content: center; }

/* Stihovi i proza (0.13.4): stihovi poravnati levo unutar centriranog bloka, znak ¶ */
.card-body.s6 { font-size: 16px; line-height: 1.5; } .card-body.s7 { font-size: 14.5px; line-height: 1.5; }
@media (min-width: 760px) { .card-body.s6 { font-size: clamp(16px, 1.1vw, 19px); } .card-body.s7 { font-size: clamp(15px, 1vw, 17px); } }
.t-proza .card-body { text-align: left; max-width: min(30em, 100%); text-wrap: pretty; position: relative; isolation: isolate; }
.t-proza .card-body::after { content: "¶"; position: absolute; z-index: -1; font: italic 700 130px/1 var(--mark); color: var(--acc); opacity: .1; top: -0.7em; right: -0.15em; pointer-events: none; }
@media (min-width: 760px) { .t-proza .card-body::after { font-size: 230px; top: -0.5em; right: -0.45em; } }
.t-proza .card-author { font-style: italic; }

/* 0.13.4: Citati upola niži; Stihovi i proza — beli baner */
.quotes-hero { padding: 16px 22px 14px; margin: 18px 0 10px; } .quotes-hero .qh-t { font-size: 26px; } .quotes-hero .qh-mark { font-size: 150px; top: -22px; }
.quotes-hero + .quotes-hero { margin-top: 0; }
.prose-hero { background: #fff; color: #2a2730; border: 1px solid #ebe6ee; box-shadow: 0 10px 26px -16px rgba(60, 30, 70, .35); margin-bottom: 18px; }
.prose-hero .qh-k { color: #9A058F; opacity: 1; } .prose-hero .qh-s { color: #6b6670; opacity: 1; }
.prose-hero .qh-ic { position: absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(-8deg); width: 74px; height: 74px; }
.prose-hero .qh-ic svg { width: 100%; height: 100%; fill: none; stroke: #9A058F; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }

/* vodič za početnike */
.tour-fab { position: fixed; right: 16px; bottom: calc(140px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 8px; padding: 11px 16px 11px 13px; border-radius: 999px; border: 0;
  background: var(--accent); color: #fff; font: 600 14px/1 var(--sans, system-ui); box-shadow: 0 10px 24px -8px rgba(154,5,143,.6); cursor: pointer; animation: tourPulse 2.4s ease-in-out infinite; }
.tour-fab svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes tourPulse { 0%, 100% { box-shadow: 0 10px 24px -8px rgba(154,5,143,.6), 0 0 0 0 rgba(154,5,143,.45); } 50% { box-shadow: 0 10px 24px -8px rgba(154,5,143,.6), 0 0 0 10px rgba(154,5,143,0); } }
@media (min-width: 760px) { .tour-fab { right: 28px; bottom: 150px; } }
.tour { position: fixed; inset: 0; z-index: 90; background: rgba(15, 10, 18, .55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 18px; animation: tourIn .2s ease; }
@keyframes tourIn { from { opacity: 0; } }
.tour-p { position: relative; width: 100%; max-width: 400px; background: var(--bg); color: var(--ink); border-radius: 22px; padding: 22px 22px 18px; text-align: center; box-shadow: 0 30px 70px -20px rgba(0,0,0,.5); animation: tourUp .25s ease; }
@keyframes tourUp { from { transform: translateY(14px); opacity: 0; } }
.tour-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; background: none; font-size: 26px; color: var(--muted); cursor: pointer; }
.tour-n { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.tour-art { width: 100%; max-width: 260px; height: auto; margin: 8px auto 4px; display: block; color: var(--ink); }
.tour-p h3 { font-size: 22px; margin: 6px 0 8px; letter-spacing: -0.01em; } .tour-p p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0 0 14px; min-height: 4.6em; }
.tour-dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 16px; } .tour-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: all .2s; } .tour-dots i.on { width: 22px; border-radius: 4px; background: var(--accent); }
.tour-b { display: flex; gap: 10px; } .tour-b .btn { flex: 1; justify-content: center; margin: 0; }
