  @font-face {
    font-family: 'NG Montserrat';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('/styles/default/fonts/montserrat/montserrat-cyrillic-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  }
  @font-face {
    font-family: 'NG Montserrat';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('/styles/default/fonts/montserrat/montserrat-latin-wght-normal.woff2') format('woff2-variations');
    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;
  }

  #ngl {
    --brand: #00ade9;
    --brand-btn: #0a8fd1;
    --brand-soft: #e3f5fc;
    --ink: #071a2b;
    --bg: #eef3f7;
    --card: #ffffff;
    --text: #102233;
    --muted: #5f7184;
    --line: #dce5ed;
    --field: #f6f9fb;
    --danger: #d64545;
    --warn-bg: #fff6df;
    --warn-text: #7a5600;
    --page-bg: radial-gradient(110% 85% at 0% 0%, #cdeaf8 0%, rgba(205,234,248,0) 65%), #eef3f7;
    --hero-head: #0b2236;
    --hero-text: #1d3349;
    --hero-text2: #4a6074;
    --hero-muted: #5f7184;
    --hero-chip: #0b6a95;
    --hero-box-bg: rgba(255,255,255,.72);
    --hero-box-line: #d3e3ee;
    --hero-dot: rgba(16,34,51,.15);
    --hero-link-line: rgba(16,34,51,.3);
    --app-bg: #071a2b;
    --app-line: #071a2b;
  }
  @media (prefers-color-scheme: dark) {
    #ngl:not([data-theme='light']) {
      --bg: #06111c; --card: #0d1d2d; --text: #e4eef6; --muted: #8aa1b5; --line: #1d3247; --field: #0a1825;
      --brand-soft: #0b2a3d; --warn-bg: #2a2210; --warn-text: #f1c86a; --brand-btn: #0b9be0;
      --page-bg: radial-gradient(120% 90% at 0% 0%, #0d3a5c 0%, #071a2b 50%, #06111c 100%);
      --hero-head: #ffffff; --hero-text: #e8f3fa; --hero-text2: #a8bfd0; --hero-muted: #93abbe; --hero-chip: #cfe6f4;
      --hero-box-bg: rgba(255,255,255,.05); --hero-box-line: rgba(255,255,255,.1); --hero-dot: rgba(255,255,255,.2);
      --hero-link-line: rgba(255,255,255,.35); --app-bg: #123049; --app-line: rgba(0,173,233,.45);
    }
  }
  #ngl[data-theme='dark'] {
    --bg: #06111c; --card: #0d1d2d; --text: #e4eef6; --muted: #8aa1b5; --line: #1d3247; --field: #0a1825;
    --brand-soft: #0b2a3d; --warn-bg: #2a2210; --warn-text: #f1c86a; --brand-btn: #0b9be0;
    --page-bg: radial-gradient(120% 90% at 0% 0%, #0d3a5c 0%, #071a2b 50%, #06111c 100%);
    --hero-head: #ffffff; --hero-text: #e8f3fa; --hero-text2: #a8bfd0; --hero-muted: #93abbe; --hero-chip: #cfe6f4;
    --hero-box-bg: rgba(255,255,255,.05); --hero-box-line: rgba(255,255,255,.1); --hero-dot: rgba(255,255,255,.2);
    --hero-link-line: rgba(255,255,255,.35); --app-bg: #123049; --app-line: rgba(0,173,233,.45);
  }

  #ngl {
    position: fixed; inset: 0; z-index: 1030; overflow-y: auto;
    background: var(--page-bg);
    color: var(--text);
    font-family: 'NG Montserrat', 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-align: left;
  }
  #ngl *, #ngl *::before, #ngl *::after { box-sizing: border-box; }
  #ngl a { color: inherit; }
  #ngl a:hover { text-decoration: none; }
  #ngl .hidden { display: none !important; }

  #ngl .ngl-shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100%; }

  #ngl .ngl-brand {
    position: sticky; top: 0; height: 100vh; overflow: hidden;
    background: transparent;
    color: var(--hero-text); padding: 40px 48px; display: flex; flex-direction: column; gap: 28px;
  }
  #ngl .ngl-brand > * { position: relative; }
  #ngl > svg.ngl-fibers { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
  #ngl .ngl-fiber { fill: none; stroke-width: 1.4; }
  #ngl .ngl-pulse { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 90 2600; animation: ngl-run 9s linear infinite; }
  #ngl .ngl-pulse.p2 { animation-duration: 11s; animation-delay: -4s; }
  #ngl .ngl-pulse.p3 { animation-duration: 10s; animation-delay: -7s; }
  #ngl .ngl-pulse.p4 { animation-duration: 13s; animation-delay: -2s; }
  @keyframes ngl-run { from { stroke-dashoffset: 2690; } to { stroke-dashoffset: 0; } }
  @media (prefers-reduced-motion: reduce) { #ngl .ngl-pulse { display: none; } #ngl .ngl-slides { transition: none !important; } }

  #ngl .ngl-logo { display: block; width: 168px; height: auto; }
  #ngl .ngl-logo .mark { fill: var(--brand); }
  #ngl .ngl-logo .word { fill: var(--brand); }

  #ngl .ngl-pitch h1 { font-family: inherit; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin: 0 0 14px; font-weight: 800; letter-spacing: -.4px; max-width: 520px; color: var(--hero-head); }
  #ngl .ngl-pitch h1 span { color: var(--brand); }
  #ngl .ngl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  #ngl .ngl-chips span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--hero-chip); background: rgba(0,173,233,.1); border: 1px solid rgba(0,173,233,.28); padding: 6px 12px; border-radius: 99px; }
  #ngl .ngl-chips svg { color: var(--brand); }

  #ngl .ngl-promo { border-radius: 18px; background: var(--hero-box-bg); border: 1px solid var(--hero-box-line); overflow: hidden; }
  #ngl .ngl-slides { display: flex; transition: transform .5s ease; }
  #ngl .ngl-slide { flex: 0 0 100%; padding: 22px 24px 18px; min-height: 168px; }
  #ngl .ngl-slide .tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
  #ngl .ngl-slide h3 { font-family: inherit; margin: 0 0 6px; font-size: 21px; font-weight: 800; color: var(--hero-head); }
  #ngl .ngl-slide p { margin: 0 0 12px; color: var(--hero-text2); font-size: 14px; line-height: 1.5; max-width: 440px; }
  #ngl .ngl-slide a { font-weight: 700; font-size: 14px; color: var(--hero-head); text-decoration: none; border-bottom: 1px solid var(--hero-link-line); }
  #ngl .ngl-slide.has-pic { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 20px; align-items: center; }
  #ngl .ngl-slide .pic { display: block; width: 100%; height: auto; aspect-ratio: 1080 / 600; object-fit: contain; border-radius: 12px; background: var(--hero-box-line); }
  #ngl .ngl-slide p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  #ngl .ngl-dots { display: flex; gap: 6px; padding: 0 24px 16px; }
  #ngl .ngl-dots button { width: 22px; height: 4px; border-radius: 4px; border: 0; background: var(--hero-dot); cursor: pointer; padding: 0; }
  #ngl .ngl-dots button[aria-current='true'] { background: var(--brand); }

  #ngl .ngl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; }
  #ngl .ngl-stats div { border-left: 2px solid rgba(0,173,233,.5); padding-left: 12px; }
  #ngl .ngl-stats b { display: block; font-size: clamp(17px, 1.6vw, 24px); overflow-wrap: anywhere; font-weight: 800; color: var(--hero-head); }
  #ngl .ngl-stats span { font-size: 12.5px; color: var(--hero-muted); line-height: 1.35; display: block; }

  #ngl .ngl-contacts { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--hero-muted); }
  #ngl .ngl-contacts a { text-decoration: none; color: var(--hero-text); font-weight: 700; }
  #ngl .ngl-contacts a:hover { color: var(--brand); }

  #ngl .ngl-main { position: relative; padding: 88px 40px 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
  #ngl .ngl-topbar { width: calc(100% - 80px); max-width: 460px; display: flex; justify-content: space-between; align-items: center; gap: 8px; position: absolute; top: 24px; left: 50%; transform: translateX(-50%); }
  #ngl .ngl-site { font-size: 13px; color: var(--muted); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
  #ngl .ngl-site:hover { color: var(--text); }
  #ngl .ngl-topbar .right { display: flex; gap: 8px; align-items: center; }
  #ngl .ngl-lang select, #ngl .ngl-chipbtn {
    border: 1px solid var(--line); background: var(--card); color: var(--muted); border-radius: 10px;
    height: 36px; padding: 0 10px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
    display: inline-flex; align-items: center; width: auto; max-width: 170px; box-shadow: none;
  }
  #ngl .ngl-lang .form-group, #ngl .ngl-lang .row { margin: 0; }
  #ngl .ngl-chipbtn:hover { color: var(--text); }

  #ngl .ngl-card { width: 100%; max-width: 460px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px 26px; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 20px 50px -24px rgba(7,26,43,.25); }
  #ngl .ngl-card h2 { font-family: inherit; margin: 0 0 4px; font-size: 25px; font-weight: 800; letter-spacing: -.3px; color: var(--text); }
  #ngl .ngl-sub { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; }

  #ngl .ngl-notice { gap: 10px; align-items: flex-start; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.45; margin-bottom: 16px; background: var(--warn-bg); color: var(--warn-text); }
  #ngl .ngl-errors:empty { display: none; }
  #ngl .ngl-errors .alert, #ngl .ngl-errors .callout { border-radius: 12px; font-size: 14px; margin-bottom: 16px; }

  #ngl .ngl-field { margin-bottom: 14px; }
  #ngl .ngl-field label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 6px; color: var(--text); }
  #ngl .ngl-control { position: relative; }
  #ngl .ngl-control > svg.lead { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
  #ngl .ngl-control input {
    width: 100%; height: 50px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--field); color: var(--text);
    font: inherit; font-size: 16px; padding: 0 46px 0 44px; transition: border-color .15s, box-shadow .15s, background .15s; box-shadow: none;
  }
  #ngl .ngl-control input::placeholder { color: var(--muted); opacity: .75; }
  #ngl .ngl-control input:focus { outline: none; border-color: var(--brand); background: var(--card); box-shadow: 0 0 0 4px rgba(0,173,233,.16); }
  #ngl .ngl-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: transparent; color: var(--muted); border-radius: 9px; cursor: pointer; display: grid; place-items: center; padding: 0; }
  #ngl .ngl-eye:hover { color: var(--text); background: rgba(95,113,132,.1); }

  #ngl .ngl-row { display: flex; justify-content: flex-end; align-items: center; margin: 2px 0 18px; font-size: 14px; min-height: 8px; }
  #ngl a.ngl-link { color: var(--brand-btn); font-weight: 700; text-decoration: none; }
  #ngl a.ngl-link:hover { text-decoration: underline; }

  #ngl .ngl-btn, #ngl #LOGIN_BY_PHONE_CONTAINER .btn-primary {
    width: 100%; height: 52px; border: 0; border-radius: 12px; cursor: pointer; font: inherit; font-size: 16px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--brand-btn); color: #fff; box-shadow: 0 10px 24px -12px rgba(10,143,209,.8);
  }
  #ngl .ngl-btn:hover, #ngl #LOGIN_BY_PHONE_CONTAINER .btn-primary:hover { filter: brightness(.94); }
  #ngl .ngl-btn:active { transform: translateY(1px); }

  #ngl .ngl-alt {
    margin-top: 12px; width: 100%; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--text);
    font: inherit; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer;
  }
  #ngl .ngl-alt:hover { border-color: var(--muted); }

  #ngl .ngl-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  #ngl .ngl-social a { height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--text); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
  #ngl .ngl-social a:hover { border-color: var(--muted); }
  #ngl .ngl-social img { width: 18px; height: 18px; }

  #ngl .ngl-register { text-align: center; margin: 20px 0 0; color: var(--muted); font-size: 14px; }

  #ngl #LOGIN_BY_PHONE_CONTAINER .input-group { margin-bottom: 12px; }
  #ngl #LOGIN_BY_PHONE_CONTAINER .form-control { height: 50px; border-radius: 12px !important; border: 1.5px solid var(--line); background: var(--field); color: var(--text); font: inherit; font-size: 16px; }
  #ngl #LOGIN_BY_PHONE_CONTAINER .input-group-append { display: none; }
  #ngl #LOGIN_BY_PHONE_CONTAINER .btn { margin-bottom: 10px; }
  #ngl #LOGIN_BY_PHONE_CONTAINER .btn-default { width: 100%; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-weight: 700; font-size: 14px; }

  #ngl .ngl-mpromo { display: none; width: 100%; max-width: 460px; background: var(--app-bg); border: 1px solid var(--app-line); color: #e8f3fa; border-radius: 18px; padding: 18px 20px; }
  #ngl .ngl-mpromo .tag { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--brand); }
  #ngl .ngl-mpromo h3 { font-family: inherit; margin: 4px 0 6px; font-size: 18px; font-weight: 800; color: #fff; }
  #ngl .ngl-mpromo a { color: #6fd6f7; font-weight: 700; text-decoration: none; font-size: 14px; }

  #ngl .ngl-apps { width: 100%; max-width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  #ngl .ngl-app { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--app-bg); border: 1px solid var(--app-line); transition: border-color .15s, background .15s; color: #fff; text-decoration: none; font-size: 11.5px; line-height: 1.15; }
  #ngl .ngl-app b { display: block; font-size: 14px; }
  #ngl .ngl-app:hover { border-color: var(--brand); }
  #ngl .ngl-follow { width: 100%; max-width: 460px; display: flex; justify-content: center; gap: 10px; }
  #ngl .ngl-follow a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; color: var(--muted); }
  #ngl .ngl-follow a:hover { color: var(--brand-btn); border-color: var(--brand); }

  #ngl .ngl-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 5; max-width: 560px; margin: 0 auto; background: var(--ink); color: #dbe8f2; border-radius: 14px; padding: 14px 16px; font-size: 13.5px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
  #ngl .ngl-cookie a { color: #6fd6f7; font-weight: 700; }
  #ngl .ngl-cookie button { border: 0; border-radius: 10px; background: var(--brand-btn); color: #fff; font: inherit; font-weight: 700; padding: 8px 16px; cursor: pointer; }

  @media (max-width: 980px) {
    #ngl .ngl-shell { grid-template-columns: 1fr; }
    #ngl .ngl-brand { position: relative; height: auto; padding: 20px 16px 24px; gap: 16px; }
    #ngl .ngl-logo { width: 132px; }
    #ngl .ngl-pitch h1 { font-size: 24px; margin-bottom: 10px; }
    #ngl .ngl-chips span { font-size: 12px; padding: 4px 10px; }
    #ngl .ngl-promo, #ngl .ngl-stats, #ngl .ngl-contacts { display: none; }
    #ngl .ngl-main { padding: 16px 16px 40px; justify-content: flex-start; }
    #ngl .ngl-topbar { position: static; transform: none; width: 100%; }
    #ngl .ngl-card { padding: 24px 18px 20px; }
    #ngl .ngl-mpromo { display: block; }
  }
  @media (max-width: 480px) {
    #ngl .ngl-chips { display: none; }
  }
