/* Переменные тянет и админка: --ink --line --muted --accent --accent-lt --shadow-s --shadow-l не переименовывать. */
:root {
  --ink: #1B211E;
  --paper: #FFFFFF;
  --bg: #F4F5F1;
  --line: #E1E5DE;
  --line-dk: #C9D0C6;
  --muted: #687068;
  --soft: #3D4641;
  --accent: #1E6B47;
  --accent-dk: #17553A;
  --accent-lt: #EAF3EC;
  --accent-md: #DCE9DF;
  --ring: rgba(30, 107, 71, .18);
  --gold: #F3C64F;
  --shadow-s: 0 1px 2px rgba(27, 33, 30, .04), 0 2px 8px rgba(27, 33, 30, .04);
  --shadow-l: 0 16px 40px rgba(27, 33, 30, .14);
  --r: 14px;
  --r-lg: 18px;
  --tap: 48px;
  --band: 120px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: "Golos Text", "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.4;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body {
  background: linear-gradient(180deg, #F6F7F3 0%, #EEF0EA 100%);
  background-attachment: fixed;
}

/* Зелёная полоса за шапкой продолжает героя стартового экрана на всех шагах. */
body { position: relative; }
body::before, body::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: var(--band);
  pointer-events: none;
  border-radius: 0 0 26px 26px;
}
body::before {
  background: linear-gradient(180deg, #17553A 0%, #1B6141 100%);
  box-shadow: 0 10px 30px rgba(23, 85, 58, .18);
}
body::after {
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 90%);
}
body.on-start::before, body.on-start::after { display: none; }

.shell {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  padding: 12px 20px 40px;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

/* -------------------------------------------------------- шапка */
.topbar { flex: 0 0 auto; }
.on-start .topbar { display: none; }

.topbar-row {
  display: grid;
  grid-template-columns: var(--tap) 1fr var(--tap);
  align-items: center;
  height: var(--tap);
}

.brand {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .01em;
}

.stepno {
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .75);
  font-variant-numeric: tabular-nums;
}

.back {
  display: grid;
  place-items: center;
  width: var(--tap); height: var(--tap);
  margin-left: -10px;
  border: 0;
  background: none;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: background .15s;
}
.back:hover { background: rgba(255, 255, 255, .12); }
.back:active { background: rgba(255, 255, 255, .2); }
.back:focus-visible { outline: 3px solid rgba(255, 255, 255, .5); outline-offset: 0; }

.progress { display: flex; gap: 4px; margin-top: 4px; }
.progress i {
  height: 5px; flex: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
  transition: background .3s ease, opacity .3s ease;
}
.progress i.on  { background: #fff; }
.progress i.cur { background: #fff; opacity: .5; }

/* -------------------------------------------------------- экран и переходы */
.view { flex: 1; display: flex; flex-direction: column; padding-top: 72px; }
.on-start .view { padding-top: 0; }

.view.enter-fwd  { animation: enter-fwd .32s var(--ease) both; }
.view.enter-back { animation: enter-back .32s var(--ease) both; }
@keyframes enter-fwd  { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes enter-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

h1 {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 8px;
  text-wrap: balance;
}

.hint { color: var(--muted); font-size: 16px; line-height: 1.4; margin: 0 0 22px; text-wrap: pretty; }

/* -------------------------------------------------------- стартовый экран */
.start { display: flex; flex-direction: column; flex: 1; margin: -12px -20px 0; }

.hero {
  position: relative;
  flex: 0 0 auto;
  height: clamp(240px, 46dvh, 380px);
  background: var(--accent-dk);
  background-image:
    linear-gradient(180deg, #1A5F41 0%, #17553A 100%),
    none;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
}
.hero i {
  position: absolute;
  border-radius: 50%;
  background: #1E6B47;
}
.hero .h1 { width: 110%; aspect-ratio: 1; left: -30%; top: 34%; background: #216F4B; }
.hero .h2 { width: 70%;  aspect-ratio: 1; right: -18%; top: -22%; background: #1C6343; }
.hero .h3 { width: 46%;  aspect-ratio: 1; right: 6%; bottom: -18%; background: #257A54; }
.hero::after {
  /* мелкая сетка точек — намёк на карту, без рисунка */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
}

.start-body { padding: 30px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.start-body h1 { font-size: 30px; margin-bottom: 10px; }
.start-body .lead { font-size: 17px; color: var(--soft); margin: 0 0 26px; line-height: 1.45; text-wrap: pretty; max-width: 34ch; }
.start-btn { margin-top: auto; }
.start-body .note { font-size: 14px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.start-body .consent { font-size: 13px; margin-top: 8px; text-wrap: pretty; }
.start-body .consent a { color: inherit; text-decoration: underline; text-decoration-color: rgba(104, 112, 104, .45); text-underline-offset: 3px; }

/* -------------------------------------------------------- плитки */
.tiles { display: grid; gap: 10px; }

.tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1.5px solid var(--line-dk);
  border-radius: var(--r);
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .12s var(--ease);
}
.tile:hover { border-color: var(--accent); }
.tile:active { transform: scale(.985); background: var(--accent-lt); }
.tile:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }
.tile small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; }
.tile .arrow { color: var(--line-dk); flex: 0 0 auto; transition: color .15s, transform .15s; }
.tile:hover .arrow { color: var(--accent); transform: translateX(2px); }
.tile.selected { background: var(--accent-lt); border-color: var(--accent); }
.tile.selected .arrow { color: var(--accent); }

.list-holder { margin-top: 10px; }
.scrollable { max-height: 60dvh; overflow-y: auto; padding: 4px; margin: -4px; }

/* -------------------------------------------------------- поиск города */
.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  background: var(--paper);
  border: 1.5px solid var(--line-dk);
  border-radius: var(--r);
  padding: 0 16px;
  transition: border-color .15s, box-shadow .15s;
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }
.search svg { color: var(--muted); flex: 0 0 auto; transition: color .15s; }
.search:focus-within svg { color: var(--accent); }
.search input[type="text"] {
  flex: 1;
  border: 0;
  outline: none;
  background: none;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  padding: 15px 0;
  margin: 0;
  color: var(--ink);
  min-width: 0;
}
.search input[type="text"]::placeholder { color: #9AA39B; font-weight: 400; }

.suggest {
  margin-top: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.suggest:empty { display: none; }

.sug {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  width: 100%;
  min-height: var(--tap);
  padding: 11px 16px 12px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  font: inherit;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .12s;
}
.sug:last-child { border-bottom: 0; }
.sug:hover, .sug.active { background: var(--accent-lt); }
.sug:active { background: var(--accent-md); }
.sug:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--ring); }
.sug .nm { font-weight: 500; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.sug .nm b { color: var(--accent); font-weight: 700; }
.sug .rg { font-size: 13.5px; color: var(--muted); line-height: 1.3; }
.sug .tp { color: var(--muted); }

.sug.keep {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sug.keep .nm { font-weight: 400; color: var(--soft); }
.sug.keep .nm b { color: var(--ink); font-weight: 600; }
.sug.keep .arrow { color: var(--accent); flex: 0 0 auto; }

.nores {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.list-holder > .nores { border: 0; padding: 14px 4px; }

/* -------------------------------------------------------- ожидание */
.loading {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 50dvh;
  color: var(--muted);
  font-size: 16px;
}
.loading p { margin: 0; }
.loader { display: flex; gap: 8px; }
.loader i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .25;
  animation: pulse 1.2s ease-in-out infinite;
}
.loader i:nth-child(2) { animation-delay: .2s; }
.loader i:nth-child(3) { animation-delay: .4s; }
@keyframes pulse {
  0%, 70%, 100% { opacity: .25; transform: scale(.85); }
  35% { opacity: 1; transform: scale(1); }
}

/* -------------------------------------------------------- результаты */
.summary { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 22px; }
.chip {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  line-height: 1.3;
}
.chip.edit {
  border-color: transparent;
  background: var(--accent-lt);
  color: var(--accent);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  min-height: 32px;
  transition: background .15s;
}
.chip.edit:hover { background: var(--accent-md); }

.offer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 18px 16px;
  margin-bottom: 12px;
}

.salary {
  display: block;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.offer h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 3px;
  text-wrap: pretty;
}
.offer .employer { font-size: 14.5px; color: var(--muted); margin: 0 0 12px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.tag, .badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  padding: 5px 9px;
  border-radius: 7px;
  color: var(--soft);
  background: #F0F2EC;
}
.badge.remote { background: var(--accent-lt); color: var(--accent); }
.badge.onsite { background: #ECEFF4; color: #3E4C6C; }
.badge.both   { background: #F0F2EC; color: var(--soft); }
.badge.near   { background: #F1EEE3; color: #6E5A25; }
.badge.near svg { width: 14px; height: 14px; }

.offer p.desc { font-size: 15px; color: var(--soft); line-height: 1.45; margin: 0 0 16px; text-wrap: pretty; }

.apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: var(--r);
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, transform .12s var(--ease);
}
.apply:hover { background: var(--accent-dk); }
.apply:active { transform: scale(.985); }
.apply:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ring); }
.apply .arrow { color: rgba(255, 255, 255, .8); }

.extra-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; justify-content: center; }
.extra-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(30, 107, 71, .35);
  text-underline-offset: 3px;
  padding: 6px 0;
}

.section {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dk);
}
.summary + .section { border-top: 0; padding-top: 0; margin-top: 4px; }
.section small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 2px; }

/* -------------------------------------------------------- пусто */
.empty, .card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 18px;
}
.empty p { font-size: 16px; color: var(--soft); margin: 0 0 16px; line-height: 1.45; }

.empty input[type="text"], .empty textarea, .card input[type="text"], .card select {
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  border: 1.5px solid var(--line-dk);
  border-radius: var(--r);
  font: inherit;
  font-size: 17px;
  background: var(--paper);
  color: var(--ink);
  margin-bottom: 10px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; }
.empty input[type="text"]:focus, .empty textarea:focus, .card input[type="text"]:focus, .card select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--ring);
}
.empty input[type="text"]::placeholder, .empty textarea::placeholder, .card input[type="text"]::placeholder { color: #9AA39B; }

.form-err { margin: 12px 0 0; font-size: 14.5px; color: #9A3B2E; }

.done {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--accent-lt);
  border-radius: var(--r-lg);
  padding: 20px 18px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.done svg { flex: 0 0 auto; color: var(--accent); }

.foot { margin-top: 28px; text-align: center; }
.foot button, .link-btn {
  background: none; border: 0; font: inherit; font-size: 15px; font-weight: 500; color: var(--accent);
  cursor: pointer; text-decoration: underline; text-decoration-color: rgba(30, 107, 71, .35);
  text-underline-offset: 3px; padding: 10px 12px; min-height: var(--tap); border-radius: 10px;
}
.foot button:hover, .link-btn:hover { background: var(--accent-lt); }

/* -------------------------------------------------------- кабинет рефералки (cabinet.js) */
.cab-row-link { margin: 6px 0 0; text-align: center; }
.start-body .cab-row-link { margin-top: 2px; }

.after-note {
  font-size: 15px; color: var(--soft); line-height: 1.45; text-align: center;
  margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line-dk); text-wrap: pretty;
}
.after-note + .cab-row-link { margin-top: 0; }

.invite-box {
  margin-top: 12px;
  background: var(--accent-lt);
  border-radius: var(--r-lg);
  padding: 20px 18px 8px;
}
.invite-box p { font-size: 16px; color: var(--ink); margin: 0 0 14px; line-height: 1.45; text-wrap: pretty; }
.invite-box .cab-row-link { margin-top: 4px; }

.cab-balance { margin-bottom: 4px; }
.cab-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.cab-num { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-radius: 12px; background: #F4F6F1; min-width: 0; }
.cab-num b { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; line-height: 1.2; overflow-wrap: anywhere; }
.cab-num span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.cab-num.main { background: var(--accent-lt); }
.cab-num.main b { color: var(--accent); }
.cab-note { font-size: 14px; color: var(--muted); line-height: 1.45; margin: 0 0 14px; text-wrap: pretty; }
.cab-form .cab-note { margin-bottom: 12px; }
.cab-link { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; align-items: flex-start; }
.cab-link code {
  font-size: 13px; color: var(--soft); background: #F4F6F1; border-radius: 8px; padding: 8px 10px;
  width: 100%; overflow-wrap: anywhere; line-height: 1.4;
}
.cab-link .link-btn { padding: 8px 6px; min-height: 36px; font-size: 14px; }
.cab-copied { font-size: 13.5px; color: var(--accent); margin: 2px 0 0; }
.cab-flash { margin-bottom: 14px; }

.cab-empty { font-size: 15px; color: var(--muted); line-height: 1.45; margin: 0; text-wrap: pretty; }
.cab-sub { font-size: 14px; font-weight: 600; color: var(--muted); margin: 16px 0 8px; }
.cab-list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cab-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.cab-item:last-child { border-bottom: 0; }
.cab-item-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cab-item-main b { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.cab-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: 0 0 auto; }
.cab-item-side b { font-size: 15px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.cab-item-side small { font-size: 12.5px; color: var(--muted); }

.st { display: inline-flex; align-self: flex-start; font-size: 12.5px; font-weight: 500; line-height: 1.3; padding: 4px 8px; border-radius: 7px; color: var(--soft); background: #F0F2EC; }
.st-form, .st-click { background: #ECEFF4; color: #3E4C6C; }
.st-lead, .st-interview, .w-new { background: #F1EEE3; color: #6E5A25; }
.st-hired, .w-paid { background: var(--accent-lt); color: var(--accent); }
.st-rejected, .w-declined { background: #F6ECEA; color: #9A3B2E; }

.fld-label { display: block; font-size: 13.5px; color: var(--muted); margin: 0 0 6px; font-weight: 500; }
.cab-form .apply { margin-top: 4px; }
.card select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23687068' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }

@media (prefers-reduced-motion: reduce) {
  .view.enter-fwd, .view.enter-back { animation: none; }
  .loader i { animation: none; opacity: .7; }
  * { transition: none !important; }
}

/* ======================================================== ВАРИАНТЫ ГРАФИКИ (временно, выбрать один) */
.shell::after {
  content: "";
  position: fixed; right: 0; bottom: 0;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: right bottom;
}
.on-start .shell::after { display: none; }

/* 1 — «карта»: изолинии рельефа на полосе, их же эхо в углу светлой части */
body.bg-1::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 120' preserveAspectRatio='xMidYMid slice' fill='none' stroke='%23fff' stroke-opacity='.17' stroke-width='1.1'%3E%3Cpath d='M-30 96c40-32 78-8 120-30s62-52 112-40 72 42 112 20 62-30 86-18'/%3E%3Cpath d='M-30 118c50-32 90-3 132-25s64-56 122-46 74 46 112 26 54-24 84-14'/%3E%3Cpath d='M-30 74c36-24 70-6 108-26s60-46 106-36 66 36 104 16 56-26 82-16'/%3E%3Cpath d='M262 132c-22-42 8-74 50-74s72 32 60 74'/%3E%3Cpath d='M282 132c-12-30 10-52 32-52s46 22 40 52'/%3E%3Cpath d='M300 132c-4-16 8-28 16-28s22 12 18 28'/%3E%3Cpath d='M28-14C-6 8-8 50 24 62s74-8 64-40S60-32 28-14z'/%3E%3Cpath d='M40 2c-18 12-18 36 0 42s42-6 36-24S58-8 40 2z'/%3E%3C/svg%3E");
  background-size: cover;
  mask-image: none; -webkit-mask-image: none;
}
body.bg-1 .shell::after {
  width: 300px; height: 240px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 240' fill='none' stroke='%231E6B47' stroke-opacity='.13' stroke-width='1.1'%3E%3Cpath d='M-10 200c40-30 80-8 120-28s60-50 110-40 70 40 110 20'/%3E%3Cpath d='M-10 230c50-30 90-3 130-23s62-56 120-46 74 46 110 26'/%3E%3Cpath d='M0 170c36-24 70-6 108-26s60-46 106-36 66 36 100 16'/%3E%3Cpath d='M200 250c-22-42 8-74 50-74s72 32 60 74'/%3E%3Cpath d='M220 250c-12-30 10-52 32-52s46 22 40 52'/%3E%3Cpath d='M238 250c-4-16 8-28 16-28s22 12 18 28'/%3E%3C/svg%3E");
  background-size: contain;
}

/* 2 — «город»: силуэт крыш по низу полосы, маршрут с точкой на светлой части */
body.bg-2::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 120' preserveAspectRatio='xMidYMax slice' fill='%23fff' fill-opacity='.09'%3E%3Crect x='-20' y='90' width='52' height='30'/%3E%3Crect x='40' y='72' width='22' height='48'/%3E%3Crect x='68' y='98' width='48' height='22'/%3E%3Crect x='122' y='62' width='18' height='58'/%3E%3Crect x='146' y='86' width='30' height='34'/%3E%3Crect x='182' y='78' width='40' height='42'/%3E%3Crect x='228' y='94' width='26' height='26'/%3E%3Crect x='260' y='68' width='20' height='52'/%3E%3Crect x='286' y='88' width='44' height='32'/%3E%3Crect x='336' y='76' width='60' height='44'/%3E%3Crect x='128' y='54' width='6' height='8'/%3E%3Crect x='266' y='60' width='8' height='8'/%3E%3Crect x='-20' y='114' width='420' height='6' fill-opacity='.16'/%3E%3C/svg%3E");
  background-size: cover;
  mask-image: none; -webkit-mask-image: none;
}
body.bg-2 .shell::after {
  width: 320px; height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 200' fill='none' stroke='%231E6B47' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M-10 190c60-10 90-60 140-70s80 20 120-10 40-50 60-70' stroke-opacity='.16' stroke-dasharray='2 7'/%3E%3Ccircle cx='310' cy='40' r='5' stroke-opacity='.3'/%3E%3Ccircle cx='310' cy='40' r='13' stroke-opacity='.12'/%3E%3Ccircle cx='130' cy='120' r='4' stroke-opacity='.22'/%3E%3C/svg%3E");
  background-size: contain;
}

/* 3 — «круги»: круги из героя переходят на полосу, их тени — на светлую часть */
body.bg-3::after {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 120' preserveAspectRatio='xMidYMid slice'%3E%3Ccircle cx='312' cy='-14' r='92' fill='%23fff' fill-opacity='.055'/%3E%3Ccircle cx='250' cy='118' r='58' fill='%23fff' fill-opacity='.05'/%3E%3Ccircle cx='38' cy='124' r='84' fill='%23fff' fill-opacity='.06'/%3E%3Ccircle cx='120' cy='-30' r='60' fill='%23fff' fill-opacity='.04'/%3E%3C/svg%3E"),
    radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.5px);
  background-size: cover, 22px 22px;
  mask-image: none; -webkit-mask-image: none;
}
body.bg-3 .shell::after {
  width: 320px; height: 300px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 300'%3E%3Ccircle cx='250' cy='250' r='150' fill='%231E6B47' fill-opacity='.045'/%3E%3Ccircle cx='330' cy='120' r='90' fill='%231E6B47' fill-opacity='.04'/%3E%3Ccircle cx='150' cy='300' r='70' fill='%231E6B47' fill-opacity='.035'/%3E%3C/svg%3E");
  background-size: contain;
}
