/* Tolk's splash (pilot 06.10.2026, live format 29.10.2026): the shell's entry splash - the Holonix ground, the live
   sign, the name under it - from the first paint until the sign-in screen or the conversations are ready (app.tsx
   removes it). Sizes and colours are the shell's (#заставкаВхода in холоникс.html). Colours follow the device until
   the shell's view arrives (html[data-hx-tema], set by obolochka.ts before the first app paint). */
#zastavka { --zz: min(180px, 52vw); position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; font-family: Onest, system-ui, sans-serif;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle at 50% 50%, #2c4f3c 0%, #1f3c2e 55%, #152d22 100%), #152d22; color: #e6f2ea; }
#zastavka.ushla { opacity: 0; pointer-events: none; }
#zastavka .z-znak { display: grid; width: var(--zz); height: var(--zz); }
#zastavka .z-znak > * { grid-area: 1 / 1; width: 100%; height: 100%; display: block; }
/* the still sign is shown only when the live one cannot start (shell 03.10.2026: no still picture on the splash) */
#zastavka .z-svet, #zastavka .z-tma { visibility: hidden; }
#zastavka.bez-zhivogo .z-tma { visibility: visible; }
#zastavka .z-zhivoj { opacity: 0; transition: opacity 0.2s ease; filter: brightness(1.3); }
#zastavka.zhivoj .z-zhivoj { opacity: 1; }
#zastavka .z-imya { font-size: 17px; font-weight: 650; line-height: 1; letter-spacing: 0.14em; color: #e6f2ea; }
#zastavka .z-imya b { font-weight: inherit; color: #8fd39a; }
#zastavka .z-podpis { font-size: 14px; color: #b6cbbd; letter-spacing: 0.06em; }

@media (prefers-color-scheme: light) {
  #zastavka { background: radial-gradient(circle at 50% 50%, #e9f4ed 0%, #d3e7da 55%, #bcd6c5 100%), #bcd6c5; }
  #zastavka .z-zhivoj { filter: url(#hvoyaZnakaTolk); }
  #zastavka .z-imya { color: #1d4a33; }
  #zastavka .z-imya b { color: #2f7a4f; }
  #zastavka .z-podpis { color: #3f6450; }
  #zastavka.bez-zhivogo .z-tma { visibility: hidden; }
  #zastavka.bez-zhivogo .z-svet { visibility: visible; }
}
html[data-hx-tema="tma"] #zastavka { background: radial-gradient(circle at 50% 50%, #2c4f3c 0%, #1f3c2e 55%, #152d22 100%), #152d22; }
html[data-hx-tema="tma"] #zastavka .z-zhivoj { filter: brightness(1.3); }
html[data-hx-tema="tma"] #zastavka .z-imya { color: #e6f2ea; }
html[data-hx-tema="tma"] #zastavka .z-imya b { color: #8fd39a; }
html[data-hx-tema="tma"] #zastavka .z-podpis { color: #b6cbbd; }
html[data-hx-tema="tma"] #zastavka.bez-zhivogo .z-svet { visibility: hidden; }
html[data-hx-tema="tma"] #zastavka.bez-zhivogo .z-tma { visibility: visible; }
html[data-hx-tema="svet"] #zastavka { background: radial-gradient(circle at 50% 50%, #e9f4ed 0%, #d3e7da 55%, #bcd6c5 100%), #bcd6c5; }
html[data-hx-tema="svet"] #zastavka .z-zhivoj { filter: url(#hvoyaZnakaTolk); }
html[data-hx-tema="svet"] #zastavka .z-imya { color: #1d4a33; }
html[data-hx-tema="svet"] #zastavka .z-imya b { color: #2f7a4f; }
html[data-hx-tema="svet"] #zastavka .z-podpis { color: #3f6450; }
html[data-hx-tema="svet"] #zastavka.bez-zhivogo .z-tma { visibility: hidden; }
html[data-hx-tema="svet"] #zastavka.bez-zhivogo .z-svet { visibility: visible; }
@media (prefers-reduced-motion: reduce) { #zastavka, #zastavka .z-zhivoj { transition: none; } }
