/* Sajt v2 (mockup docs/mockups/veb-sajt-v2.html, vlasnik 13.11 „može"). */
:root {
  --bg: #FAFAF8; --surface: #FFFFFF; --ink: #1A1C1E; --faded: #6E716B; --soft: #9A9C95;
  --accent: #107861; --accent-dark: #0B5A48; --line: #E5E3DC; --sand: #EEEBE2;
  --mint: #E7F3EE; --mint-deep: #CFE8DD; --bad: #B3261E; --bad-tint: #F8DDD8;
  --clue-face: #F1EFEA; --clue-ink: #55584F; --block: #252A25; --word: #FFF6C2;
  --ok-tint: #DFF0DC; --ok-ink: #1E6B34; --cell: #FFFFFF;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141618; --surface: #1F2225; --ink: #ECEAE4; --faded: #A3A69F; --soft: #7C7F78;
    --accent: #3FA88C; --accent-dark: #7BCDB4; --line: #2E3236; --sand: #2A2D2F;
    --mint: #1E3A31; --mint-deep: #275244; --bad: #E8867D; --bad-tint: #4A2623;
    --clue-face: #2A2D2F; --clue-ink: #B9BCB4; --block: #0E100E; --word: #4A4526;
    --ok-tint: #1F3B25; --ok-ink: #8FD39C; --cell: #24272A;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
       font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
[hidden] { display: none !important; }
.omot { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
/* Podnožje uvek na dnu ekrana (vlasnik 19.11): na kratkoj strani je
   stajalo na sredini. Telo je kolona, a sadržaj (main) uzima ostatak. */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }
@media (min-width: 900px) { .omot { padding: 0 28px; } }

/* zaglavlje */
header.vrh { background: var(--surface); border-bottom: 1px solid var(--line); }
.vrh .omot { display: flex; align-items: center; gap: 10px 20px; min-height: 58px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -.3px; }
.logo { display: grid; grid-template-columns: repeat(3, 8px); gap: 2px; }
.logo i { width: 8px; height: 8px; border-radius: 2px; background: var(--mint-deep); display: block; }
.logo i.on { background: var(--accent); }
nav.glavna { display: flex; gap: 2px; font-size: 15px; font-weight: 500; overflow-x: auto; scrollbar-width: none; }
nav.glavna a { color: var(--faded); text-decoration: none; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
nav.glavna a.on, nav.glavna a:hover { color: var(--accent-dark); background: var(--mint); }
.toggle { margin-left: auto; display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 13px; font-weight: 500; }
.toggle button { border: 0; background: transparent; color: var(--faded); padding: 5px 12px; font: inherit; cursor: pointer; }
.toggle button.on { background: var(--accent); color: #fff; }
@media (max-width: 899px) {
  nav.glavna { order: 3; width: 100%; margin: 0 -6px 6px; }
  .toggle { order: 2; }
}

main { padding: 18px 0 8px; }
h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.6px; margin: 4px 0 6px; text-wrap: balance; }
@media (min-width: 900px) { h1 { font-size: 32px; } }
.lead { color: var(--faded); margin: 0 0 18px; }
.sekcija { font-size: 20px; font-weight: 700; letter-spacing: -.3px; margin: 30px 0 12px; }

/* početna */
.naslov-dana { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 12px; }
.naslov-dana h1 { margin: 0; }
.naslov-dana .dat { color: var(--faded); font-size: 15px; }
.nastavi { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin: 0 0 14px; text-decoration: none; color: var(--ink); }
.nastavi .t { font-weight: 700; } .nastavi .d { font-size: 13px; color: var(--faded); }
.nastavi .str { margin-left: auto; color: var(--accent); font-size: 22px; }
.police { display: grid; gap: 12px; }
@media (min-width: 900px) { .police { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.polica { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); }
.polica:hover { border-color: var(--mint-deep); }
.polica .ime { font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.polica .pol-opis { color: var(--faded); font-size: 13.5px; }
.polica .traka { height: 5px; background: var(--line); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.polica .traka i { display: block; height: 100%; width: 0; background: var(--accent); }
.minij { display: grid; gap: 1.5px; flex: none; padding: 4px; background: var(--line); border-radius: 6px; }
.minij i { display: block; width: 6px; height: 6px; background: var(--cell); }
.minij i.b { background: var(--block); } .minij i.o { background: var(--clue-face); }
.dno-red { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 900px) { .dno-red { grid-template-columns: 1.2fr 1fr; gap: 16px; } }
.app { background: var(--mint); border-radius: 18px; padding: 16px 18px; display: flex; gap: 16px; align-items: center; color: var(--ink); text-decoration: none; }
.app .t { font-size: 18px; font-weight: 700; display: block; }
.app .d { font-size: 14px; color: var(--accent-dark); display: block; }
.qr-kod { width: 104px; height: 104px; flex: none; border-radius: 10px; background: #fff; padding: 4px; display: none; }
@media (min-width: 900px) and (hover: hover) { .qr-kod { display: block; } }
.gp { background: var(--ink); color: var(--bg); border-radius: 10px; padding: 7px 11px; font-size: 13px; line-height: 1.15; font-weight: 600; display: inline-block; margin-top: 10px; }
.gp small { display: block; font-size: 9.5px; opacity: .8; font-weight: 400; }
.kako { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; font-size: 14.5px; color: var(--faded); }
.kako h2 { color: var(--ink); font-size: 16px; margin: 0 0 4px; }
.kako ol { margin: 6px 0 0; padding-left: 20px; }
.tekst { font-size: 15px; color: var(--faded); }
.tekst b { color: var(--ink); }
footer.dno { border-top: 1px solid var(--line); margin-top: 28px; }
footer.dno .omot { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--faded); padding-top: 14px; padding-bottom: 28px; }
footer.dno a { color: inherit; }
footer.dno .desno { margin-left: auto; }
.ios-skriveno .samo-android { display: none !important; }

/* polica */
.plocice { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 7px; }
.plocica { aspect-ratio: 1; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center;
           justify-content: center; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); position: relative; text-decoration: none; }
.plocica:hover { border-color: var(--accent); }
.plocica.resena { background: var(--mint); color: var(--accent-dark); border-color: var(--mint-deep); }
.plocica.resena::after { content: "✓"; position: absolute; top: 2px; right: 5px; font-size: 10px; color: var(--accent); }
.sveska { font-size: 14px; color: var(--faded); margin: 18px 0 8px; font-weight: 500; }

/* igra */
.igra { position: relative; }
.glavni { display: grid; gap: 0 24px; }
.glavni > div { min-width: 0; }
/* Računar (vlasnik 19.11, mockup veb-veca-mreza-na-racunaru, 16): mreža
   uzima širinu koja joj treba za najveće polje (72 px po polju + okvir
   kartice), a spisak opisa dobija ostatak, najmanje 280 px. Do tada su delili
   širinu skoro pola-pola, pa je Skandinavka ostajala sitna pored širokog
   spiska. `--c` (broj kolona) postavlja igra.js na `.igra`. */
@media (min-width: 900px) { .glavni { grid-template-columns: minmax(0, calc(var(--c, 9) * 72px + 22px)) minmax(280px, 1fr); align-items: start; } }
/* Veličina slova uvećava celu stranu (`zoom`, dole), a upit o širini to ne
   vidi: sa „A+" i „A++" za dve kolone ima mesta tek od 900 px × 1,12 i
   × 1,25. Ispod toga mreža dobija celu širinu, a opisi ostaju u „Svi opisi"
   ispod nje; opis izabrane reči je i dalje pod mrežom. */
@media (min-width: 900px) and (max-width: 1007px) { .slova-2 .igra .glavni { grid-template-columns: minmax(0, 1fr); } .slova-2 .igra .spisak { display: none; } }
@media (min-width: 900px) and (max-width: 1124px) { .slova-3 .igra .glavni { grid-template-columns: minmax(0, 1fr); } .slova-3 .igra .spisak { display: none; } }
.shead { display: flex; align-items: center; gap: 10px; padding: 0 2px 8px; }
.shead .nazad { font-size: 22px; color: var(--ink); text-decoration: none; width: 26px; }
.shead h1 { font-size: 19px; font-weight: 600; color: var(--faded); margin: 0; letter-spacing: 0; }
.shead .vreme { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--faded); font-size: 15px; }
.bedz { display: inline-block; background: var(--mint); color: var(--accent-dark); border-radius: 999px; padding: 1px 9px; font-size: 13px; font-weight: 500; }
.meta { display: flex; align-items: center; gap: 10px; padding: 0 2px 8px; font-size: 12px; }
.meta .tezina { letter-spacing: .12em; color: var(--faded); font-weight: 500; text-transform: uppercase; }
.meta .broj { color: var(--accent); font-weight: 700; }
.meta .traka { flex: 1; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.meta .traka i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.karta-mreze { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 10px; }
.mreza-omot { position: relative; }
.mreza { display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); gap: 1px; user-select: none; -webkit-user-select: none; touch-action: manipulation; margin: 0 auto; }
/* Računar (vlasnik 19.11, mockup veb-tastatura-i-mreza, 11): mreža uzima širinu
   svoje kolone, do 72 px po polju. Do tada se smanjivala dok cela ne stane po
   visini — na laptopu polja od 37 px i tekst opisa od 6 px. Viša mreža sada
   ne staje cela: strana klizi i prati aktivno polje (igra.js, uVidik). */
@media (min-width: 900px) { .mreza { max-width: min(100%, calc(var(--c) * 72px)); } }
.p { background: var(--cell); aspect-ratio: 1; position: relative; display: flex; align-items: center; justify-content: center;
     font-size: calc(var(--celija, 44px) * .5); font-weight: 600; color: var(--ink); cursor: pointer; min-width: 0; }
.p.b { background: var(--block); cursor: default; }
.p.o { background: var(--clue-face); color: var(--clue-ink); font-size: max(6.5px, calc(var(--celija, 44px) * .175)); font-weight: 400; line-height: 1.12;
       flex-direction: column; padding: 2px; text-align: center; overflow: hidden; }
/* Opis se NE lomi usred reči („dalekovod|e") i dva opisa u istom polju dele
   ga napola (min-height: 0) umesto da rastu jedan preko drugog; ono što ne
   stane, igra.js smanjuje dok ne stane (uklopi), kao aplikacija. */
.p.o .q { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; position: relative; width: 100%; overflow: hidden; hyphens: manual; }
.p.o .q .t { min-width: 0; max-width: 100%; }
.p.o .q.qr { padding-right: 6px; }
.p.o .q.qd { padding-bottom: 5px; }
.p.o .q + .q { border-top: 1px solid var(--line); }
.p.o .q.akt { color: var(--accent-dark); font-weight: 700; }
.p.o .s { position: absolute; color: var(--accent); font-size: 7px; line-height: 1; }
.p.o .s.r { right: -1px; top: 50%; transform: translateY(-50%); }
.p.o .s.d { bottom: -2px; left: 50%; transform: translateX(-50%); }
.p.w { background: var(--word); }
.p.kur { background: var(--word); box-shadow: inset 0 0 0 2.5px var(--accent); }
.p.ok { background: var(--ok-tint); color: var(--ok-ink); }
/* Tačno rešena reč, kao u aplikaciji (PuzzleGrid: CorrectTint/CorrectInk;
   vlasnik 19.11): tiho zelena čim je cela reč tačna, osim reči u kojoj je
   kursor — ta ostaje žuta. */
.p.tacno { background: var(--ok-tint); color: var(--ok-ink); }
.p.los { background: var(--bad-tint); color: var(--bad); }
.p.otk { color: var(--accent); }
.p.dg { font-size: calc(var(--celija, 44px) * .34); }
.opis { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin: 10px 0 8px; padding: 8px 6px; }
.opis .gore { display: flex; align-items: center; gap: 6px; }
.opis .nav { border: 0; background: transparent; color: var(--accent); font-size: 22px; padding: 0 8px; cursor: pointer; }
.opis .kratko { flex: 1; font-size: 16px; line-height: 1.25; }
.opis .kratko .br { color: var(--accent); font-weight: 700; margin-right: 6px; }
.opis .ceo { background: var(--mint); color: var(--accent-dark); border-radius: 10px; padding: 6px 10px; margin-top: 6px; font-size: 14px; line-height: 1.35; }
.alati { display: flex; gap: 8px; margin: 0 0 8px; align-items: center; }
.btn { display: block; text-align: center; border: 0; border-radius: 999px; padding: 11px 16px;
       font: 600 16px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer; text-decoration: none; }
.btn.glavno { background: var(--accent); color: #fff; }
.btn.tiho { background: var(--surface); color: var(--accent); border: 1px solid var(--line); }
.alati .btn { flex: 1; padding: 9px 10px; font-size: 15px; font-weight: 500; }
.alati .lupa { flex: 0 0 auto; width: 44px; padding: 9px 0; display: none; }
.kbd { font-size: 12.5px; color: var(--soft); display: none; margin-left: 6px; }
.kbd kbd { font: 500 11px system-ui; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 5px; color: var(--faded); background: var(--surface); }
.tast { display: grid; gap: 5px; padding: 4px 0 8px; }
.tr-red { display: flex; gap: 4px; justify-content: center; }
.taster { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
          border-radius: 8px; font: 500 18px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer; padding: 0; }
.taster.mali { font-size: 13px; }
.taster.bris { background: var(--sand); }
.napomena { font-size: 13px; color: var(--faded); text-align: center; margin: 4px 0 0; }
.slova-opis { display: none; }
.tast-prekidac { display: none; }
.aktivni { display: none; }
.spisak { display: none; }
.mapa { display: none; }
.na-dnevnu { display: none; }
/* Dok se dnevna ne učita (ili ako učitavanje padne), dugme ka njoj ostaje (Codex #112). */
.igra.pocetna:not(.spremna) .na-dnevnu { display: block; margin-top: 12px; }

/* računar: opisi pored mreže, bez ekranske tastature */
@media (min-width: 900px) {
  /* Dve kolone (vodoravno | uspravno) kad ima mesta, jedna kad je spisak uzak. */
  .spisak { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 18px; background: var(--surface); border: 1px solid var(--line);
            border-radius: 20px; padding: 14px; max-height: calc(100vh - 24px); overflow-y: auto; position: sticky; top: 12px; }
  /* Spisak opisa ostaje na mestu dok mreža klizi: kolona se rasteže do visine reda. */
  .desno { align-self: stretch; }
  /* Red slova stoji odmah ispod mreže, iznad opisa; kad je mreža viša od
     prozora, lepi se za njegovo dno, da ne ostane ispod ivice. `.dok` se na
     računaru ne crta kao kutija (to je tabla telefona). */
  .dok { display: contents; }
  .slova { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
  .spisak h2 { margin: 0 0 6px; font-size: 13px; color: var(--faded); text-transform: uppercase; letter-spacing: .06em; }
  .spisak ol { list-style: none; margin: 0 0 6px; padding: 0; }
  .spisak li { display: flex; gap: 8px; padding: 6px 8px; border-radius: 9px; font-size: 14px; line-height: 1.3; cursor: pointer; }
  .spisak li:hover { background: var(--sand); }
  .spisak li .n { color: var(--soft); font-variant-numeric: tabular-nums; min-width: 20px; text-align: right; font-weight: 600; }
  .spisak li.akt { background: var(--word); }
  .spisak li.akt .n { color: var(--accent-dark); }
  .spisak li.puna { color: var(--soft); text-decoration: line-through; text-decoration-color: var(--line); }
  .opis .ceo { font-size: 15px; }
}
/* Računar sa mišem: fizička tastatura piše, a ispod mreže je i ekranska.
   Skupljena (`.igra` bez `cela-tast`): red slova kojih bez srpskog rasporeda
   nema (vlasnik 19.11, mockup veb-tastatura-i-mreza, 10). Cela (`cela-tast`,
   tako se učitava): sva slova, za igru samo mišem (vlasnik 19.11, mockup
   veb-cela-tastatura-i-zum, 14). Dugme prebacuje, `uk:tast` pamti. */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .slova { position: sticky; bottom: 0; z-index: 3; background: var(--bg); padding: 8px 2px; }
  .slova-opis { display: inline; font-size: 12.5px; color: var(--soft); white-space: nowrap; }
  .tast { display: flex; gap: 6px; padding: 0; }
  .tast .tr-red { display: contents; }
  .tast .taster { display: none; flex: 0 0 42px; height: 34px; font-size: 16px; }
  .tast .taster.sp { display: block; }
  .tast .taster.mali { font-size: 13px; }
  .tast-prekidac { display: block; margin-left: auto; border: 1px solid var(--line); background: var(--surface); color: var(--accent); border-radius: 999px;
                   padding: 6px 12px; font: 500 13px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer; white-space: nowrap; }
  .tast-prekidac .kad-cela { display: none; }
  .igra.cela-tast .tast-prekidac .kad-cela { display: inline; }
  .igra.cela-tast .tast-prekidac .kad-red { display: none; }
  /* Tastatura u sredini, dugme desno od nje; u uskoj koloni tastatura uzima
     sve što ostane pored dugmeta. */
  .igra.cela-tast .slova { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px) minmax(max-content, 1fr); align-items: start; gap: 0 8px;
                           padding: 8px 0 10px; border-top: 1px solid var(--line); }
  .igra.cela-tast .slova-opis { display: none; }
  .igra.cela-tast .tast { grid-column: 2; display: grid; gap: 5px; }
  .igra.cela-tast .tast .tr-red { display: flex; }
  .igra.cela-tast .tast .taster { display: block; flex: 1; height: 38px; font-size: 17px; }
  .igra.cela-tast .tast .taster.mali { font-size: 13px; }
  .igra.cela-tast .tast-prekidac { grid-column: 3; justify-self: end; margin: 0; }
  .kbd { display: inline; }
}

/* telefon: velika mreža se otvara uvećana (polje 68 px — opis u polju se
   čita; vlasnik 19.11, mockup veb-cela-tastatura-i-zum, 15) i pomera se, mala
   mapa pokazuje gde si; ⤢ je smanji da stane cela (`ceo-ekran`, `uk:lupa`) */
@media (max-width: 899px) {
  /* Tabla sa opisom, dugmadima i tastaturom je zalepljena za dno ekrana
     (vlasnik 19.11, mockup veb-tastatura-i-mreza, 9): kod većih mreža je
     tastatura do tada ostajala ispod ivice. Mreža klizi iza table. */
  .dok { position: sticky; bottom: 0; z-index: 6; background: var(--bg); margin: 0 -16px; padding: 6px 16px calc(6px + env(safe-area-inset-bottom, 0px));
         border-top: 1px solid var(--line); box-shadow: 0 -8px 14px -10px rgba(0,0,0,.28); display: flex; flex-direction: column; }
  .dok .slova { order: 3; } /* u kosturu je prva (računar: ispod mreže), na telefonu tastatura ide na dno table */
  .dok .opis { margin: 0 0 6px; padding: 6px; }
  .dok .opis .ceo { margin-top: 4px; padding: 4px 10px; font-size: 13.5px; }
  .dok .alati { margin: 0 0 6px; }
  .dok .tast { padding: 0; }
  .dok .taster { height: 42px; }
  .igra.siroka .alati .lupa { display: block; }
  .igra.siroka:not(.ceo-ekran) .mreza-omot { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .igra.siroka:not(.ceo-ekran) .mreza { width: calc(var(--c) * 68px); }
  /* Mapa stoji u donjem desnom uglu mreže, ali iznad table: dok je dno mreže
     ispod nje, lepi se uz njenu gornju ivicu (`--dok-v` i gornju marginu
     postavlja igra.js). Do 19.11 je bila u dnu kartice, dakle iza table. */
  .igra.siroka:not(.ceo-ekran) .mapa { display: grid; position: sticky; bottom: calc(var(--dok-v, 300px) + 10px); z-index: 2; width: max-content;
                                        margin: 0 6px 6px auto; gap: 1px; padding: 3px; background: var(--surface);
                                        border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.15); pointer-events: none; }
  .mapa i { display: block; width: 4px; height: 4px; background: var(--line); }
  .mapa i.b { background: var(--block); } .mapa i.o { background: var(--clue-face); } .mapa i.k { background: var(--accent); }
  /* početna na telefonu: mreža kao pregled, igra na strani dnevne */
  .igra.pocetna .opis, .igra.pocetna .alati, .igra.pocetna .tast, .igra.pocetna .napomena, .igra.pocetna .meta { display: none; }
  .igra.pocetna .mreza { pointer-events: none; }
  .igra.pocetna .karta-mreze { cursor: pointer; } /* dodir otvara dnevnu (sajt.js) */
  .igra.pocetna .na-dnevnu { display: block; margin-top: 12px; }
}

/* Iznad table sa tastaturom (z 6) i reda slova (z 3): rezervni kraj, kad se
   put ne učita, inače bi ostao ispod njih (Codex #163). */
.gotovo { position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 85%, transparent); display: none; align-items: center; justify-content: center; padding: 18px; z-index: 8; }
.gotovo.on { display: flex; }
.gotovo .karta { text-align: center; width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; }
.gotovo .vel { font-size: 22px; font-weight: 700; margin: 4px 0; }
.gotovo .btn { margin-top: 10px; }
details.svi { margin: 22px 0 0; color: var(--faded); font-size: 14px; }
details.svi summary { cursor: pointer; }
details.svi ol { padding-left: 22px; }
.karta { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 16px; }

/* Otkrivanje: brojač na dugmetu i list kad se potroši (mockup veb-levak, vlasnik 15.11). */
.otkrij .n { display: inline-block; margin-left: 6px; background: var(--mint); color: var(--accent-dark); border-radius: 999px;
             padding: 0 7px; font-size: 12px; font-weight: 600; line-height: 1.6; vertical-align: 1px; }
.list-otkr { position: fixed; inset: 0; z-index: 20; }
.list-otkr .zastor { position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 55%, transparent); }
.list-otkr .list { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 440px;
                   background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0;
                   padding: 16px 18px 20px; box-shadow: 0 -6px 24px rgba(0,0,0,.14); }
.list-otkr .ruc { width: 36px; height: 4px; border-radius: 9px; background: var(--line); margin: -4px auto 12px; }
.list-otkr h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.2px; }
.list-otkr p { margin: 0 0 10px; font-size: 15px; color: var(--faded); }
.list-otkr p b { color: var(--ink); }
.list-otkr .btn { width: 100%; margin-top: 8px; }
.list-otkr .sitno { font-size: 12.5px; color: var(--soft); text-align: center; margin: 10px 0 0; }
.list-otkr .samo-telefon, .list-otkr .samo-racunar { display: none; }
.android .list-otkr .samo-telefon { display: block; }
.racunar .list-otkr .samo-racunar { display: flex; }
.qr-red { align-items: center; gap: 12px; font-size: 14px; color: var(--faded); margin: 6px 0 2px; }
.qr-red img { flex: none; border-radius: 8px; background: #fff; padding: 4px; }

/* Proslava dnevne: niz, odbrojavanje, „Pošalji nekome". */
.cip { display: inline-block; background: var(--mint); color: var(--accent-dark); border-radius: 999px; padding: 2px 10px;
       font-size: 13px; font-weight: 600; margin: 4px 0 2px; }
.samo-dnevna .niz { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 4px; font-size: 22px; }
.samo-dnevna .niz b { font-size: 17px; color: #D9622B; }
.samo-dnevna .tacke { display: flex; gap: 5px; justify-content: center; margin: 4px 0; }
.samo-dnevna .tacke i { width: 30px; height: 30px; border-radius: 50%; background: var(--sand); font: 500 10.5px system-ui, sans-serif;
                        display: flex; align-items: center; justify-content: center; color: var(--soft); font-style: normal; }
.samo-dnevna .tacke i.on { background: #D9622B; color: #fff; font-weight: 700; }
.samo-dnevna .tacke i.dan { outline: 2px solid #D9622B; outline-offset: 1px; }
.samo-dnevna .odbr { font-size: 14px; color: var(--faded); margin: 8px 0 0; }
.samo-dnevna .odbr b { color: var(--ink); font-variant-numeric: tabular-nums; }
.gotovo .apprd { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
                 font-size: 14px; color: var(--accent); font-weight: 600; text-align: left; text-decoration: none; }
.gotovo .apprd .str { margin-left: auto; color: var(--faded); }
.gotovo .btn.posalji { width: 100%; }
@media (prefers-color-scheme: dark) {
  .samo-dnevna .niz b { color: #F08A55; }
  .samo-dnevna .tacke i.on { background: #C9662F; }
  .samo-dnevna .tacke i.dan { outline-color: #F08A55; }
}


/* ===== Web kao aplikacija (mockup veb-kao-aplikacija.html, vlasnik 16.11) ===== */
.samo-tel { }
.samo-rac { display: none !important; }
@media (min-width: 900px) {
  .samo-tel { display: none !important; }
  .samo-rac { display: revert !important; }
  .poc-d.samo-rac { display: block !important; }
  .tile.samo-rac { display: flex !important; }
}
/* donja traka (telefon), kao u aplikaciji: ikona i reč u istom redu */
nav.donja { display: none; }
@media (max-width: 899px) {
  body:not([data-strana="igra"]) nav.glavna { display: none; }
  body:not([data-strana="igra"]) { padding-bottom: 60px; }
  nav.donja { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: var(--surface);
              border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0); }
  nav.donja a { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px;
                color: var(--faded); text-decoration: none; font-weight: 500; font-size: 15px; position: relative; white-space: nowrap; }
  nav.donja a svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
  nav.donja a.on { color: var(--accent); font-weight: 700; }
  nav.donja a.on::before { content: ""; position: absolute; top: 0; left: 19%; right: 19%; height: 3px; background: var(--accent); border-radius: 0 0 3px 3px; }
}

/* početna */
.poc { display: grid; gap: 14px; }
@media (min-width: 900px) { .poc { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 28px; align-items: start; } }
.poc-l { display: grid; gap: 12px; min-width: 0; }
.pozdrav .zdravo { font-size: 28px; font-weight: 800; letter-spacing: -.5px; line-height: 1.15; }
.pozdrav .podnaslov { font-size: 15px; font-weight: 400; color: var(--faded); margin: 2px 0 0; letter-spacing: 0; }
.prva { display: block; background: var(--surface); border: 2px solid var(--accent); border-radius: 20px; padding: 14px 16px 16px; text-decoration: none; color: var(--ink); }
.prva .k { display: block; font-weight: 700; color: var(--accent-dark); font-size: 15px; }
.prva .minij { margin: 12px auto 10px; width: max-content; gap: 2px; background: var(--line); }
.prva .minij i { width: 22px; height: 22px; }
.prva .v { display: block; text-align: center; color: var(--faded); font-size: 15px; margin-bottom: 12px; }
.kp { background: var(--surface); border-radius: 20px; box-shadow: 0 2px 6px rgba(0,0,0,.08); overflow: hidden; }
.kp-sl { display: block; position: relative; height: 150px; background: var(--sand) center / cover; text-decoration: none; }
@media (min-width: 900px) { .kp-sl { height: 210px; } }
.kp-sl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.62)); }
.kp-sl .pill { position: absolute; z-index: 1; left: 10px; top: 10px; background: rgba(255,255,255,.92); color: #0B5A48; font-weight: 500; font-size: 14px; padding: 3px 11px; border-radius: 999px; }
.kp-sl .ime { position: absolute; z-index: 1; left: 14px; bottom: 8px; color: #fff; font-weight: 800; font-size: 26px; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.kp-sl .odn { position: absolute; z-index: 1; right: 14px; bottom: 11px; color: #fff; font-weight: 700; font-size: 19px; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.kp-dno { padding: 10px 14px 14px; display: grid; gap: 8px; }
.kp-dno .r { color: var(--faded); font-size: 15px; }
.zap { display: block; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; } .zap i { display: block; height: 100%; background: var(--accent); }
.ptraka { display: flex; align-items: center; position: relative; margin: 4px 0 2px; }
.ptraka::before { content: ""; position: absolute; left: 4px; right: 22px; top: 50%; height: 5px; margin-top: -2.5px; background: var(--sand); border-radius: 3px; }
.ptraka i { flex: 1; height: 18px; position: relative; display: grid; place-items: center; }
.ptraka i::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--soft); opacity: .5; z-index: 1; }
.ptraka i.d::before { content: ""; position: absolute; left: -1px; right: -1px; top: 6.5px; height: 5px; background: var(--accent); }
.ptraka i.d::after { background: #fff; opacity: .9; }
.ptraka i.c::after { width: 15px; height: 15px; background: #FFFACD; border: 3px solid var(--accent); box-sizing: border-box; opacity: 1; }
.ptraka b { color: var(--accent); font-size: 16px; margin-left: 4px; }
.red2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 150px; background: var(--surface); border: 1px solid var(--line);
        border-radius: 18px; padding: 10px 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.tile.acc { border: 2px solid var(--accent); padding: 9px 11px; }
.tile .t { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 17px; }
.tile .r { font-size: 13.5px; color: var(--faded); line-height: 1.3; }
.tile .r.k { color: var(--accent-dark); font-weight: 600; }
.tile .sp { flex: 1; min-height: 6px; }
.tile .poz { color: var(--accent); font-weight: 700; font-size: 15px; padding-top: 6px; }
.btn.mali { padding: 9px 10px; font-size: 15px; margin-top: 6px; }
.glif { display: inline-grid; grid-template-columns: repeat(3, 5px); gap: 1.5px; flex: none; }
.glif i { width: 5px; height: 5px; border-radius: 1px; background: var(--mint-deep); display: block; } .glif i.on { background: var(--accent); }
.nd { display: flex; justify-content: space-between; margin: 7px 0 4px; max-width: 220px; }
.nd span { display: grid; justify-items: center; gap: 2px; font-size: 11px; line-height: 1.1; color: var(--faded); width: 16px; }
.nd i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line); display: block; box-sizing: border-box; }
.nd span.nr i { background: var(--accent); border-color: var(--accent); }
.nd span.nt { color: var(--accent-dark); font-weight: 700; } .nd span.nt i { border: 2px solid var(--accent); }
.mp-t { padding-right: 70px; display: grid; }
.mapica { position: absolute; right: 8px; top: 8px; width: 66px; }
.app-t { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.app-t img { width: 74px; height: 74px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.vrste { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.vr { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.vr:first-child, .vr[hidden] + .vr { border-top: 0; }
.vr img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; }
.vr-t { display: grid; } .vr-t b { font-size: 17px; } .vr-o { color: var(--faded); font-size: 14px; }
.vr .str { margin-left: auto; color: var(--faded); font-size: 22px; }

/* mapa */
.mapa-k { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 12px 14px; }
.mapa-k .hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.mapa-k h2 { font-size: 19px; margin: 0; }
.izbor-vrste { display: flex; gap: 4px; flex-wrap: wrap; }
.izbor-vrste a { border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; font-size: 13.5px; font-weight: 600; color: var(--faded); text-decoration: none; }
.izbor-vrste a.on { background: var(--mint); color: var(--accent-dark); border-color: var(--mint-deep); }
.mapa-velika { min-height: 260px; display: grid; place-items: center; }
.mapa-svg { display: block; width: 100%; height: auto; max-height: 440px; }
.mapa-svg.mala { max-height: 92px; }
.m-obris { fill: var(--mint); stroke: var(--accent-dark); stroke-width: 6; stroke-linejoin: round; }
.mala .m-obris { stroke-width: 14; }
.m-reka { fill: none; stroke: #9CC7E0; stroke-width: 4; stroke-linejoin: round; opacity: .8; }
.m-put { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.mala .m-put { stroke-width: 22; }
.m-dalje { fill: none; stroke: var(--soft); stroke-width: 5; stroke-dasharray: 2 13; stroke-linecap: round; }
.mala .m-dalje { stroke-width: 10; stroke-dasharray: 4 22; }
.m-t { fill: var(--accent); } .m-n { fill: var(--surface); stroke: var(--soft); stroke-width: 4; }
.m-z { fill: var(--surface); stroke: var(--accent); stroke-width: 5; } /* započeto mesto posle tekućeg */
.m-tek { fill: #FFFACD; stroke: #C9A227; stroke-width: 7; }
.mala .m-tek { stroke-width: 12; }
.m-puls { fill: #C9A227; opacity: .35; transform-box: fill-box; transform-origin: center; animation: m-puls 1.8s ease-out infinite; }
@keyframes m-puls { from { transform: scale(.6); opacity: .6; } to { transform: scale(1.5); opacity: 0; } }
.m-lbl { font: 700 32px system-ui, sans-serif; fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 9px; stroke-linejoin: round; }
.m-lbl.cur { fill: var(--accent-dark); font-size: 38px; }
.mesta-h { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--faded); margin: 8px 2px; }
.mesta-h b { color: var(--accent-dark); }
.rzs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rzs.sve { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.rz { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); color: var(--ink); text-decoration: none; }
.rz.cur { border: 2px solid var(--accent); }
.rz img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.rz.siva img { filter: grayscale(1); opacity: .6; }
.rz-t { display: grid; padding: 6px 8px 8px; font-size: 13px; line-height: 1.25; }
.rz-t b { font-size: 14px; } .rz-s { color: var(--faded); } .rz.cur .rz-s { color: var(--accent-dark); font-weight: 700; }
.mapa-gl { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.mapa-raspored { display: grid; gap: 16px; }
@media (min-width: 900px) { .mapa-raspored { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; } }
.mr-l { display: grid; gap: 10px; }
.tekuce { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 18px; padding: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.08); color: var(--ink); text-decoration: none; }
.tekuce img { width: 74px; height: 74px; border-radius: 12px; object-fit: cover; flex: none; }
.tk-t { display: grid; flex: 1; min-width: 0; } .tk-t b { font-size: 20px; } .tk-t > span { color: var(--faded); font-size: 14px; }

/* mesto */
.mesto-zag { position: relative; height: 190px; border-radius: 20px; overflow: hidden; background: var(--sand) center / cover; }
@media (min-width: 900px) { .mesto-zag { height: 260px; } }
.mesto-zag::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.62)); }
.mesto-zag .nazad { position: absolute; z-index: 1; left: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92);
                    display: grid; place-items: center; color: #1A1C1E; font-size: 20px; text-decoration: none; }
.mz-t { position: absolute; z-index: 1; left: 16px; bottom: 10px; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.mz-t h1 { color: #fff; margin: 0; font-size: 30px; } .mz-t span { font-weight: 600; font-size: 14px; }
.mz-o { position: absolute; z-index: 1; right: 16px; bottom: 14px; color: #fff; font-size: 20px; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.cipovi { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.cip.on { background: var(--accent); color: #fff; }
a.cip { text-decoration: none; }
.stanice { list-style: none; padding: 0; margin: 8px 0 14px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 6px; justify-items: center; }
.stanice .st { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line);
               color: var(--ink); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.stanice .st.ok { background: var(--mint); border-color: var(--mint-deep); color: var(--accent-dark); font-size: 22px; }
.stanice .st.sled { border: 3px solid #C9A227; box-shadow: inset 0 0 0 3px var(--accent); background: #FFFACD; color: #1A1C1E; }
.stanice .cilj { grid-column: 5; color: var(--accent); font-weight: 700; font-size: 14px; align-self: center; }

/* strana ukrštenice: mesto i stanica gore */
.shead .sh-sl { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.shead .sh-t { display: grid; margin: 0; line-height: 1.2; }
.shead .sh-t b { font-size: 18px; color: var(--ink); } .shead .sh-t small { font-size: 13px; color: var(--faded); font-weight: 400; }

/* proslava na putu: računar — umesto spiska opisa; telefon — preko celog ekrana */
.igra.proslavljena:not(.pogled) .spisak { display: none; }
.igra.pogled .proslava { display: none; }
.proslava { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 6px 22px rgba(0,0,0,.08); position: relative; }
@media (max-width: 899px) {
  .proslava { position: fixed; inset: 0; z-index: 25; border: 0; border-radius: 0; overflow-y: auto; background: var(--bg); box-shadow: none;
              display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom, 0); }
  .proslava .pr-k { margin-top: auto; border-radius: 22px 22px 0 0; box-shadow: 0 -6px 22px rgba(0,0,0,.10); background: var(--surface); }
}
.pr-zatvori { position: absolute; z-index: 3; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92);
              color: #1A1C1E; font-size: 22px; line-height: 1; cursor: pointer; }
.pr-zag { position: relative; height: 150px; background: var(--sand) center 40% / cover; flex: none; }
.pr-zag::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0,0,0,.62)); }
.pr-zag.celo { height: 230px; }
.pr-zag b { position: absolute; z-index: 1; left: 16px; bottom: 28px; color: #fff; font-size: 26px; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.pr-zag span { position: absolute; z-index: 1; left: 16px; bottom: 9px; color: #fff; font-size: 14px; font-weight: 600; }
.pr-zag em { position: absolute; z-index: 1; right: 16px; bottom: 10px; color: #fff; font-size: 21px; font-weight: 700; font-style: normal; }
.pr-pecat { position: absolute !important; z-index: 2; left: 50% !important; top: 38%; bottom: auto !important; transform: translate(-50%, -50%) rotate(-8deg);
            width: 128px; height: 128px; border-radius: 50%; border: 4px solid #fff; background: rgba(16,120,97,.82); color: #fff; display: grid;
            place-items: center; text-align: center; font: 800 15px/1.2 system-ui, sans-serif !important; letter-spacing: .06em; }
.pr-stanice { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px 4px; justify-items: center; }
@media (max-width: 899px) { .pr-stanice { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pr-stanice li { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px;
                 border: 2px solid var(--line); background: var(--surface); }
.pr-stanice li.ok { background: var(--mint); border-color: var(--mint-deep); color: var(--accent-dark); font-size: 18px; }
.pr-stanice li.ovo { background: var(--accent); border-color: var(--accent); color: #fff; font-size: 20px; box-shadow: 0 0 0 5px rgba(201,162,39,.35); }
.pr-stanice li.sled { border: 3px solid #C9A227; background: #FFFACD; color: #1A1C1E; }
.pr-k { border-top: 1px solid var(--line); padding: 14px 16px 16px; display: grid; gap: 10px; }
.pr-top { display: flex; align-items: center; gap: 10px; }
.pr-top b { font-size: 26px; color: var(--accent-dark); } .pr-top span { color: var(--faded); flex: 1; }
.pr-deli { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mint); display: grid; place-items: center; cursor: pointer; }
.pr-deli svg { width: 22px; height: 22px; fill: var(--accent-dark); stroke: var(--accent-dark); }
.pr-deli.kopirano { box-shadow: 0 0 0 3px var(--accent); }
.pr-dalje { font-size: 18px; padding: 13px 16px; }
.pr-dva { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pr-dva .btn { background: var(--mint); border: 0; color: var(--accent-dark); }
.pr-app { display: block; padding: 0 16px 14px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
/* kraj dnevne */
.proslava.dnevna .pr-dn { background: var(--accent); color: #fff; padding: 16px 20px 16px; display: grid; }
.pr-dn .kick { font-size: 13px; font-weight: 700; letter-spacing: .09em; opacity: .85; }
.pr-dn .dt { font-size: 16px; opacity: .92; }
.pr-dn .niz { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.pr-dn .broj { height: 56px; overflow: hidden; font-size: 50px; font-weight: 800; line-height: 56px; font-variant-numeric: tabular-nums; }
.pr-dn .valjak { display: block; transform: translateY(-56px); }
.pr-dn .valjak i { display: block; height: 56px; font-style: normal; }
.pr-dn .lb { font-size: 19px; font-weight: 600; }
.pr-dn .ned { display: flex; justify-content: space-between; margin-top: 12px; max-width: 360px; }
.pr-dn .ned span { display: grid; justify-items: center; gap: 4px; font-size: 13px; opacity: .85; }
.pr-dn .ned i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); display: grid; place-items: center; font-style: normal;
                font-weight: 800; color: var(--accent); box-sizing: border-box; }
.pr-dn .ned span.nr i, .pr-dn .ned span.danas i { background: #fff; border-color: #fff; }
.pr-dn .ned span.danas { opacity: 1; font-weight: 700; }
.pr-sutra { margin: 14px 16px 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: grid; gap: 2px; }
.pr-sutra b { color: var(--accent-dark); } .pr-sutra span { color: var(--faded); font-size: 15px; }
.pr-sutra .pr-app { padding: 6px 0 0; }
/* animacija (dodir je ne preskače — kratka je; „manje pokreta" je gasi) */
.proslava.anim .pr-stanice li.ovo, .proslava.anim .ned span.danas i { animation: pr-pecat .45s cubic-bezier(.2,.8,.3,1.25) .25s both; }
.proslava.anim .pr-pecat { animation: pr-pecat2 .5s cubic-bezier(.2,.8,.3,1.25) .4s both; }
.proslava.anim .valjak { animation: pr-okret .55s cubic-bezier(.5,0,.3,1) .8s both; }
.proslava.anim .pr-sutra { animation: pr-pojava .4s ease-out 1.1s both; }
.proslava.anim .pr-k { animation: pr-gore .5s cubic-bezier(.2,.9,.3,1) 1.0s both; }
@keyframes pr-pecat { from { opacity: 0; transform: scale(2.2); } to { opacity: 1; transform: scale(1); } }
@keyframes pr-pecat2 { from { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(2); } to { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); } }
@keyframes pr-okret { from { transform: translateY(0); } to { transform: translateY(-56px); } }
@keyframes pr-pojava { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pr-gore { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .proslava *, .m-puls { animation: none !important; } }


/* Napredak, Opcije, Arhiva dnevnih (vlasnik 16.11 „može", mockup veb-traka.html) */
.slova-2 body { zoom: 1.12; }
.slova-3 body { zoom: 1.25; }
.napredak, .opcije, .arhiva { max-width: 640px; margin: 0 auto; }
.sek { font-size: 15px; color: var(--faded); font-weight: 600; margin: 22px 2px 8px; }
.vr-t { flex: 1; min-width: 0; }
.vr-g { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.vr-traka { display: block; height: 7px; background: var(--sand); border-radius: 4px; overflow: hidden; margin: 6px 0 2px; }
.vr-traka i { display: block; height: 100%; width: 0; background: var(--accent); }
.vr-m { color: var(--faded); font-size: 14px; }
.znacke { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 6px; background: var(--surface); border: 1px solid var(--line);
          border-radius: 18px; padding: 14px 8px; }
.zn { display: grid; justify-items: center; text-align: center; gap: 4px; font-size: 13px; line-height: 1.25; }
.zk { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--soft); font-weight: 800; font-size: 22px; }
.zk svg { width: 24px; height: 24px; }
.zn.osv .zk { background: #FFFACD; border: 3px solid #C9A227; color: var(--accent-dark); }
.zi { color: var(--ink); } .zn:not(.osv) .zi { color: var(--faded); } .zs { color: var(--faded); font-weight: 600; }
.karta-n { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; }
.karta-n .r { color: var(--faded); margin: 0; }
.nb { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 17px; }
.nb span { color: var(--accent-dark); font-variant-numeric: tabular-nums; }
.red-link { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px;
            margin-top: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.red-link svg { width: 24px; height: 24px; fill: var(--accent); }
.red-link .str { margin-left: auto; color: var(--faded); font-size: 22px; }
.nivo { display: flex; gap: 16px; align-items: center; }
.nv-krug { width: 76px; height: 76px; flex: none; }
.nk-t { fill: none; stroke: var(--sand); stroke-width: 7; }
.nk-p { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 32px 32px; }
.nv-krug text { font: 800 20px system-ui, sans-serif; fill: var(--accent-dark); }
.nv-t { display: grid; gap: 2px; } .nv-t b { font-size: 22px; } .nv-t b small { font-size: 15px; color: var(--faded); font-weight: 400; }
.nv-t span { color: var(--faded); font-size: 14.5px; }
.ops { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.op { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.op:first-child { border-top: 0; }
.op small { display: block; color: var(--faded); font-size: 13.5px; }
.op .toggle { margin-left: 0; }
.op .gp { margin-top: 0; flex: none; }
.op .str { color: var(--faded); font-size: 22px; }
.ar { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.ar:first-child { border-top: 0; }
.ar-k { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.ar.ok .ar-k { background: var(--accent); border-color: var(--accent); }
.ar .str { margin-left: auto; color: var(--faded); font-size: 20px; }

/* brava (16.11): zaključano mesto na sajtu */
.zak-poruka { background: var(--sand); border-radius: 12px; padding: 10px 12px; margin: 10px 0 0; font-weight: 600; color: var(--ink); }
.stanice .st.zak { opacity: .45; cursor: default; }
.mesto-str.zakljucano .mesto-zag { filter: grayscale(1); }
.pr-otk { display: flex; gap: 10px; align-items: center; margin: 0 14px 12px; background: #FFFACD; border: 2px solid #C9A227; border-radius: 14px; padding: 8px; color: #1A1C1E; }
.pr-otk img { width: 64px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.pr-otk b { display: block; color: #0B5A48; } .pr-otk span { font-size: 14px; color: #6E716B; }

/* Poravnanje na računaru (vlasnik 16.11 „proveri alignment objekata"):
   - strana mesta je jedna kolona kao u aplikaciji — slika, čipovi, stanice,
     dugme i tekst iste širine, na sredini (stanice su bile 520 px levo
     ispod slike pune širine);
   - Napredak, Opcije, Arhiva: kolona na sredini, ne uz levu ivicu;
   - Mapa: „Igraj" širok kao kartica iznad, leva kolona ostaje na ekranu
     dok se listaju razglednice;
   - ukrštenica: „Otkrij slovo · još 3" i „Proveri" u jednom redu iste
     visine (brojač je padao u drugi red). */
.mesto-str { max-width: 600px; margin: 0 auto; }
@media (min-width: 900px) {
  .mr-l { position: sticky; top: 16px; }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .alati .btn { flex: 0 0 auto; padding: 9px 18px; white-space: nowrap; }
  .alati .kbd { flex: 1; min-width: 0; }
}

/* Web put kroz prva 3 mesta, dalje „u aplikaciji"; dnevna ne otvara mesto
   (vlasnik 16.11 „može i mobilna i web", mockup dnevna-i-web-put.html). */
.rz.app .rz-s { color: var(--accent-dark); font-weight: 600; }
.mesto-str.u-app .mesto-zag { filter: grayscale(1); }
.mz-app { position: absolute; z-index: 1; right: 12px; top: 12px; background: rgba(255,255,255,.94); color: #1A1C1E; border-radius: 14px; padding: 3px 10px; font-size: 13px; font-weight: 600; }
.app-vrata { display: grid; gap: 8px; justify-items: center; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin: 4px 0 14px; }
.app-vrata > b { font-size: 18px; }
.app-vrata > span { color: var(--faded); }
.av-red { display: flex; align-items: center; gap: 14px; }
.av-red .qr-kod { border-radius: 8px; background: #fff; padding: 4px; }
.av-gp { text-decoration: none; }
.av-gp .gp { display: inline-block; background: #1A1C1E; color: #fff; border-radius: 10px; padding: 7px 14px; font-weight: 700; line-height: 1.15; }
.av-gp .gp small { display: block; font-weight: 400; font-size: 11px; }
.app-vrata .btn { width: 100%; }
.stanice .st.ok.zak { opacity: .7; }
.stanice .st.dn { background: #FFFACD; border-color: #C9A227; color: #0B5A48; opacity: 1; }
.pr-otk.ceka { background: #F3FAF6; border-color: #CFE6DB; }
.pr-otk.ceka img, .pr-otk.app img { filter: grayscale(1); }
.proslava.dnevna .pr-otk { margin-top: 12px; }
.oglas { margin: 12px 0; text-align: center; }
.oglas-oz { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
@media (min-width: 900px) { .oglas-telefon { display: none; } }
@media (max-width: 899px) { .oglas-racunar { display: none; } }

/* Baner za pristanak (GA; vlasnik 17.11). Iznad donje trake i tastature. */
.pristanak { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 10px 10px; pointer-events: none; }
.pristanak-k { pointer-events: auto; max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
               border-radius: 18px; padding: 14px 16px; box-shadow: 0 -6px 24px rgba(0,0,0,.16); font-size: 14px; }
.pristanak-k b { display: block; font-size: 15px; margin-bottom: 4px; }
.pristanak-k p { margin: 0 0 10px; color: var(--faded); line-height: 1.4; }
.pristanak-d { display: flex; gap: 8px; }
.pristanak-d .btn { flex: 1; padding: 10px 12px; font-size: 15px; }
footer.dno .kolacici { border: 0; background: none; color: inherit; font: inherit; padding: 0; cursor: pointer; text-decoration: underline; }

/* Politika privatnosti i uslovi (/privatnost/, /uslovi/, 18.11) */
.pravno { max-width: 680px; margin: 0 auto; padding-bottom: 24px; line-height: 1.65; }
.pravno h1 { margin-bottom: 4px; }
.pravno a, .pravno code { overflow-wrap: anywhere; }
.pravno h2 { font-size: 20px; margin: 30px 0 8px; }
.pravno .meta, .pravno .en { color: var(--faded); }
.pravno .en { font-style: italic; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 18px; font-size: 15px; }
.pravno ul { padding-left: 22px; }
.pravno li { margin: 6px 0; }
.pravno code { background: var(--sand); border-radius: 4px; padding: 1px 6px; font-size: .9em; }
.pravno .tabela { overflow-x: auto; }
.pravno table { border-collapse: collapse; width: 100%; font-size: 15px; }
.pravno td, .pravno th { border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; text-align: left; vertical-align: top; }
.pravno th { color: var(--faded); font-weight: 600; font-size: 13.5px; }

/* Prijava i nalog (vlasnik 18.11, mockup prijava-i-nalog.html 3 i 4) */
.nalog-k { background: var(--mint); border: 1px solid var(--mint-deep); border-radius: 16px; padding: 14px 16px; margin-bottom: 18px; }
.nalog-k b { color: var(--accent-dark); font-size: 17px; }
.nalog-k p { margin: 6px 0 10px; }
.nalog-k .g-dugme { min-height: 44px; }
.nalog-k .greska { color: var(--bad); font-size: 14px; }
.nalog-k [data-nalog="prijavljen"] .op { background: transparent; }
.nalog-red { display: flex; align-items: center; gap: 12px; padding: 4px 0 10px; }
.nalog-red .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--mint-deep); color: var(--accent-dark);
  display: grid; place-items: center; font-weight: 700; flex: none; }
.nalog-red small { display: block; color: var(--faded); font-size: 13px; }
.btn.opasno { background: var(--bad); color: #fff; width: 100%; cursor: pointer; }
.napomena a { white-space: nowrap; }

/* --- dolazak iz podeljene poruke (vlasnik 19.11, mockup deljenje-rezultata.html B) --- */
.iz-poruke { display: flex; gap: 10px; align-items: center; background: #FFF6D6; border: 1px solid #E9D98A; border-radius: 14px; padding: 10px 12px; margin: 10px 0 0; font-weight: 600; color: #1A1C1E; text-align: left; line-height: 1.3; }
.iz-poruke small { display: block; font-weight: 500; color: #5D5F5A; font-size: 14px; }
.iz-poruke .ik { font-size: 22px; flex: none; }
.app-vrata .sitno { color: var(--faded); font-size: 14px; }
.app-vrata .btn.glavno { margin-top: 6px; }
.pr-izazov, .gotovo-izazov { font-weight: 600; text-align: center; }
.gotovo-izazov { margin: 8px 0 2px; }
/* Zagonetka iz poruke do koje posetilac nije stigao: mreža i tastatura se sklanjaju. */
.igra.zakljucana .glavni { display: none; }
.brava-por { display: grid; gap: 12px; margin: 0 0 14px; }
.brava-por .karta { display: grid; gap: 10px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; max-width: 520px; width: 100%; justify-self: center; }
.brava-por .karta > b { font-size: 19px; }
.brava-por .karta > span { color: var(--faded); }
.brava-por .bp-k { font-size: 30px; line-height: 1; }
