/* Pisava je na našem strežniku (hitreje, brez skoka besedila ob nalaganju). */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(font/pjs-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(font/pjs-latin.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'CK Nadomestna'; src: local('Arial'), local('Helvetica Neue'), local('Helvetica'); size-adjust: 105%; ascent-override: 99%; descent-override: 21%; line-gap-override: 0%; }

:root {
  --bg: #EEF5FB;
  --ink: #14254A;
  --muted: #4F6182;
  --line: #D5E3F0;
  --ice: #E3EEF8;
  --ice-2: #C9DDEE;
  --ice-3: #9EC0DD;
  --butter: #FFD166;
  --butter-soft: #FFF3CF;
  --butter-line: #E8B53F;
  --mint: #DDF1E9;
  --mint-ink: #1F4D3C;
  --blue: #2753C9;
  --blue-shadow: #1C3E9C;
  --navy-shadow: #0A1630;
  --field: #F6FAFD;
  --alarm: #FFE1DA;
  --alarm-ink: #A32A1A;
  --alarm-line: #F3B8AC;
  --font: 'Plus Jakarta Sans', 'CK Nadomestna', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; min-height: 100svh; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--ink); }
button, input, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
input::placeholder, textarea::placeholder { color: #8496B3; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Ogrodje zaslona */
.screen {
  position: relative;
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.snow { position: absolute; top: 0; left: 0; width: 100%; height: 320px; pointer-events: none; z-index: -1; }
.topbar { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; min-height: 76px; }
.topbar .title { font-size: 15px; font-weight: 700; color: var(--muted); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; letter-spacing: -0.5px; text-decoration: none; }
.round-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -6px; border-radius: 50%; background: #fff; border: none; text-decoration: none; }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; border: none; font-weight: 700; font-size: 15px; text-decoration: none; }
.spacer { width: 44px; }

.h1 { font-weight: 800; font-size: 32px; line-height: 1.1; letter-spacing: -1px; }
.lead { font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--muted); }
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-14 { gap: 14px; } .gap-18 { gap: 18px; }
.pt-10 { padding-top: 10px; }
.bottom { margin-top: auto; padding: 24px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.small { font-size: 12.5px; line-height: 1.5; font-weight: 600; color: var(--muted); text-align: center; }

/* Gumbi */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 60px; border-radius: 18px; border: none;
  background: var(--ink); box-shadow: 0 5px 0 var(--navy-shadow);
  color: #fff; font-weight: 700; font-size: 19px; text-decoration: none;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--navy-shadow); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn.blue { background: var(--blue); box-shadow: 0 5px 0 var(--blue-shadow); font-weight: 800; font-size: 18px; }
.btn.blue:active { box-shadow: 0 2px 0 var(--blue-shadow); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: 0 4px 0 var(--line); }
.link-btn { background: none; border: none; padding: 8px; font-weight: 700; font-size: 15px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* Kartice in polja */
.card { background: #fff; border-radius: 24px; padding: 20px 18px; box-shadow: 0 3px 0 var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 14px; font-weight: 800; }
.field label .opt { font-weight: 500; color: var(--muted); }
.input, .textarea {
  width: 100%; border-radius: 14px; border: 2px solid var(--line); background: var(--field);
  font-weight: 600; font-size: 17px;
}
.input { height: 52px; padding: 0 14px; }
.textarea { padding: 12px 14px; font-weight: 500; font-size: 16px; line-height: 1.45; resize: none; }
.input:focus, .textarea:focus { border-color: var(--ice-3); outline: none; background: #fff; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }

.seg { display: flex; gap: 10px; }
.seg button {
  flex: 1; height: 52px; border-radius: 16px; background: #fff; border: 2px solid var(--line);
  font-weight: 800; font-size: 16px;
}
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.note { display: flex; gap: 12px; align-items: flex-start; border-radius: 16px; padding: 14px 16px; }
.note.butter { background: var(--butter-soft); color: #5C430C; }
.note.mint { background: var(--mint); color: var(--mint-ink); }
.note.white { background: #fff; color: var(--muted); }
.note b { display: block; font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.note span { font-size: 13.5px; line-height: 1.45; font-weight: 600; text-wrap: pretty; }
.note.alarm { background: var(--alarm); color: var(--alarm-ink); }
.note.alarm b, .note.butter b { color: inherit; }
.error { background: #FDECEC; color: #8A1F1F; border-radius: 14px; padding: 12px 14px; font-size: 14px; font-weight: 700; }

/* Vstopna stran: okvir sega čez cel zaslon (hribi in noga gredo od roba do roba), vsebina ostane v stolpcu. */
.landing.screen { --rob: max(22px, calc((100vw - 416px) / 2)); max-width: none; padding: 0 var(--rob); }
.landing .snow { left: var(--rob); width: calc(100% - 2 * var(--rob)); }
.landing .hero-frame { position: relative; margin-top: 18px; }
.hero-photo {
  position: relative; overflow: hidden;
  height: 400px; border-radius: 32px; border: 6px solid #fff; background: var(--ice-2) center 20% / cover no-repeat;
}
.snowcap { position: absolute; top: -29px; left: 0; width: 100%; height: 40px; }
.snowman { position: absolute; left: -10px; bottom: -22px; }
.star-corner { position: absolute; right: 16px; top: 22px; }
.landing h1 { padding-top: 32px; font-weight: 800; font-size: 44px; line-height: 1.02; letter-spacing: -1.6px; }
.landing .intro { font-size: 16px; line-height: 1.5; color: var(--muted); padding-top: 18px; }
.landing .cta { padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.landing h2 { font-weight: 800; font-size: 24px; letter-spacing: -0.6px; }
.landing section { position: relative; margin-top: 52px; display: flex; flex-direction: column; gap: 14px; }
.chars3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.char-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: #fff; border: none; border-radius: 22px; padding: 14px 6px 16px; box-shadow: 0 3px 0 var(--line); }
.portrait { width: 78px; height: 78px; border-radius: 50%; background: var(--ice) center 25% / cover no-repeat; flex: none; }
.char-card .name { font-weight: 800; font-size: 15px; }
.chip { font-size: 12px; font-weight: 700; color: var(--muted); border-radius: 999px; padding: 3px 10px; }
.step { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 20px; padding: 14px 16px; }
.step p { font-size: 15px; line-height: 1.45; font-weight: 500; }
.step b { font-weight: 800; }
.hills { position: relative; height: 120px; margin: 56px calc(-1 * var(--rob, 22px)) 0; }
.hills-bg { display: block; width: 100%; height: 100%; }
.hills-toy { position: absolute; overflow: visible; }
.hills-toy.darilo { left: calc(var(--rob, 22px) + 8px); bottom: 18%; width: 46px; height: 44px; }
.hills-toy.smreke { right: calc(var(--rob, 22px) - 8px); bottom: 28%; width: 62px; height: 62px; }
.footer { background: #fff; margin: 0 calc(-1 * var(--rob, 22px)); padding: 0 var(--rob, 22px) 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--muted); }
.footer a { color: var(--muted); }
.qr-card { display: none; }

/* Izbira lika in paketi */
.choice {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px 14px;
  border-radius: 22px; background: #fff; border: 2.5px solid #fff; text-align: left;
}
.choice[aria-pressed="true"] { border-color: var(--ink); }
.choice[aria-disabled="true"] { opacity: .55; }
.choice .portrait { width: 70px; height: 70px; }
.choice .txt { display: flex; flex-direction: column; gap: 5px; flex: 1; align-items: flex-start; }
.choice .nm { font-weight: 800; font-size: 19px; }
.tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--ice-2);
  display: flex; align-items: center; justify-content: center;
}
[aria-pressed="true"] > .tick { background: var(--ink); border-color: var(--ink); }
.soon { display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px 14px; border-radius: 22px; border: 2px dashed var(--ice-2); background: none; color: var(--muted); text-align: left; }

.pack { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border-radius: 22px; background: #fff; border: 3px solid var(--line); box-shadow: 0 3px 0 var(--line); text-align: left; }
.pack[aria-pressed="true"] { border-color: var(--ink); }
.pack .tick { width: 28px; height: 28px; }
.pack .mid { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.pack .nm { font-weight: 700; font-size: 20px; }
.pack .sub, .pack .per { font-size: 13px; font-weight: 600; color: var(--muted); }
.pack .right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.pack .price { font-weight: 800; font-size: 19px; }

.slider-card { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; padding: 24px 20px; border-radius: 26px; }
.big-num { display: flex; align-items: center; justify-content: center; gap: 10px; }
.big-num .n { font-weight: 700; font-size: 64px; line-height: 1; }
.big-num .u { font-weight: 800; font-size: 20px; color: var(--muted); }
input[type=range] { accent-color: var(--ink); width: 100%; height: 44px; margin: 0; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.total { border-top: 2px dashed var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }

/* Klic */
.call { padding: 26px 12px 12px; max-width: 520px; height: 100vh; height: 100svh; min-height: 0; }
.call-frame { position: relative; flex: 1; min-height: 0; border-radius: 32px; border: 6px solid #fff; background: #22334F; overflow: hidden; }
.call-frame video.avatar { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.call-wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 30px; color: #DCE6F2; font-weight: 700; font-size: 17px; background: #22334F center 20% / cover no-repeat; }
.call-wait::before { content: ''; position: absolute; inset: 0; background: rgba(20, 37, 74, .55); }
.call-wait > * { position: relative; }
.call-wait.live::before { display: none; }
.twinkle { width: 46px; height: 46px; animation: twinkle 1.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(.85) rotate(0); opacity: .7; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }
.call-top { position: absolute; top: 16px; left: 14px; right: 14px; display: flex; align-items: flex-start; justify-content: space-between; }
.name-pill { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 14px 8px 10px; font-weight: 800; font-size: 15px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #5FAF8F; }
.self { width: 86px; height: 118px; border-radius: 18px; border: 3px solid #fff; background: #3A4D6C; overflow: hidden; }
.self video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.call-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 14px 20px; display: flex; flex-direction: column; gap: 18px; background: linear-gradient(to bottom, transparent, rgba(20, 37, 74, .55)); }
.subs { align-self: center; max-width: 320px; text-align: center; font-size: 17px; line-height: 1.4; font-weight: 700; background: #fff; padding: 12px 16px; border-radius: 18px; }
.controls { display: flex; align-items: center; justify-content: center; gap: 28px; }
.ctl { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: none; display: flex; align-items: center; justify-content: center; }
.ctl { position: relative; transition: background .2s, scale .15s; }
.ctl:active { scale: .9; }
.ctl[aria-pressed="false"] { background: #C9D6E6; }
.ctl[aria-pressed="false"]::after { content: ''; position: absolute; width: 30px; height: 2.6px; border-radius: 2px; background: var(--ink); rotate: -45deg; box-shadow: 0 0 0 2px #C9D6E6; }
.ctl.end { width: 70px; height: 70px; background: var(--ink); border: 3px solid #fff; }
.ctl.end.confirm { width: auto; padding: 0 20px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 15px; }
.call-time { text-align: center; font-size: 12px; font-weight: 600; color: #DCE6F2; }
.call-snowcap { position: absolute; top: -3px; left: 12px; width: calc(100% - 24px); height: 40px; pointer-events: none; }

.center-msg { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 40px 0; }

.demo-flag { position: fixed; top: 4px; left: 4px; pointer-events: none; opacity: .9; background: var(--butter); color: #5C430C; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; z-index: 50; }

/* Računalnik: vstopna stran v dveh stolpcih s QR kodo */
@media (min-width: 900px) {
  .landing.screen { --rob: max(40px, calc((100vw - 1080px) / 2)); }
  .landing .snow { display: none; }
  .landing .topbar { padding: 24px 0; }
  .landing .hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; padding: 28px 0 10px; }
  .landing .hero-text { order: 0; }
  .landing .hero-frame { order: 1; margin-top: 0; }
  .landing .hero-photo { height: auto; aspect-ratio: 4 / 5; border-width: 8px; border-radius: 36px; }
  .landing h1 { padding-top: 0; font-size: 68px; line-height: 1; letter-spacing: -2.6px; }
  .landing .intro { font-size: 17px; max-width: 460px; }
  .landing .cta { flex-direction: row; align-items: center; gap: 18px; }
  .landing .cta .btn { width: auto; padding: 0 32px; }
  .landing .lower { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
  .hills { height: 190px; }
  .hills-toy.darilo { width: 74px; height: 70px; left: calc(var(--rob) + 20px); }
  .hills-toy.smreke { width: 100px; height: 100px; right: var(--rob); }
}


/* =====================================================================
   Gibanje in igrivost
   ===================================================================== */
#sneg, #fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#sneg { z-index: 0; }
#fx { z-index: 60; view-transition-name: fx; }
#app { position: relative; z-index: 1; }
::view-transition-group(fx) { animation: none; }
::view-transition-old(fx) { display: none; }
::view-transition-new(fx) { animation: none; }

/* Dotik: vse, kar se da pritisniti, se malo "ugrezne" */
.round-btn, .pill-btn, .choice, .pack, .char-card, .soon, .seg button, .st, .toy, .step { transition: scale .15s cubic-bezier(.3, 1.4, .5, 1), border-color .2s, background .2s, color .2s, box-shadow .15s, translate .15s; -webkit-tap-highlight-color: transparent; }
.round-btn:active, .pill-btn:active, .seg button:active { scale: .92; }
.choice:active, .pack:active, .char-card:active, .soon:active, .step:active { scale: .975; }
.round-btn:active svg { translate: -3px 0; }
.round-btn svg, .btn-arrow, .btn-ico { transition: translate .2s, rotate .4s; }
.btn:active .btn-arrow { translate: 5px 0; }
.btn:active .btn-ico { rotate: 90deg; }
.brand svg { transition: rotate .5s cubic-bezier(.3, 1.4, .5, 1); }
.brand:active svg { rotate: 144deg; }
.step { cursor: pointer; }
.btn { position: relative; overflow: hidden; }
.tick { transition: background .2s, border-color .2s; }

.toy { all: unset; display: block; cursor: pointer; line-height: 0; -webkit-tap-highlight-color: transparent; transition: scale .15s cubic-bezier(.3, 1.4, .5, 1); }
.toy:active { scale: .9; }
.snowman.toy { position: absolute; left: -16px; bottom: -26px; }
.toy img { display: block; -webkit-user-drag: none; user-select: none; }
.brand-ico { display: block; flex: none; }
.brand { gap: 6px; }
.star-corner.toy { position: absolute; right: 16px; top: 22px; }
.flake-big { position: absolute; right: 26px; top: -52px; }
.landing .topbar { z-index: 2; }
.svg-toy { cursor: pointer; transform-box: fill-box; transform-origin: 50% 100%; }
.hills-toy { overflow: visible; }

/* Oblaček */
.bubble {
  position: fixed; z-index: 70; max-width: 220px; padding: 8px 14px; border-radius: 16px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; text-wrap: balance;
  pointer-events: none; opacity: 0; scale: .6; translate: 0 8px; transform-origin: var(--rep, 50%) 100%;
  transition: opacity .18s, scale .28s cubic-bezier(.3, 1.6, .5, 1), translate .28s;
}
.bubble::after { content: ''; position: absolute; left: var(--rep, 50%); bottom: -5px; width: 12px; height: 12px; margin-left: -6px; background: var(--ink); rotate: 45deg; border-radius: 2px; }
.bubble.show { opacity: 1; scale: 1; translate: 0 0; }
.bubble.hide { opacity: 0; translate: 0 -6px; }

/* Vstopna: predogled klica v sliki */
.hero-pill { position: absolute; left: 12px; top: 22px; font-size: 14px; padding: 7px 12px 7px 9px; }
.dot { position: relative; }
.hero-subs {
  position: absolute; left: 84px; right: 12px; bottom: 14px; height: 84px; margin: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 18px; padding: 10px 14px;
  font-size: 15px; line-height: 1.4; font-weight: 700; text-align: center; text-wrap: balance;
  transition: opacity .3s, translate .3s;
}
.hero-subs.gone { opacity: 0; translate: 0 6px; }
.hero-subs .w { opacity: 0; transition: opacity .25s; }
.hero-subs .w.on { opacity: 1; }

/* Obrazec: živ predogled pozdrava */
.greet { display: flex; align-items: flex-end; gap: 10px; margin-top: 18px; }
.greet .portrait { width: 46px; height: 46px; border: 3px solid #fff; }
.greet-bubble { position: relative; background: #fff; border-radius: 18px 18px 18px 6px; padding: 11px 15px; font-size: 14.5px; line-height: 1.35; font-weight: 600; transform-origin: 0 100%; }
.greet-bubble b { font-weight: 800; }

/* Zlaganje (namigi, ki se prikažejo in skrijejo) */
.fold { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s cubic-bezier(.4, 0, .2, 1), opacity .3s, margin .4s cubic-bezier(.4, 0, .2, 1); }
.fold > * { overflow: hidden; min-height: 0; transition: padding .4s cubic-bezier(.4, 0, .2, 1); }
.fold.closed { grid-template-rows: 0fr; opacity: 0; }
.fold.closed > * { padding-top: 0; padding-bottom: 0; }
form .fold.closed { margin-top: -18px; }
#namig-ovoj.closed { margin-top: 0 !important; }

/* Drsnik in zvezdice */
.slider { -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
.slider::-webkit-slider-runnable-track { height: 14px; border-radius: 999px; background: linear-gradient(to right, var(--ink) calc(19px + var(--p, 0) * (100% - 38px)), var(--ice) 0); }
.slider::-moz-range-track { height: 14px; border-radius: 999px; background: var(--ice); }
.slider::-moz-range-progress { height: 14px; border-radius: 999px; background: var(--ink); }
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 38px; height: 38px; margin-top: -12px; border-radius: 50%;
  border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--navy-shadow);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.8-4.9 4.5 1.3 6.5L12 17l-5.9 3.3 1.3-6.5L2.5 9.3l6.6-.8z' fill='%23FFD166' stroke='%23E8B53F'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: scale .15s;
}
.slider::-moz-range-thumb {
  width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--navy-shadow);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.8-4.9 4.5 1.3 6.5L12 17l-5.9 3.3 1.3-6.5L2.5 9.3l6.6-.8z' fill='%23FFD166' stroke='%23E8B53F'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.slider:active::-webkit-slider-thumb { scale: 1.12; }
.stars10 { display: flex; justify-content: space-between; }
.st { all: unset; cursor: pointer; line-height: 0; padding: 2px; -webkit-tap-highlight-color: transparent; transition: scale .15s cubic-bezier(.3, 1.4, .5, 1); }
.st svg { width: 24px; height: 24px; fill: var(--ice); stroke: var(--ice-2); transition: fill .2s, stroke .2s; }
.st.on svg { fill: var(--butter); stroke: var(--butter-line); }
.st:active { scale: .8; }
.big-num .n { min-width: 1.2ch; text-align: right; font-variant-numeric: tabular-nums; }

/* Tri pikice, ki skačejo */
.dots i { display: inline-block; font-style: normal; }

/* Klic: zvonjenje */
.rings { position: relative; width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; }
.rings i { position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .7); opacity: 0; }
.ring-core { position: relative; width: 76px; height: 76px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.call-wait { transition: opacity .55s; }
.call-wait.out { opacity: 0; }
.call-wait.out::before { display: none; }

@media (prefers-reduced-motion: no-preference) {
  /* Prehodi med zasloni */
  ::view-transition-old(root) { animation: vt-ven .22s cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: vt-noter .38s cubic-bezier(.2, .8, .2, 1) both; }
  html[data-smer="nazaj"]::view-transition-old(root) { animation-name: vt-ven-nazaj; }
  html[data-smer="nazaj"]::view-transition-new(root) { animation-name: vt-noter-nazaj; }
  html[data-smer="klic"]::view-transition-old(root) { animation-name: vt-zbledi; }
  html[data-smer="klic"]::view-transition-new(root) { animation: vt-odpri .5s cubic-bezier(.2, 1.1, .3, 1) both; }
  @keyframes vt-ven { to { opacity: 0; transform: translateX(-28px); } }
  @keyframes vt-noter { from { opacity: 0; transform: translateX(40px); } }
  @keyframes vt-ven-nazaj { to { opacity: 0; transform: translateX(28px); } }
  @keyframes vt-noter-nazaj { from { opacity: 0; transform: translateX(-40px); } }
  @keyframes vt-zbledi { to { opacity: 0; transform: scale(.96); } }
  @keyframes vt-odpri { from { opacity: 0; transform: scale(.86); } }

  /* Elementi novega zaslona se pripeljejo eden za drugim */
  .enter > *, .enter [data-st] > * { animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 45ms + 40ms); }
  .enter > [data-st], .enter > .lower, .enter > .snow, .enter > .hero { animation: none; }
  .enter > .hero > .hero-frame { animation: zoom-in .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: 60ms; }
  @keyframes rise { from { opacity: 0; translate: 0 16px; } }
  @keyframes zoom-in { from { opacity: 0; scale: .95; } }

  /* Prihod ob drsenju po strani */
  .rv { opacity: 0; translate: 0 18px; transition: opacity .55s, translate .55s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
  .rv.in { opacity: 1; translate: 0 0; }
  .char-card.rv.in, .step.rv.in { transition: opacity .55s var(--d, 0ms), translate .55s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms), scale .15s; }

  /* Enkratne animacije, ki jih sproži dotik */
  .pop, .screen .pop { animation: pop .4s cubic-bezier(.3, 1.4, .5, 1); }
  .wiggle, .screen .wiggle { animation: wiggle .55s ease; }
  .shake, .screen .shake { animation: shake .42s ease; }
  .jump, .screen .jump { animation: jump .62s cubic-bezier(.3, .7, .4, 1); }
  .spin, .screen .spin { animation: spin1 .75s cubic-bezier(.3, .8, .3, 1); }
  .swap, .screen .swap { animation: swap .3s cubic-bezier(.2, .9, .3, 1.2); display: inline-block; }
  @keyframes pop { 0% { scale: 1; } 35% { scale: .965; } 70% { scale: 1.02; } 100% { scale: 1; } }
  .big-num .pop, .st.pop, .seg .pop { animation-name: pop-mali; }
  @keyframes pop-mali { 0% { scale: 1; } 35% { scale: .9; } 70% { scale: 1.08; } 100% { scale: 1; } }
  @keyframes wiggle { 0%, 100% { rotate: 0deg; } 20% { rotate: -11deg; } 40% { rotate: 9deg; } 60% { rotate: -6deg; } 80% { rotate: 3deg; } }
  @keyframes shake { 0%, 100% { translate: 0 0; } 20% { translate: -8px 0; } 40% { translate: 7px 0; } 60% { translate: -4px 0; } 80% { translate: 2px 0; } }
  @keyframes jump { 0%, 100% { translate: 0 0; scale: 1 1; } 15% { scale: 1.1 .88; } 45% { translate: 0 -24px; scale: .95 1.07; } 75% { translate: 0 0; scale: 1.07 .93; } }
  @keyframes spin1 { from { rotate: 0deg; scale: 1; } 50% { scale: 1.25; } to { rotate: 360deg; scale: 1; } }
  @keyframes swap { from { opacity: 0; translate: 0 10px; } }
  .svg-toy.jump { animation: jump-svg .62s cubic-bezier(.3, .7, .4, 1); }
  .svg-toy.wiggle { animation: wiggle-svg .55s ease; }
  @keyframes jump-svg { 0%, 100% { transform: none; } 15% { transform: scale(1.1, .88); } 45% { transform: translateY(-18px) scale(.95, 1.07); } 75% { transform: scale(1.07, .93); } }
  @keyframes wiggle-svg { 0%, 100% { transform: none; } 20% { transform: rotate(-9deg); } 40% { transform: rotate(7deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(2deg); } }

  /* Kljukica skoči noter */
  [aria-pressed="true"] > .tick svg { animation: tick-in .35s cubic-bezier(.3, 1.6, .5, 1); }
  @keyframes tick-in { from { scale: 0; rotate: -40deg; } }
  .choice[aria-pressed="true"] .portrait { box-shadow: 0 0 0 3px var(--butter); transition: box-shadow .25s; }

  /* Stalno, nežno gibanje okraskov */
  .snowman img, .bob { display: block; animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
  @keyframes bob { 0%, 100% { translate: 0 0; rotate: -2deg; } 50% { translate: 0 -5px; rotate: 2deg; } }
  .flake-big svg { animation: vrti 22s linear infinite; }
  @keyframes vrti { to { rotate: 360deg; } }
  .star-corner svg, .pulse { display: block; animation: utrip 2.4s ease-in-out infinite; }
  @keyframes utrip { 0%, 100% { scale: 1; rotate: -6deg; } 50% { scale: 1.14; rotate: 6deg; } }
  .twinkle-s { animation: mezik 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes mezik { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.7); } }
  .hero-pill .dot::after, .name-pill .dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #5FAF8F; animation: val 1.8s ease-out infinite; }
  @keyframes val { from { scale: 1; opacity: .7; } to { scale: 2.8; opacity: 0; } }

  /* Lesk čez modri gumb */
  .shine::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent); animation: lesk 4.2s ease-in-out infinite; }
  @keyframes lesk { 0%, 55% { left: -40%; } 85%, 100% { left: 120%; } }

  /* Telefon v gumbu pozvoni */
  .ring-ico { animation: zvoni 2.6s ease-in-out infinite; transform-origin: 50% 60%; }
  @keyframes zvoni { 0%, 60%, 100% { rotate: 0deg; } 66% { rotate: -16deg; } 72% { rotate: 14deg; } 78% { rotate: -12deg; } 84% { rotate: 9deg; } 90% { rotate: -5deg; } }

  /* Pikice skačejo */
  .dots i { animation: skok 1.1s ease-in-out infinite; }
  .dots i:nth-child(2) { animation-delay: .15s; }
  .dots i:nth-child(3) { animation-delay: .3s; }
  @keyframes skok { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 -5px; } }

  /* Pismo odleti */
  #pismo.fly { animation: odleti .45s cubic-bezier(.5, 0, .8, .4) both; }
  @keyframes odleti { 30% { translate: -10px 8px; rotate: -8deg; } to { translate: 220px -160px; rotate: 24deg; scale: .4; opacity: 0; } }

  /* Klic: krogi zvonjenja, kontrole pridrsijo */
  .rings i { animation: krog 2.1s ease-out infinite; }
  .rings i:nth-child(2) { animation-delay: .7s; }
  .rings i:nth-child(3) { animation-delay: 1.4s; }
  @keyframes krog { from { scale: .6; opacity: .9; } to { scale: 1.9; opacity: 0; } }
  .ring-core svg { animation: zvoni 1.4s ease-in-out infinite; transform-origin: 50% 60%; }
  .call .controls > * { animation: rise .5s cubic-bezier(.2, .9, .3, 1.3) both; }
  .call .controls > :nth-child(1) { animation-delay: .25s; }
  .call .controls > :nth-child(2) { animation-delay: .33s; }
  .call .controls > :nth-child(3) { animation-delay: .41s; }
  .call .call-top > * { animation: rise .5s cubic-bezier(.2, .9, .3, 1.2) .15s both; }
  .subs { animation: rise .3s cubic-bezier(.2, .9, .3, 1.2) both; }

  /* Miška na računalniku */
  @media (hover: hover) {
    .choice:hover, .pack:hover, .char-card:hover, .step:hover { translate: 0 -2px; }
    .char-card:hover .portrait { rotate: -4deg; scale: 1.05; }
    .portrait { transition: rotate .25s, scale .25s; }
    .btn:hover .btn-arrow { translate: 4px 0; }
    .btn:hover .btn-ico { rotate: 60deg; }
    .toy:hover { scale: 1.08; }
  }
}


/* =====================================================================
   Stanje minut: 0 minut je rdečkasto, premalo za klic (1–2) je rumeno
   ===================================================================== */
.pill-btn.stanje svg { flex: none; }
.pill-btn.stanje .plus { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin: 0 -6px 0 2px; border-radius: 50%; background: currentColor; }
.pill-btn.stanje .plus svg { display: block; }
.pill-btn.stanje.prazno { background: var(--alarm); color: var(--alarm-ink); box-shadow: inset 0 0 0 2px var(--alarm-line); }
.pill-btn.stanje.malo { background: var(--butter-soft); color: #5C430C; box-shadow: inset 0 0 0 2px var(--butter-line); }
.st-txt { font-weight: 800; white-space: nowrap; }
.st-txt.prazno { color: var(--alarm-ink); background: var(--alarm); border-radius: 999px; padding: 2px 9px; }
.st-txt.malo { color: #5C430C; background: var(--butter-soft); border-radius: 999px; padding: 2px 9px; }
.topbar .title .st-txt { margin-left: 2px; }
.stej { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; }


/* =====================================================================
   Vstopna stran z videom (ležeč kader: trije dobri možje)
   ===================================================================== */
.hero-photo.video { height: auto; aspect-ratio: 32 / 25; background-position: 0 50%; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 50%; opacity: 0; transition: opacity .5s; pointer-events: none; }
.hero-video.on { opacity: 1; }
.hero-photo.video > .name-pill, .hero-photo.video > .hero-subs { z-index: 1; }
/* Oblaček z besedilom sedi čez spodnji rob, da ne pokrije obrazov. */
.hero.siroko .hero-frame { margin-bottom: 46px; }
.hero.siroko .hero-photo { overflow: visible; }
.hero.siroko .hero-video { border-radius: 26px; }
.hero.siroko .hero-subs { bottom: -50px; box-shadow: 0 3px 0 var(--line); }
.hero.siroko .snowman.toy { bottom: -62px; }
.hero.siroko .star-corner.toy { top: 18px; }
@media (min-width: 900px) {
  .landing .hero.siroko { grid-template-columns: 1fr 1fr; gap: 48px; }
  .landing .hero.siroko .cta { flex-wrap: wrap; }
  .landing .hero.siroko .cta .btn { flex: none; white-space: nowrap; }
  .landing .hero.siroko .cta .small { white-space: nowrap; }
  .landing .hero.siroko .hero-photo { aspect-ratio: 3 / 2; border-radius: 36px; }
  .landing .hero.siroko .hero-video { border-radius: 28px; }
  .landing .hero.siroko .hero-subs { left: 110px; right: 24px; }
}

/* Naslov na vstopni strani ostane v eni vrstici (brez osamljene besede); velikost mu po potrebi zmanjša app.js. */
.landing h1 { white-space: nowrap; }
.landing .hero > * { min-width: 0; }
@media (max-width: 350px) { .hero-subs { font-size: 13.5px; left: 76px; padding: 8px 10px; } }


/* =====================================================================
   Računalnik: predstavitvena stran s QR kodo (klic se opravi na telefonu)
   ===================================================================== */
.racunalnik .landing .cta, .racunalnik .landing .topbar .pill-btn { display: none; }
.racunalnik .qr-card { display: flex; gap: 20px; align-items: center; margin-top: 28px; max-width: 480px; background: #fff; border-radius: 26px; padding: 18px; box-shadow: 0 3px 0 var(--line); }
.qr-card .qr { flex: none; width: 136px; height: 136px; background: var(--field); border-radius: 16px; padding: 10px; display: flex; align-items: center; justify-content: center; }
.qr-card .qr svg { width: 100%; height: 100%; display: block; }
.qr-nadomestek { font-size: 12px; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.qr-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.qr-txt b { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; }
.qr-txt p { font-size: 14.5px; line-height: 1.45; font-weight: 500; color: var(--muted); }
.qr-txt .qr-cena { font-size: 13px; font-weight: 700; }
.qr-txt .qr-opomba { margin-top: 4px; font-size: 13px; font-weight: 600; background: var(--butter-soft); color: #5C430C; border-radius: 12px; padding: 8px 10px; }


/* =====================================================================
   Vnosna polja in tipkovnica: mehkejše premikanje strani
   ===================================================================== */
/* Ko brskalnik pripelje polje v pogled, naj ostane viden tudi njegov naslov, ne da polje prilepi čisto na rob. */
.input, .textarea { scroll-margin: 88px 0 28px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* Okras pod obrazcem za prijavo (pismo, zvezda): zgoraj je polje, da ga tipkovnica ne prekrije. */
.okras { display: flex; justify-content: center; padding-top: 34px; position: relative; }
