/* M4Q — иллюстрация встроенного браузера: главная (#browser) и features/browser.html.
   Разметку собирает tools/browser-scene.mjs. Схема, а не снимок интерфейса: сайты вымышлены.
   Цикл 12 с: загрузка страницы → реклама пытается появиться → «Щит» убирает её, счётчик растёт.
   Анимируются только transform и opacity; без анимации видна чистая страница и итог счётчика. */

.bw-scene {
  --bw-frame: #e8eaf2; --bw-bar: #ffffff; --bw-page: #ffffff; --bw-omni: #f0f1f6; --bw-skel: #e5e8f0; --bw-tab-ink: #646b80;
  position: relative; isolation: isolate; container: bwscene / inline-size;
}
:root[data-theme="dark"] .bw-scene {
  --bw-frame: #090b12; --bw-bar: #181b28; --bw-page: #0f121b; --bw-omni: #0d0f17; --bw-skel: #22273a; --bw-tab-ink: #8f97ab;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .bw-scene {
    --bw-frame: #090b12; --bw-bar: #181b28; --bw-page: #0f121b; --bw-omni: #0d0f17; --bw-skel: #22273a; --bw-tab-ink: #8f97ab;
  }
}
.bw-scene i, .bw-scene em { font-style: normal; }
.bw-scene .icon { width: 16px; height: 16px; }
.bw-glow {
  position: absolute; inset: 8% 4% -4% 6%; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(50% 50% at 35% 45%, var(--glow-1), transparent 70%), radial-gradient(45% 50% at 75% 60%, var(--glow-2), transparent 70%);
}

/* ——— Окно: вкладки на рамке, панель, адресная строка и «Щит» ——— */
/* Отступы окна от краёв сцены — место под телефон и подписи (контейнер не может менять их сам себе). */
.bw-window { container: bwin / inline-size; margin: 0 11% 8% 0; border-radius: 14px; background-color: var(--bw-page); }
.bw-frame { display: flex; align-items: flex-end; gap: 2px; height: clamp(32px, 4.4cqw, 42px); padding-left: 10px; background-color: var(--bw-frame); color: var(--bw-tab-ink); }
.bw-tab {
  position: relative; display: flex; align-items: center; gap: 8px; flex: 0 1 clamp(130px, 25cqw, 236px); min-width: 0;
  height: calc(100% - 7px); padding: 0 10px; border-radius: 10px 10px 0 0; font-size: clamp(11px, 1.25cqw, 13px); line-height: 1;
}
.bw-tab b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.bw-tab .icon { width: 12px; height: 12px; opacity: .55; }
.bw-tab + .bw-tab:not(.is-active)::before { content: ""; position: absolute; left: -2px; top: 25%; bottom: 25%; width: 1px; background-color: var(--line-strong); }
.bw-tab.is-active { color: var(--ink); background-color: var(--bw-bar); }
.bw-tab.is-active + .bw-tab::before { display: none; }
/* «Лапки» активной вкладки, как у Chrome: вкладка плавно перетекает в панель. */
.bw-tab.is-active::before, .bw-tab.is-active::after { content: ""; position: absolute; bottom: 0; width: 10px; height: 10px; }
.bw-tab.is-active::before { left: -10px; background: radial-gradient(circle at 0 0, transparent 9.5px, var(--bw-bar) 10px); }
.bw-tab.is-active::after { right: -10px; background: radial-gradient(circle at 100% 0, transparent 9.5px, var(--bw-bar) 10px); }
.bw-fav { display: grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 5px; font: 700 9px/1 var(--font-sans); color: #fff; }
.bw-fav.fav-1 { background-image: linear-gradient(135deg, #ff7a59, #ff3d77); }
.bw-fav.fav-2 { background-image: linear-gradient(135deg, #ffb020, #ff6a3d); }
.bw-fav.fav-3 img { width: 14px; height: 12px; }
.bw-newtab { display: grid; place-items: center; flex: none; align-self: center; width: 28px; height: 28px; margin-left: 4px; border-radius: 50%; }
.bw-newtab .icon { width: 15px; height: 15px; }
.bw-frame .window-caption { margin-left: auto; color: var(--bw-tab-ink); }

.bw-toolbar {
  position: relative; display: flex; align-items: center; gap: clamp(8px, 1.1cqw, 14px); height: clamp(38px, 5cqw, 48px);
  padding: 0 clamp(8px, 1.2cqw, 14px); background-color: var(--bw-bar); border-bottom: 1px solid var(--line); color: var(--muted);
  font-size: clamp(11px, 1.3cqw, 14px); line-height: 1;
}
.bw-nav { display: flex; gap: clamp(8px, 1.2cqw, 16px); color: var(--faint); }
.bw-omnibox { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 72%; padding: 0 12px; border-radius: 999px; background-color: var(--bw-omni); border: 1px solid var(--line); }
.bw-lock { display: grid; color: var(--ok); }
.bw-lock .icon { width: 14px; height: 14px; }
.bw-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--faint); }
.bw-url b { font-weight: 600; color: var(--ink); }
.bw-omni-tools { display: flex; align-items: center; gap: 10px; color: var(--faint); }
.bw-omni-tools .icon { width: 15px; height: 15px; }
.bw-translate { display: grid; color: var(--accent); }
.bw-shield {
  position: relative; display: flex; align-items: center; gap: 6px; height: 72%; padding: 0 12px 0 9px; border-radius: 999px;
  color: #fff; background-color: var(--btn-bg); background-image: var(--btn-grad); box-shadow: var(--btn-shadow); font-weight: 700;
}
.bw-shield .icon { width: 15px; height: 15px; }
.bw-shield::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid #7b6cff; opacity: 0; }
.bw-count { display: block; height: 1.2em; min-width: 2ch; overflow: hidden; line-height: 1.2; text-align: center; font-variant-numeric: tabular-nums; }
.bw-reel { display: flex; flex-direction: column; transform: translateY(-3.6em); }
.bw-reel i { height: 1.2em; }
.bw-menu { display: grid; color: var(--faint); }
.bw-menu .icon { stroke-width: 2.6; }
.bw-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.bw-progress i { display: block; height: 100%; background-image: var(--grad-brand); transform-origin: 0 50%; opacity: 0; }

/* ——— Страница сайта: размеры от ширины окна, как у изображения ——— */
.bw-page { position: relative; aspect-ratio: 16 / 8.4; overflow: hidden; padding: 0 3.2cqw; background-color: var(--bw-page); color: var(--ink); }
.bw-page::after { content: ""; position: absolute; inset: 0; z-index: 1; background-color: rgb(8 10 22 / .38); opacity: 0; pointer-events: none; }
.bw-site-head { display: flex; align-items: center; justify-content: space-between; height: 6.2cqw; border-bottom: 1px solid var(--line); }
.bw-logo { display: flex; align-items: center; gap: .9cqw; font: 800 1.7cqw/1 var(--font-display); letter-spacing: -.02em; }
.bw-logo i { width: 2.3cqw; height: 2.3cqw; border-radius: .6cqw; background-image: linear-gradient(135deg, #ff7a59, #ff3d77); }
.bw-site-nav { display: flex; gap: 1.8cqw; }
.bw-site-nav i { width: 5.2cqw; height: .9cqw; border-radius: 1cqw; background-color: var(--bw-skel); }
.bw-page-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 3.2cqw; padding-top: 2.6cqw; }
.bw-article, .bw-side { position: relative; display: flex; flex-direction: column; min-width: 0; }
.bw-kicker { font: 700 1.05cqw/1.2 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.bw-headline { margin-top: .8cqw; font: 700 2.7cqw/1.12 var(--font-display); letter-spacing: -.03em; }
.bw-meta { margin-top: .9cqw; font-size: 1.1cqw; line-height: 1.2; color: var(--faint); }
.bw-photo { position: relative; display: block; margin-top: 1.7cqw; aspect-ratio: 16 / 6.6; overflow: hidden; border-radius: 1.2cqw; }
.bw-photo > i { position: absolute; }
.bw-sky { inset: 0; background-image: linear-gradient(180deg, #6fa4ff 0%, #a9c8ff 46%, #ffd9b8 100%); }
.bw-sun { left: 66%; top: 26%; width: 16%; aspect-ratio: 1; border-radius: 50%; background-image: radial-gradient(circle, #fff8e4 0 30%, #ffd59a 52%, rgb(255 190 120 / 0) 70%); }
.bw-hill { left: -5%; right: -5%; bottom: 0; }
.bw-hill-far { height: 58%; background-color: #7b93e0; clip-path: polygon(0 58%, 12% 34%, 24% 52%, 38% 18%, 52% 46%, 64% 28%, 78% 50%, 90% 30%, 100% 42%, 100% 100%, 0 100%); }
.bw-hill-near { height: 34%; background-color: #3d58b4; clip-path: polygon(0 46%, 16% 22%, 30% 52%, 46% 26%, 60% 56%, 76% 30%, 90% 52%, 100% 38%, 100% 100%, 0 100%); }
.bw-lines { display: grid; gap: .9cqw; margin-top: 1.8cqw; }
.bw-lines i { display: block; height: .95cqw; border-radius: 1cqw; background-color: var(--bw-skel); }
.bw-lines i.short { width: 60%; }
.bw-side { gap: 1.7cqw; }
.bw-side-title { font: 700 1.3cqw/1.2 var(--font-display); }
.bw-card { display: grid; grid-template-columns: 5.6cqw minmax(0, 1fr); gap: 1.2cqw; align-items: center; }
.bw-card .bw-lines { margin-top: 0; gap: .75cqw; }
.bw-card .bw-lines i { height: .8cqw; }
.bw-thumb { display: block; aspect-ratio: 1; border-radius: .9cqw; }
.bw-thumb.t1 { background-image: linear-gradient(135deg, #8fd3c7, #3f9f8f); }
.bw-thumb.t2 { background-image: linear-gradient(135deg, #ffd08a, #f0905a); }
.bw-thumb.t3 { background-image: linear-gradient(135deg, #b9a8ff, #6a5cff); }

/* ——— Реклама: появляется во время загрузки и исчезает под «Щитом» ——— */
/* Баннер лежит в фото статьи, боковая — в колонке «Читайте также»; затемнение от всплывающего окна накрывает обе. */
.bw-ad {
  position: absolute; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: .5cqw;
  padding: 1.4cqw 2cqw; border-radius: 1.2cqw; overflow: hidden; color: #fff; font-size: 1.2cqw; line-height: 1.15; opacity: 0;
  box-shadow: 0 1.2cqw 3cqw -1cqw rgb(110 20 60 / .45);
}
.bw-ad em { align-self: flex-start; padding: .3cqw .7cqw; border-radius: .5cqw; font: 700 .85cqw/1.2 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; background-color: rgb(0 0 0 / .28); }
.bw-ad b { font: 800 2.1cqw/1.08 var(--font-display); letter-spacing: -.02em; }
.bw-ad small { font-size: 1.15cqw; opacity: .92; }
/* Пелена со знаком щита: реклама уже перехвачена, следом она пропадает. */
.bw-ad::after {
  content: ""; position: absolute; inset: 0; opacity: 0; background-color: var(--bw-page);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a5cff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v5c0 4.5 3 8.3 7 10 4-1.7 7-5.5 7-10V6Z'/%3E%3Cpath d='m9 12 2.2 2.2L15.5 10'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: min(42%, 5cqw);
}
.bw-ad-banner { inset: 0; align-items: center; text-align: center; border-radius: inherit; background-image: linear-gradient(120deg, #ff7a3d 0%, #ff2f7e 100%); }
.bw-ad-banner em { align-self: center; }
.bw-ad-side { left: 0; right: 0; top: 3.3cqw; height: 13cqw; background-image: linear-gradient(160deg, #ffbf2f 0%, #ff6a3d 100%); }
.bw-ad-pop {
  z-index: 2; left: 50%; top: 58%; width: 30cqw; align-items: center; gap: .7cqw; padding: 2cqw; text-align: center; transform: translate(-50%, -50%);
  background-image: linear-gradient(140deg, #13c08a 0%, #0f8fe0 100%); box-shadow: 0 2cqw 5cqw -1.5cqw rgb(4 30 60 / .55);
}
.bw-ad-pop em { align-self: center; }
.bw-ad-btn { margin-top: .5cqw; padding: .7cqw 1.8cqw; border-radius: 999px; font: 700 1.2cqw/1 var(--font-sans); color: #2a1a00; background-color: #ffd84d; }

/* ——— Телефон: стартовая страница и нижняя панель, как у Safari ——— */
/* Радиусы считаются от ширины сцены: у маленького телефона скругление не съедает строку состояния. */
.bw-phone { position: absolute; right: 0; bottom: 0; z-index: 3; width: 22%; border-radius: calc(2.6cqw + 5px); }
.bw-screen {
  container: bph / inline-size; position: relative; display: flex; flex-direction: column; aspect-ratio: 1080 / 1951;
  border-radius: calc(2.6cqw - 2px); overflow: hidden; background-color: var(--bw-page); color: var(--ink);
}
.bw-status { display: flex; align-items: center; justify-content: space-between; height: 10cqw; padding: 0 10cqw; font: 700 5cqw/1 var(--font-sans); }
.bw-status span { display: flex; gap: 1.6cqw; }
.bw-status span i { width: 3.4cqw; height: 3.4cqw; border-radius: 1cqw; background-color: currentColor; opacity: .75; }
.bw-status span i:last-child { width: 6.4cqw; }
.bw-start { flex: 1; display: flex; flex-direction: column; gap: 4cqw; min-height: 0; padding: 5cqw 6cqw; overflow: hidden; }
.bw-start-title { font: 700 5.6cqw/1.1 var(--font-display); letter-spacing: -.02em; }
.bw-favs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3.6cqw 3cqw; }
.bw-fav-tile { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.bw-fav-tile i { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 4.6cqw; font: 700 7cqw/1 var(--font-display); color: #fff; }
.bw-fav-tile small { max-width: 100%; margin-top: 1.6cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 3.5cqw; line-height: 1.1; color: var(--muted); }
.tile-1 { background-image: linear-gradient(135deg, #ff7a59, #ff3d77); }
.tile-2 { background-image: linear-gradient(135deg, #5d8bff, #2f5be6); }
.tile-3 { background-image: linear-gradient(135deg, #34c48b, #12907a); }
.tile-4 { background-image: linear-gradient(135deg, #a58bff, #6a4fe8); }
.tile-5 { background-image: linear-gradient(135deg, #ffbf47, #f07a2d); }
.tile-6 { background-image: linear-gradient(135deg, #ff6fb5, #c43f8e); }
.tile-7 { background-image: linear-gradient(135deg, #4cc3ff, #1f86d8); }
.tile-8 { background-image: linear-gradient(135deg, #7ad66b, #3f9e48); }
.bw-chips { display: flex; flex-wrap: wrap; gap: 2cqw; }
.bw-chips i { padding: 1.8cqw 3.4cqw; border-radius: 999px; font: 600 3.6cqw/1 var(--font-sans); color: var(--ink-2); background-color: var(--surface-3); }
.bw-catalog-card {
  display: grid; gap: 1.4cqw; padding: 4.4cqw; border-radius: 5cqw; border: 1px solid var(--accent-line);
  background-color: var(--surface-2); background-image: linear-gradient(135deg, var(--accent-soft), transparent 70%);
}
.bw-catalog-card b { font: 700 5.2cqw/1.1 var(--font-display); }
.bw-catalog-card small { font-size: 3.5cqw; line-height: 1.25; color: var(--muted); }
.bw-safari { display: grid; gap: 3.6cqw; padding: 3.6cqw 4.4cqw 6cqw; background-color: var(--bw-bar); border-top: 1px solid var(--line); }
.bw-safari-addr {
  display: flex; align-items: center; gap: 3cqw; height: 12cqw; padding: 0 4cqw; border-radius: 4cqw;
  background-color: var(--bw-omni); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 3.8cqw; line-height: 1; color: var(--muted);
}
.bw-aa { font: 600 4.2cqw/1 var(--font-sans); color: var(--ink); }
.bw-safari-addr b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-weight: 500; }
.bw-scene .bw-safari-addr .icon { width: 4.6cqw; height: 4.6cqw; }
.bw-safari-row { display: flex; justify-content: space-between; padding: 0 3cqw; color: var(--accent); }
.bw-scene .bw-safari-row .icon { width: 6.4cqw; height: 6.4cqw; }

/* ——— Подписи вокруг окна ——— */
.bw-badge {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; white-space: nowrap;
  border-radius: 999px; font-size: .875rem; font-weight: 600; line-height: 1.2; color: var(--ink);
  background-color: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.bw-badge .icon { color: var(--accent); }
.bw-badge b { color: var(--ok); font-weight: 700; }
.bw-badge-ads { left: -3%; top: 40%; }
.bw-badge-dns { right: 16%; top: -16px; }
.bw-badge-history { left: 7%; bottom: 0; }

@container bwin (max-width: 640px) {
  .bw-tab-3, .bw-site-nav, .bw-omni-tools .icon:last-child { display: none; }
  .bw-tab { flex-basis: 44%; }
  .bw-frame .window-caption i { width: 30px; }
}
/* Узкое окно: одна колонка страницы и крупнее, чтобы текст оставался различимым. */
@container bwin (max-width: 520px) {
  .bw-nav .icon:not(:first-child), .bw-menu, .bw-tab:not(.is-active), .bw-omni-tools { display: none; }
  .bw-tab { flex-basis: 70%; }
  .bw-page { aspect-ratio: 16 / 12; padding-inline: 5cqw; }
  .bw-page-grid { grid-template-columns: minmax(0, 1fr); padding-top: 4cqw; }
  .bw-side { display: none; }
  .bw-site-head { height: 10cqw; }
  .bw-logo { gap: 1.6cqw; font-size: 3.2cqw; }
  .bw-logo i { width: 4cqw; height: 4cqw; border-radius: 1cqw; }
  .bw-kicker, .bw-meta { font-size: 2.2cqw; }
  .bw-headline { margin-top: 1.4cqw; font-size: 4.8cqw; }
  .bw-meta { margin-top: 1.4cqw; }
  .bw-photo { margin-top: 3cqw; border-radius: 2cqw; }
  .bw-lines { gap: 1.8cqw; margin-top: 3.2cqw; }
  .bw-lines i { height: 1.8cqw; }
  .bw-ad { gap: 1cqw; padding: 2.4cqw 3.4cqw; font-size: 2.2cqw; border-radius: 2cqw; }
  .bw-ad em { padding: .5cqw 1.2cqw; font-size: 1.7cqw; border-radius: .8cqw; }
  .bw-ad b { font-size: 3.8cqw; }
  .bw-ad small { font-size: 2.2cqw; }
  .bw-ad-pop { top: 62%; width: 56cqw; padding: 3.6cqw; }
  .bw-ad-btn { margin-top: 1cqw; padding: 1.2cqw 3.2cqw; font-size: 2.2cqw; }
}
@container bwscene (max-width: 760px) {
  .bw-badge-dns, .bw-badge-history { display: none; }
  .bw-badge-ads { left: 8px; top: 0; }
  .bw-window { margin-top: 18px; }
}
@container bwscene (max-width: 560px) {
  .bw-window { margin: 18px 13% 22% 0; }
  .bw-phone { width: 30%; border-radius: calc(3.6cqw + 5px); }
  .bw-screen { border-radius: calc(3.6cqw - 2px); }
  .bw-badge { padding: 7px 12px; font-size: .8125rem; }
  .bw-badge .icon { width: 15px; height: 15px; }
  .bw-frame .window-caption { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .bw-progress i { animation: bw-load 12s var(--ease-in-out) infinite both; }
  .bw-page::after { animation: bw-dim 12s ease-out infinite both; }
  .bw-ad-banner { animation: bw-ad-banner 12s var(--ease-out) infinite both; }
  .bw-ad-side { animation: bw-ad-side 12s var(--ease-out) infinite both; }
  .bw-ad-pop { animation: bw-ad-pop 12s var(--ease-out) infinite both; }
  .bw-ad-banner::after { animation: bw-veil-1 12s ease-out infinite both; }
  .bw-ad-side::after { animation: bw-veil-2 12s ease-out infinite both; }
  .bw-ad-pop::after { animation: bw-veil-3 12s ease-out infinite both; }
  .bw-reel { animation: bw-reel 12s var(--ease-out) infinite both; }
  .bw-shield::after { animation: bw-pulse 12s ease-out infinite both; }
  .bw-badge { animation: bw-float 7s ease-in-out infinite alternate; }
  .bw-badge-dns { animation-duration: 8s; animation-delay: -3s; }
  .bw-badge-history { animation-duration: 9s; animation-delay: -5s; }
  .bw-scene.is-paused :is(.bw-progress i, .bw-ad, .bw-reel, .bw-badge),
  .bw-scene.is-paused .bw-page::after, .bw-scene.is-paused .bw-ad::after, .bw-scene.is-paused .bw-shield::after { animation-play-state: paused; }
}
@keyframes bw-load { 0% { opacity: 1; transform: scaleX(0); } 12% { opacity: 1; transform: scaleX(1); } 16%, 100% { opacity: 0; transform: scaleX(1); } }
@keyframes bw-ad-banner { 0%, 5% { opacity: 0; transform: scale(.94); } 7.5%, 25% { opacity: 1; transform: none; } 28%, 100% { opacity: 0; transform: scale(.92); } }
@keyframes bw-ad-side { 0%, 7.5% { opacity: 0; transform: translateY(8%); } 10%, 33% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: scale(.9); } }
@keyframes bw-ad-pop {
  0%, 11% { opacity: 0; transform: translate(-50%, -44%) scale(.9); }
  13.5%, 41% { opacity: 1; transform: translate(-50%, -50%); }
  44%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.86); }
}
@keyframes bw-dim { 0%, 11% { opacity: 0; } 13.5%, 41% { opacity: 1; } 44%, 100% { opacity: 0; } }
@keyframes bw-veil-1 { 0%, 21% { opacity: 0; } 23.5%, 100% { opacity: 1; } }
@keyframes bw-veil-2 { 0%, 29% { opacity: 0; } 31.5%, 100% { opacity: 1; } }
@keyframes bw-veil-3 { 0%, 37% { opacity: 0; } 39.5%, 100% { opacity: 1; } }
@keyframes bw-reel {
  0%, 23% { transform: translateY(0); }
  25%, 31% { transform: translateY(-1.2em); }
  33%, 39% { transform: translateY(-2.4em); }
  41%, 100% { transform: translateY(-3.6em); }
}
@keyframes bw-pulse {
  0%, 22% { opacity: 0; transform: scale(1); }
  23% { opacity: .9; transform: scale(1); }
  27% { opacity: 0; transform: scale(1.3); }
  30% { opacity: 0; transform: scale(1); }
  31% { opacity: .9; transform: scale(1); }
  35% { opacity: 0; transform: scale(1.3); }
  38% { opacity: 0; transform: scale(1); }
  39% { opacity: .9; transform: scale(1); }
  43%, 100% { opacity: 0; transform: scale(1.3); }
}
@keyframes bw-float { from { transform: translateY(-5px); } to { transform: translateY(5px); } }

/* ——— Страница features/browser.html: сцена в первом экране ——— */
.feature-scene { position: relative; margin: 0; }
.feature-scene figcaption { margin-top: 18px; font-size: .8125rem; color: var(--faint); }
