/* Black Gold prototip — izgled. Boje i fontovi kao web i aplikacija. */
:root {
  --bg: #E9E3D5; --surface: #F4F0E6; --ink: #101311; --muted: #4A4F49; --gold: #C9AD72; --gold2: #C2A464; --goldT: #7A6230;
  --yellow: #F4C430; --green: #2E5B36; --dark: #101311; --dark2: #171B19; --line: rgba(16,19,17,.12);
  --app-bg: #0F1211; --app-ink: #ECEAE4; --app-mut: #9A9D96;
  --fd: 'Big Shoulders Display', 'Arial Narrow', sans-serif; --fb: 'Barlow', system-ui, sans-serif; --fm: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: #0b0d0c; color: var(--app-ink); font-family: var(--fb); }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

/* Okvir prototipa */
.top { height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 20px; background: #101311; border-bottom: 1px solid #23271f; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--fd); font-weight: 800; font-size: 22px; text-transform: uppercase; }
.brand img { height: 34px; }
.tabs { display: flex; gap: 6px; background: #1b1f1c; padding: 4px; border-radius: 99px; }
.tabs button { border: 0; background: none; color: #ADB0A9; padding: 9px 18px; border-radius: 99px; font-weight: 600; }
.tabs button.on { background: var(--gold2); color: var(--ink); }
.links { margin-left: auto; display: flex; gap: 18px; font-size: 14px; }
.links a { color: var(--gold); text-decoration: none; }
.view { display: none; padding: 16px 20px 20px; height: 100vh; flex-direction: column; gap: 12px; }
.view.on { display: flex; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.steps button { text-align: left; border: 1px solid #2a2f2b; background: #151917; color: #ECEAE4; border-radius: 14px; padding: 12px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; }
.steps span { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: #262b27; display: grid; place-items: center; font-family: var(--fd); font-weight: 800; font-size: 20px; }
.steps b { font-family: var(--fd); font-size: 22px; text-transform: uppercase; }
.steps em { font-style: normal; font-size: 13px; color: #9A9D96; }
.steps button.on { border-color: var(--gold2); background: #1d211c; }
.steps button.on span { background: var(--gold2); color: var(--ink); }
.note { margin: 0; font-size: 15px; color: #C9C3B4; }

.browser { flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--bg); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.bar { height: 38px; flex: none; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #1b1f1c; }
.bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3f37; }
.url { margin-left: 12px; padding: 4px 12px; border-radius: 8px; background: #262b27; font: 500 13px var(--fm); color: #C9C3B4; }
.tag { margin-left: auto; font: 500 12px var(--fm); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.site { flex: 1; overflow: auto; color: var(--ink); background: var(--bg); }

/* Web stranica */
.w-hd { position: sticky; top: 0; z-index: 3; height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 40px; background: rgba(233,227,213,.94); border-bottom: 1px solid var(--line); }
.w-hd img { height: 40px; }
.w-hd nav { display: flex; gap: 24px; font-weight: 600; font-size: 16px; }
.w-lang { margin-left: auto; font: 500 12px var(--fm); letter-spacing: .1em; color: var(--muted); }
.w-lang b { background: var(--ink); color: var(--bg); padding: 6px 9px; border-radius: 99px; }
.w-cta { background: var(--yellow); padding: 10px 20px; border-radius: 99px; font-family: var(--fd); font-weight: 800; font-size: 18px; text-transform: uppercase; }
.w-badge { font: 500 12px var(--fm); letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 99px; background: var(--ink); color: var(--gold); display: flex; align-items: center; gap: 8px; }
.w-badge.live { background: var(--green); color: #DDEBD8; }
.w-badge i, .led { width: 8px; height: 8px; border-radius: 50%; background: #9BE08F; display: inline-block; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.w-hero { min-height: 520px; display: flex; align-items: center; padding: 60px 40px; background: linear-gradient(90deg, rgba(16,19,17,.92) 0%, rgba(16,19,17,.55) 60%, rgba(16,19,17,.3)), url(img/foto2.jpg) center / cover; color: #F2EDE1; }
.w-hero-in { display: flex; flex-direction: column; gap: 18px; }
.w-kick { font: 500 13px var(--fm); letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.w-hero h1 { margin: 0; font-family: var(--fd); font-weight: 800; font-size: 120px; line-height: .9; }
.w-meta { margin: 0; font: 500 14px var(--fm); letter-spacing: .14em; text-transform: uppercase; }
.w-cd { display: flex; gap: 10px; }
.w-cd div { min-width: 96px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(16,19,17,.45); text-align: center; }
.w-cd b { display: block; font-family: var(--fd); font-size: 48px; line-height: 1; }
.w-cd span { font: 500 10px var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.w-btns { display: flex; gap: 12px; }
.w-btn { padding: 14px 26px; border-radius: 99px; font-family: var(--fd); font-weight: 800; font-size: 20px; text-transform: uppercase; text-decoration: none; }
.w-btn.y { background: var(--yellow); color: var(--ink); }
.w-btn.o { border: 2px solid rgba(255,255,255,.3); }
.w-btn.d { background: var(--ink); color: var(--bg); display: inline-block; margin-top: 8px; }
.w-band { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--dark); color: #F2EDE1; }
.w-band div { padding: 22px 40px; border-left: 1px solid #2a2f2b; display: flex; flex-direction: column; gap: 4px; }
.w-band span { font: 500 11px var(--fm); letter-spacing: .18em; text-transform: uppercase; color: #ADB0A9; }
.w-band b { font-family: var(--fd); font-size: 40px; line-height: 1; }
.w-sec { padding: 48px 40px; display: flex; flex-direction: column; gap: 22px; }
.w-sec.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.w-sec h2 { margin: 0; font-family: var(--fd); font-weight: 800; font-size: 48px; text-transform: uppercase; line-height: 1; }
.w-sec p { margin: 8px 0 0; font-size: 18px; color: var(--muted); line-height: 1.5; }
.w-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.w-card { background: var(--surface); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--gold); }
.w-card.hl { background: var(--ink); color: #F2EDE1; }
.w-card span { font: 500 12px var(--fm); letter-spacing: .1em; text-transform: uppercase; color: var(--goldT); }
.w-card.hl span { color: var(--gold); }
.w-card b { font-family: var(--fd); font-size: 44px; line-height: 1; }
.w-card b.s { font-size: 30px; }
.w-card em { font-style: normal; font-size: 15px; color: var(--muted); }
.w-mini { height: 280px; border-radius: 14px; overflow: hidden; }
.w-list { background: var(--surface); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.ph-x { color: var(--goldT); border-bottom: 2px dashed var(--gold); font-family: var(--fm); font-size: .7em; letter-spacing: 0; }
.w-hero .ph-x, .w-band .ph-x { color: var(--gold); }
.w-ex { font: 500 13px var(--fm); letter-spacing: .1em; text-transform: uppercase; color: var(--goldT); font-style: normal; margin-left: 12px; vertical-align: middle; }
.w-ft { display: flex; justify-content: space-between; padding: 28px 40px; background: var(--dark); color: #ADB0A9; font-size: 14px; }

.w-strip { display: flex; gap: 28px; align-items: center; padding: 12px 40px; background: var(--green); color: #EAF3E6; font-size: 16px; }
.w-strip b { font-family: var(--fd); font-size: 22px; text-transform: uppercase; }
.w-live { display: grid; grid-template-columns: 1fr 360px; height: 560px; border-bottom: 1px solid var(--line); }
.w-map { position: relative; min-height: 0; }
.karta-svg { width: 100%; height: 100%; display: block; }
.karta-svg .dot { cursor: pointer; }
.w-side { background: #FBF8F1; border-left: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.w-search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.w-search input, .search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: inherit; }
.w-tabs { display: flex; background: #ECE6D8; border-radius: 99px; padding: 4px; }
.w-tabs button { flex: 1; border: 0; background: none; padding: 7px; border-radius: 99px; font-weight: 700; }
.w-tabs button.on { background: var(--ink); color: var(--bg); }
.w-rows { flex: 1; overflow: auto; display: flex; flex-direction: column; }
.w-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; border-bottom: 1px solid #E5DECF; cursor: pointer; }
.w-row span:nth-child(2) { display: flex; flex-direction: column; }
.w-row em { font-style: normal; font-size: 13px; color: var(--muted); }
.w-row .nb { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #F2D58A; display: grid; place-items: center; font-family: var(--fd); font-weight: 800; font-size: 15px; }
.w-row.me .nb { background: var(--gold2); color: var(--ink); }
.w-row.sel { background: #F3E7C7; border-radius: 10px; }
.w-tip { background: var(--ink); color: #ECEAE4; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.w-tip b { color: #F2D58A; }
.w-empty { color: var(--muted); }
.w-res { background: var(--surface); border-radius: 14px; overflow: hidden; }
.w-rh, .w-rr { display: grid; grid-template-columns: 60px 80px 1fr 1fr 120px; padding: 12px 20px; gap: 10px; }
.w-rh { font: 500 11px var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.w-rr { border-bottom: 1px solid #E5DECF; font-size: 16px; }
.w-rr.me { background: #F3E7C7; }
.w-gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.w-gal div { aspect-ratio: 4 / 3; border-radius: 14px; background: repeating-linear-gradient(45deg, #DED6C5 0 12px, #E6DFD0 12px 24px); display: grid; place-items: center; color: var(--muted); }

/* Dan utrke */
.ctl { display: flex; align-items: center; gap: 14px; background: #151917; border: 1px solid #2a2f2b; border-radius: 14px; padding: 10px 14px; }
.play { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--gold2); color: var(--ink); font-size: 15px; }
.clock { font-family: var(--fd); font-size: 32px; min-width: 80px; }
.ctl input[type=range] { flex: 1; accent-color: var(--gold2); }
.seg { display: flex; gap: 4px; background: #1f2420; padding: 3px; border-radius: 99px; }
.seg button { border: 0; background: none; color: #ADB0A9; padding: 7px 12px; border-radius: 99px; font-size: 14px; font-weight: 600; }
.seg button.on, .seg button:active { background: #ECEAE4; color: var(--ink); }
.split { flex: 1; min-height: 0; display: flex; gap: 20px; }
.phone-col { width: 420px; flex: none; display: flex; flex-direction: column; align-items: center; }
.phone-scale { width: 410px; height: 864px; transform-origin: top center; }
.hint { margin: 0; font-size: 14px; color: #ADB0A9; text-align: center; }
.grow { flex: 1; }

/* Aplikacija */
.ph { position: relative; width: 390px; height: 844px; margin: 10px; border-radius: 52px; background: var(--app-bg); color: var(--app-ink); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 10px #22261f, 0 0 0 12px #3a3f37, 0 30px 60px rgba(0,0,0,.6); }
.ph-notch { position: absolute; left: 50%; top: 11px; width: 116px; height: 32px; margin-left: -58px; border-radius: 20px; background: #000; z-index: 9; }
.ph-hd { height: 108px; flex: none; display: flex; align-items: center; gap: 10px; padding: 50px 16px 0; background: #101311; border-bottom: 1px solid rgba(255,255,255,.07); }
.ph-hd img { height: 32px; }
.ph-title { flex: 1; font-family: var(--fd); font-weight: 800; font-size: 22px; text-transform: uppercase; }
.ph-pill { font: 500 11px var(--fm); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: #21261F; color: #ADB0A9; }
.ph-pill.live { background: #152620; color: #CDEBD0; }
.ph-main { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; }
.ph-nav { height: 76px; flex: none; display: grid; grid-template-columns: repeat(4, 1fr); background: #101311; border-top: 1px solid rgba(255,255,255,.07); padding-bottom: 8px; }
.ph-nav button { border: 0; border-top: 2px solid transparent; background: none; color: #A9ACA6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 600; }
.ph-nav button.on { color: var(--gold); border-top-color: var(--gold2); }
.ph-toast { position: absolute; left: 20px; right: 20px; top: 120px; padding: 12px 16px; border-radius: 14px; background: var(--gold2); color: var(--ink); font-weight: 700; font-size: 15px; opacity: 0; transform: translateY(-10px); transition: .3s; pointer-events: none; z-index: 8; }
.ph-toast.on { opacity: 1; transform: none; }
.pad { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 24px 20px; min-height: 0; }
.pad.sc { overflow: hidden; gap: 12px; }
.ey { font: 500 12px var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.big { margin: 0; font-family: var(--fd); font-weight: 800; font-size: 42px; line-height: 1; text-transform: uppercase; }
.tx { margin: 0; font-size: 16px; line-height: 1.4; color: var(--app-mut); }
.tx.hi { color: var(--app-ink); font-size: 18px; }
.tx.c { text-align: center; font-size: 14px; }
.tx.sm { font-size: 13px; }
.sp { flex: 1; }
.in { height: 64px; border-radius: 16px; background: var(--dark2); border: 2px solid var(--gold); display: flex; align-items: center; padding: 0 20px; }
.in input { width: 100%; background: none; border: 0; outline: 0; color: var(--app-ink); font: 700 30px var(--fb); letter-spacing: .06em; }
.bt { height: 56px; border: 0; border-radius: 99px; background: var(--gold2); color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--fd); font-weight: 800; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.bt.o { background: none; border: 1px solid rgba(255,255,255,.18); color: var(--app-ink); }
.bt.sm { height: 38px; padding: 0 14px; font-size: 14px; font-family: var(--fb); text-transform: none; letter-spacing: 0; }
.card { background: var(--dark2); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; justify-content: space-between; align-items: baseline; }
.row b { font-size: 17px; }
.gold { color: var(--gold); }
.xl { font-family: var(--fd); font-size: 40px; line-height: 1; }
.mapwrap { position: absolute; inset: 0; }
.sheet { position: absolute; left: 12px; right: 12px; bottom: 12px; border-radius: 18px; background: rgba(23,27,25,.96); border: 1px solid rgba(255,255,255,.08); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cd div, .stats div { border-radius: 12px; background: var(--app-bg); border: 1px solid rgba(255,255,255,.08); padding: 10px 8px; display: flex; flex-direction: column; align-items: center; }
.cd b { font-family: var(--fd); font-size: 38px; line-height: 1; }
.cd span, .stats span { font: 500 10px var(--fm); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats b { font-family: var(--fd); font-size: 26px; line-height: 1; }
.me { display: flex; align-items: center; gap: 12px; }
.me > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.me .tx { font-size: 13px; }
.nb { width: 42px; height: 42px; flex: none; border-radius: 50%; background: #21261F; color: var(--app-ink); display: grid; place-items: center; font-family: var(--fd); font-weight: 800; font-size: 17px; }
.me .nb, li.me .nb { background: var(--gold2); color: var(--ink); }
.nb.veh { background: var(--green); border-radius: 10px; }
.gp { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; background: var(--app-bg); border-radius: 12px; padding: 10px 12px; }
.gp .led { margin-right: 6px; }
.led.late { background: #E0A43A; animation: none; }
.search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 99px; background: var(--dark2); border: 1px solid rgba(255,255,255,.08); color: var(--app-mut); }
.flt { display: flex; gap: 8px; }
.flt button { padding: 7px 13px; border-radius: 99px; border: 1px solid rgba(255,255,255,.14); background: none; color: #ADB0A9; font-size: 14px; font-weight: 600; }
.flt button.on { background: var(--app-ink); color: var(--ink); border-color: var(--app-ink); }
.lst { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.lst li { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 14px; background: var(--dark2); border: 1px solid rgba(255,255,255,.06); }
.lst li.me { background: #152620; border-color: rgba(194,164,100,.55); }
.lst .nb { width: 36px; height: 36px; font-size: 15px; }
.nm { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.nm span { font-size: 12px; color: var(--app-mut); display: flex; align-items: center; gap: 6px; }
.km { font-family: var(--fd); font-size: 21px; }

/* Prezentacija */
.view[data-v=deck] { padding: 0; }
.stage { position: relative; flex: 1; overflow: hidden; background: #0b0d0c; }
.slide { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: center; overflow: hidden; }
.slide section { position: relative; width: 1920px; height: 1080px; overflow: hidden; }
.slide section * { margin: 0; }
.slide section a { color: inherit; }
.slide section hr { border: 0; height: 0; }
.slide section table { border-collapse: collapse; width: 100%; }
.slide section th, .slide section td { padding: 9px 14px; border-bottom: 1px solid rgba(16,19,17,.15); text-align: left; }
.slide section th { font-weight: 700; }
.slide .emb { border: 0; background: transparent; }
.bi { animation: bi-fade .7s var(--d, .2s) both; }
.bi[data-bk=rise] { animation-name: bi-rise; }
.bi[data-bk=left] { animation-name: bi-left; }
@keyframes bi-fade { from { opacity: 0; } }
@keyframes bi-rise { from { opacity: 0; transform: translateY(40px); } }
@keyframes bi-left { from { opacity: 0; transform: translateX(-60px); } }
.deck-nav { position: fixed; right: 20px; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 8px; background: rgba(16,19,17,.88); border: 1px solid #2a2f2b; border-radius: 99px; padding: 6px; font: 500 14px var(--fm); color: #ADB0A9; }
.deck-nav button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #262b27; color: #ECEAE4; font-size: 18px; }
.deck-nav span { padding: 0 6px; }

/* Slajd aplikacije */
.app-view { background: #101311; padding: 28px 40px 72px; gap: 16px; }
.app-head { display: flex; flex-direction: column; gap: 6px; }
.app-head h2 { margin: 0; font-family: var(--fd); font-weight: 800; font-size: 56px; line-height: 1; text-transform: uppercase; color: #F2EDE1; }
.lbl { font: 500 13px var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.web-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.web-col .browser { flex: 1; }
.web-col .w-live { height: auto; flex: 1; }
.web-col .site { display: flex; flex-direction: column; }

/* Prava aplikacija (snimke) */
.phone-col { width: auto; align-items: flex-start; }
.mob-wrap { flex: 1; min-height: 0; display: flex; gap: 20px; align-items: stretch; }
.mob-list { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.mob-list button { display: flex; align-items: center; gap: 10px; border: 1px solid #2a2f2b; background: #151917; color: #ADB0A9; border-radius: 12px; padding: 9px 14px; font-size: 15px; font-weight: 600; text-align: left; white-space: nowrap; }
.mob-list button span { width: 24px; height: 24px; border-radius: 50%; background: #262b27; display: grid; place-items: center; font-family: var(--fd); font-size: 14px; }
.mob-list button.on { border-color: var(--gold2); color: #ECEAE4; }
.mob-list button.on span { background: var(--gold2); color: var(--ink); }
.mob { position: relative; height: 100%; aspect-ratio: 1106 / 2211; border-radius: 38px; overflow: hidden; background: #0F1211; box-shadow: 0 0 0 8px #22261f, 0 0 0 10px #3a3f37, 0 30px 60px rgba(0,0,0,.6); cursor: pointer; }
.mob img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s; }
.mob img.on { opacity: 1; }
.mob-notch { position: absolute; left: 50%; top: 8px; width: 28%; height: 22px; margin-left: -14%; border-radius: 14px; background: #000; z-index: 2; opacity: .85; }
.mob-wrap > [data-mob] { height: 100%; padding: 10px; }
.mob { height: calc(100vh - 250px); width: calc((100vh - 250px) * 0.5); aspect-ratio: auto; }
.mob-wrap > [data-mob] { height: auto; flex: none; }
.phone-col { flex: none; }

/* Slajd rute */
.ruta-view { background: #101311; padding: 28px 40px 72px; gap: 14px; }
.r-head h2 { margin: 4px 0 0; font-family: var(--fd); font-weight: 800; font-size: 56px; line-height: 1; text-transform: uppercase; color: #F2EDE1; }
.r-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 440px; gap: 24px; }
.r-map { min-height: 0; } .r-map svg { width: 100%; height: 100%; display: block; }
.r-poly { fill: #1c201d; stroke: #101311; stroke-width: 1.4; transition: fill .5s; }
.r-poly.on { fill: #4a4128; }
.r-poly.off { fill: url(#r-hatch); }
.r-route { fill: none; stroke: #E2C98C; stroke-width: 4.5; stroke-linejoin: round; stroke-linecap: round; }
.r-head-dot { fill: #F2EDE1; stroke: #101311; stroke-width: 3; }
.r-lbl { font: 700 15px var(--fb); fill: #F2EDE1; text-anchor: middle; paint-order: stroke; stroke: #101311; stroke-width: 4; opacity: 0; transition: opacity .4s; pointer-events: none; }
.r-lbl.show { opacity: 1; }
.r-lbl.off { fill: #F0A88C; }
.r-side { min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.r-km { display: flex; align-items: baseline; gap: 10px; } .r-km b { font-family: var(--fd); font-size: 64px; line-height: 1; color: var(--gold); } .r-km span { font: 500 13px var(--fm); letter-spacing: .14em; text-transform: uppercase; color: #ADB0A9; }
.r-list { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 6px; counter-reset: r; }
.r-list li { display: none; flex-direction: column; gap: 2px; padding: 9px 14px; border-radius: 12px; background: #1a1f1b; border-left: 4px solid var(--gold2); animation: r-in .4s both; }
.r-list li.show { display: flex; }
.r-list b { font-size: 18px; color: #F2EDE1; } .r-list span { font-size: 13px; color: #ADB0A9; }
@keyframes r-in { from { opacity: 0; transform: translateX(20px); } }
.r-end { display: none; grid-template-columns: 1fr; gap: 12px; }
.done .r-list { display: none; } .done .r-end { display: grid; }
.r-end > div { background: #1a1f1b; border-radius: 14px; padding: 16px 18px; border-left: 4px solid var(--gold2); }
.r-end > div.no { border-left-color: #C2603E; }
.r-end h3 { margin: 0 0 8px; font-family: var(--fd); font-size: 28px; text-transform: uppercase; color: #F2EDE1; }
.r-end p { margin: 0; font-size: 15px; line-height: 1.5; color: #D8D2C4; } .r-end em { font-style: normal; color: #8f938c; font-size: 13px; }
.r-hint { margin: 0; font: 500 14px var(--fm); color: var(--gold); letter-spacing: .1em; }

/* Ruta v2: profil i tablice */
.r-body { grid-template-columns: 1fr 560px; }
.r-left { min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.r-left .r-map { flex: 1; }
.r-alt { position: relative; height: 110px; flex: none; border-top: 1px solid #2a2f2b; }
.r-alt svg { width: 100%; height: 100%; display: block; }
.r-alt-lbl { position: absolute; top: 4px; font: 500 13px var(--fm); color: #F2EDE1; white-space: nowrap; }
.r-alt-ax { position: absolute; left: 0; top: 2px; font: 500 11px var(--fm); color: #8f938c; } .r-alt-ax.lo { top: auto; bottom: 2px; }
.r-km em { margin-left: auto; font: 500 14px var(--fm); font-style: normal; color: #ADB0A9; }
.r-km { align-items: baseline; }
.r-t { margin: 4px 0 0; font-family: var(--fd); font-size: 24px; text-transform: uppercase; color: #F2EDE1; padding-left: 10px; border-left: 4px solid var(--gold2); }
.r-t.off { border-left-color: #C2603E; display: none; }
.r-tab { width: 100%; border-collapse: collapse; font-size: 14px; color: #D8D2C4; }
.r-tab th { text-align: left; font: 500 11px var(--fm); letter-spacing: .1em; text-transform: uppercase; color: #8f938c; padding: 4px 8px; border-bottom: 1px solid #2a2f2b; }
.r-tab td { padding: 4px 8px; border-bottom: 1px solid #1f241f; white-space: nowrap; }
.r-tab td:nth-child(3), .r-tab td:nth-child(4) { font-family: var(--fm); font-size: 13px; }
.r-tab td b { color: #F2EDE1; font-weight: 600; }
.r-tab tr[data-k] { opacity: 0; transition: opacity .35s, background .35s; }
.r-tab tr[data-k].show { opacity: 1; }
.r-tab tr.now { background: #3a3322; }
.r-tab.off { display: none; }
.r-tab.off td b { color: #F0A88C; }
.done .r-t.off, .done .r-tab.off { display: table; }
.done .r-t.off { display: block; }
.r-side { overflow: auto; gap: 8px; }
.r-off { display: none; grid-template-columns: 1fr 1fr; gap: 6px; }
.done .r-off { display: grid; }
.r-off div { background: #241c19; border-left: 3px solid #C2603E; border-radius: 8px; padding: 6px 10px; display: flex; flex-direction: column; }
.r-off b { color: #F0A88C; font-size: 14px; font-weight: 600; } .r-off span { font-size: 12px; color: #8f938c; }
.r-tab td { padding: 3px 8px; }
.r-side { overflow: hidden; }

/* Web uživo s pravom kartom */
.w-live2 { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 340px; }
.w-main { position: relative; min-height: 0; display: flex; flex-direction: column; }
.w-gl { flex: 1; min-height: 0; }
.w-natpis { position: absolute; right: 8px; bottom: 128px; font-size: 11px; color: #4A4F49; background: rgba(244,240,230,.85); padding: 2px 6px; border-radius: 4px; z-index: 2; }
.w-prof { position: relative; height: 120px; flex: none; background: #F4F0E6; border-top: 1px solid var(--line); }
.w-prof svg { width: 100%; height: 100%; display: block; }
.w-prof-ax { position: absolute; left: 6px; top: 4px; font: 500 11px var(--fm); color: #6B6F68; } .w-prof-ax.lo { top: auto; bottom: 4px; }
.w-prof-km { position: absolute; left: 50px; bottom: 4px; font: 500 11px var(--fm); color: #6B6F68; } .w-prof-km.r { left: auto; right: 8px; }
.web-col .site { overflow: hidden; }
.web-col .w-hd { position: static; height: 52px; padding: 0 20px; gap: 18px; }
.web-col .w-hd img { height: 30px; } .web-col .w-hd nav { font-size: 14px; gap: 16px; } .web-col .w-cta { font-size: 15px; padding: 8px 14px; }
.web-col .w-strip { padding: 8px 20px; }
.w-prof-dots { position: absolute; inset: 0; pointer-events: none; }
.w-prof-dots i { position: absolute; width: 9px; height: 9px; margin: -5px 0 0 -5px; border-radius: 50%; background: #101311; border: 1.5px solid #F4F0E6; }
.w-prof-dots i.veh { background: #2E5B36; border-radius: 3px; }
.w-prof-dots i.me { width: 26px; height: 26px; margin: -13px 0 0 -13px; background: #C2A464; border-color: #101311; font: 800 11px/23px var(--fd); font-style: normal; color: #101311; text-align: center; z-index: 2; }

/* Ruta: odabir općine (3D) i oblačić */
.r-map { position: relative; }
.done .r-poly { cursor: pointer; }
.done .r-poly:hover { filter: brightness(1.25); }
.picked .r-poly, .picked .r-route, .picked .r-lbl { opacity: .45; transition: opacity .3s; }
.r-lift-sjena { fill: #000; opacity: .55; transform: translate(6px, 10px); filter: blur(4px); pointer-events: none; }
.r-lift-vrh { fill: #C2A464; stroke: #F2EDE1; stroke-width: 2; transform: translate(0, 0); transition: transform .45s cubic-bezier(.2,.8,.2,1.2); pointer-events: none; }
.r-lift-vrh.up { transform: translate(-6px, -14px); }
.r-lift-vrh.off { fill: #C2603E; }
.r-tab tr[data-k], .r-off div { cursor: pointer; }
.done .r-tab tr[data-k]:hover { background: #2a2f2b; }
.r-pop { position: absolute; z-index: 5; width: 330px; background: #F4F0E6; color: #101311; border-radius: 16px; padding: 18px 20px; box-shadow: 0 24px 50px rgba(0,0,0,.55); opacity: 0; transform: scale(.94); pointer-events: none; transition: opacity .25s, transform .25s; }
.r-pop.on { opacity: 1; transform: none; pointer-events: auto; }
.r-pop .ey { color: #7A6230; }
.r-pop h3 { margin: 2px 0 6px; font-family: var(--fd); font-size: 38px; line-height: 1; text-transform: uppercase; }
.r-pop-ruta { margin: 0 0 10px; font-weight: 700; color: #2E5B36; font-size: 14px; } .r-pop-ruta.off { color: #A3462A; }
.r-pop dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 0; font-size: 14px; }
.r-pop dt { color: #6B6F68; } .r-pop dd { margin: 0; font-weight: 700; text-align: right; }
.r-pop-izv { margin: 12px 0 0; font-size: 10.5px; line-height: 1.4; color: #6B6F68; border-top: 1px solid rgba(16,19,17,.12); padding-top: 8px; }
.r-pop-x { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 24px; color: #6B6F68; cursor: pointer; }

/* Mobitel: živi ekrani u izgledu prave aplikacije */
.ma { position: absolute; inset: 0; display: none; flex-direction: column; background: #0F1211; color: #ECEAE4; font-family: var(--fb); z-index: 1; }
.ma.on { display: flex; }
.mob img[data-img].on { opacity: 1; }
.ma-hd { height: 70px; flex: none; display: flex; align-items: center; gap: 10px; padding: 26px 14px 0; background: #101311; }
.ma-hd img { height: 26px; } .ma-hd span { flex: 1; font-family: var(--fd); font-weight: 800; font-size: 19px; text-transform: uppercase; }
.ma-hd em { font: 500 10px var(--fm); font-style: normal; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; background: #152620; display: flex; align-items: center; gap: 5px; }
.ma-hd em i, .ma-me strong i { width: 7px; height: 7px; border-radius: 50%; background: #7CC08A; display: inline-block; }
.ma-body { position: relative; flex: 1; min-height: 0; }
.ma-map { position: absolute; inset: 0; }
.ma-card { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(23,27,25,.96); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.ma-me { display: flex; align-items: center; gap: 10px; }
.ma-me > b { width: 40px; height: 40px; border-radius: 50%; background: #C2A464; color: #0F1211; display: grid; place-items: center; font-family: var(--fd); font-size: 17px; }
.ma-me div { flex: 1; display: flex; flex-direction: column; } .ma-me strong { font-size: 14px; display: flex; align-items: center; gap: 6px; } .ma-me span { font-size: 12px; color: #9A9D96; }
.ma-me button { border: 1px solid rgba(255,255,255,.18); background: none; color: #ECEAE4; border-radius: 99px; padding: 8px 12px; font-weight: 600; font-size: 13px; }
.ma-st { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ma-st div { background: #0F1211; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; }
.ma-st b { font-family: var(--fd); font-size: 24px; line-height: 1; } .ma-st span { font: 500 8.5px var(--fm); letter-spacing: .1em; text-transform: uppercase; color: #C9AD72; }
.ma-pane { position: absolute; inset: 0; background: #0F1211; display: none; padding: 14px 12px; overflow: hidden; z-index: 3; }
.ma-pane.on { display: block; }
.ma-ey { margin: 0; font: 500 10px var(--fm); letter-spacing: .14em; text-transform: uppercase; color: #C9AD72; }
.ma-pane h2 { margin: 2px 0 10px; font-family: var(--fd); font-size: 30px; text-transform: uppercase; }
.ma-chips { display: flex; gap: 6px; margin-bottom: 10px; } .ma-chips > * { padding: 5px 10px; border-radius: 99px; font-size: 12px; border: 1px solid rgba(255,255,255,.14); color: #ADB0A9; } .ma-chips b { background: #ECEAE4; color: #0F1211; border-color: #ECEAE4; }
.ma-search { height: 36px; border-radius: 99px; background: #171B19; color: #9A9D96; font-size: 13px; display: flex; align-items: center; padding: 0 12px; margin-bottom: 8px; }
.ma-pane ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.ma-pane li { display: flex; align-items: center; gap: 9px; background: #171B19; border-radius: 12px; padding: 6px 9px; }
.ma-pane li.me { background: #152620; outline: 1px solid rgba(194,164,100,.55); }
.ma-pane .nb { width: 30px; height: 30px; flex: none; border-radius: 50%; background: #21261F; display: grid; place-items: center; font-family: var(--fd); font-size: 13px; }
.ma-pane .nb.veh { background: #2E5B36; border-radius: 8px; } .ma-pane li.me .nb { background: #C2A464; color: #0F1211; }
.ma-pane .nm { flex: 1; display: flex; flex-direction: column; font-size: 13px; } .ma-pane .nm em { font-style: normal; font-size: 10.5px; color: #9A9D96; }
.ma-pane .km { font-family: var(--fd); font-size: 18px; }
.ma-grupa { background: #171B19; border-radius: 12px; padding: 10px; } .ma-grupa div { display: flex; justify-content: space-between; align-items: baseline; } .ma-grupa b { font-family: var(--fd); font-size: 17px; text-transform: uppercase; } .ma-grupa span { font-size: 11px; color: #9A9D96; }
.ma-grupa p { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 5px; } .ma-grupa i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: #21261F; display: grid; place-items: center; font-family: var(--fd); font-size: 12px; } .ma-grupa i.me { background: #C2A464; color: #0F1211; }
.ma-rupa { margin: 4px 0; text-align: center; font: 500 9.5px var(--fm); letter-spacing: .12em; text-transform: uppercase; color: #C9AD72; }
.ma-nav { height: 60px; flex: none; display: grid; grid-template-columns: repeat(3, 1fr); background: #101311; border-top: 1px solid rgba(255,255,255,.07); }
.ma-nav button { border: 0; border-top: 2px solid transparent; background: none; color: #A9ACA6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; cursor: pointer; }
.ma-nav button.on { color: #C9AD72; border-top-color: #C2A464; }
.mob .ma-hd img { position: static; opacity: 1; width: auto; height: 26px; inset: auto; }
.bi[data-bk=pop] { animation-name: bi-pop; } @keyframes bi-pop { from { opacity: 0; transform: scale(.7); } }

/* Hodogram: linija u jednom potezu */
.hod-view { background: #E9E3D5; color: #101311; padding: 0; }
.h-in { position: relative; flex: 1; display: flex; flex-direction: column; padding: 9vh 7vw 6vh; gap: 2vh; }
.hod-view .ey { color: #C9AD72; font-size: 15px; }
.h-in h2 { margin: 0; font-family: var(--fd); font-weight: 800; font-size: clamp(48px, 7vw, 110px); line-height: 1; text-transform: uppercase; }
.h-os { position: relative; height: 34vh; margin-top: 2vh; }
.h-linija { position: absolute; left: 0; top: 50%; width: 0; height: 4px; margin-top: -2px; background: linear-gradient(90deg, #C9AD72 0%, #C9AD72 88%, rgba(201,173,114,.15) 100%); border-radius: 2px; }
.h-k { position: absolute; top: 50%; width: 12vw; max-width: 220px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; }
.h-k i { width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: #101311; border: 6px solid #C9AD72; transform: scale(0); transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.h-k b { margin-top: 14px; font-family: var(--fd); font-weight: 800; font-size: clamp(20px, 2vw, 34px); line-height: 1.05; white-space: nowrap; opacity: 0; transform: translateY(12px); transition: opacity .45s .1s, transform .45s .1s; }
.h-k span { margin-top: 6px; font-size: clamp(13px, 1.1vw, 18px); line-height: 1.3; color: #4A4F49; opacity: 0; transform: translateY(12px); transition: opacity .45s .2s, transform .45s .2s; }
.h-k.on i { transform: scale(1); } .h-k.on b, .h-k.on span { opacity: 1; transform: none; }
.h-k.utrka i { background: #2E5B36; width: 44px; height: 44px; margin-top: -22px; } .h-k.utrka b { color: #2E5B36; }
.h-k.utrka img { position: absolute; bottom: calc(100% + 24px); width: 11vw; max-width: 200px; opacity: 0; transform: translateY(20px) scale(.8); transition: opacity .6s .2s, transform .6s .2s cubic-bezier(.3,1.5,.5,1); }
.h-k.utrka.on img { opacity: 1; transform: none; }
.h-k.dalje i { background: #E9E3D5; border-style: dashed; } .h-k.dalje b { color: #7A6230; }
.h-dalje { margin-top: auto; background: #101311; color: #ECE7DA; border-radius: 20px; padding: 3vh 2.5vw; opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.h-dalje.on { opacity: 1; transform: none; }
.h-dalje ol { margin: 1.2vh 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw; counter-reset: c; font-size: clamp(16px, 1.5vw, 26px); }
.h-dalje li::before { counter-increment: c; content: counter(c) '. '; color: #C9AD72; }
.h-foot { margin: 0; font: 500 15px var(--fm); letter-spacing: 2px; color: #4A4F49; }
.h-k { width: calc((100vw - 14vw) / 8 - 16px); max-width: none; }
.h-k b { font-size: clamp(18px, 1.55vw, 30px); }
.h-k span { font-size: clamp(13px, 1vw, 17px); }
.h-os { height: 38vh; }
/* Hodogram: ujednačen raspored */
.h-in { gap: 1.5vh; }
.h-os { flex: 1; height: auto; min-height: 36vh; margin-top: 0; }
.h-linija, .h-k { top: 56%; }
.h-linija { background: linear-gradient(90deg, #C9AD72 0%, #C9AD72 94%, rgba(201,173,114,0) 100%); }
.h-dalje { margin-top: 0; }
.h-k.utrka i { width: 34px; height: 34px; margin-top: -17px; box-shadow: 0 0 0 8px rgba(46,91,54,.18); }
.h-k.dalje i { background: #E9E3D5; border: 6px solid #C9AD72; border-style: solid; box-shadow: inset 0 0 0 4px #E9E3D5, inset 0 0 0 20px rgba(201,173,114,.35); }
.r-alt-sel { position: absolute; bottom: calc(100% + 4px); transform: translateX(-50%); font: 500 12px var(--fm); color: #101311; background: #E2C98C; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.picked .r-alt svg > path:not([fill="#E2C98C"]) { opacity: .5; }
.picked .r-alt-lbl { display: none; }
