/* Страницы Relikt для новых людей и поисковиков (/cloud, /browser, /help…) — без скриптов */
:root { --bg: #f5f5f7; --surface: #fff; --text: #111; --t2: #555; --t3: #8a8a8a; --line: rgba(0,0,0,.08); --acc: #111; --on-acc: #fff; --yel: #ffcc00; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --bg: #0e0e0e; --surface: #18181b; --text: #f2f2f2; --t2: #b4b4b8; --t3: #808086; --line: rgba(255,255,255,.08); --acc: #fff; --on-acc: #111; color-scheme: dark; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: clamp(1.0625rem, calc(0.9532rem + 0.1214vw), 1.1475rem)/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
main { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 18px; padding: 12px max(20px, calc(50% - 540px)); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: clamp(1.1875rem, calc(1.0654rem + 0.1357vw), 1.2825rem); text-decoration: none; letter-spacing: -.02em; }
.nav nav { flex: 1; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav nav a { padding: 6px 11px; border-radius: 999px; text-decoration: none; color: var(--t2); font-size: clamp(0.9062rem, calc(0.813rem + 0.1036vw), 0.9788rem); font-weight: 550; white-space: nowrap; }
.nav nav a:hover, .nav nav a[aria-current] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.cta { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 999px; background: var(--acc); color: var(--on-acc); text-decoration: none; font-weight: 700; font-size: clamp(1rem, calc(0.8971rem + 0.1143vw), 1.08rem); white-space: nowrap; transition: transform .15s; }
.cta:hover { transform: translateY(-1px); }
.cta.sm { padding: 8px 16px; font-size: clamp(0.875rem, calc(0.785rem + 0.1000vw), 0.945rem); }
.ghost { display: inline-flex; padding: 13px 22px; border-radius: 999px; text-decoration: none; font-weight: 650; box-shadow: inset 0 0 0 1.5px var(--line); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 64px 0 40px; }
.hero.help { grid-template-columns: 1fr; padding-bottom: 10px; }
h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 18px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--t2); margin: 0 0 26px; max-width: 34em; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.note { color: var(--t3); font-size: clamp(0.875rem, calc(0.785rem + 0.1000vw), 0.945rem); margin: 14px 0 0; }
.shot { width: 100%; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.18), 0 0 0 1px var(--line); }
.shot.small { width: 200px; justify-self: center; box-shadow: none; border-radius: 44px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 30px 0; }
.grid article { background: var(--surface); border-radius: 20px; padding: 22px 22px 18px; box-shadow: 0 0 0 1px var(--line); }
.grid h2 { font-size: clamp(1.1875rem, calc(1.0654rem + 0.1357vw), 1.2825rem); margin: 0 0 8px; letter-spacing: -.01em; }
.grid h2::before { content: ''; display: block; width: 26px; height: 4px; border-radius: 4px; background: var(--yel); margin-bottom: 14px; }
.grid p { margin: 0; color: var(--t2); font-size: clamp(0.9688rem, calc(0.8691rem + 0.1107vw), 1.0463rem); }
.faq { max-width: 760px; padding: 30px 0; }
.faq h2, .more h2 { font-size: clamp(1.375rem, calc(1.2196rem + 0.6630vw), 1.96rem); letter-spacing: -.02em; margin: 0 0 14px; }
details { background: var(--surface); border-radius: 16px; padding: 4px 20px; margin-bottom: 8px; box-shadow: 0 0 0 1px var(--line); }
summary { cursor: pointer; font-weight: 650; padding: 14px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--t3); font-weight: 400; }
details[open] summary::after { content: '−'; }
details p { margin: 0 0 16px; color: var(--t2); }
.more { padding: 30px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards a { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border-radius: 20px; padding: 20px; text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: transform .15s; }
.cards a:hover { transform: translateY(-2px); }
.cards span { color: var(--t2); font-size: clamp(0.9375rem, calc(0.8411rem + 0.1071vw), 1.0125rem); }
.end { text-align: center; padding: 60px 20px 70px; margin: 30px 0 0; background: var(--surface); border-radius: 28px; box-shadow: 0 0 0 1px var(--line); }
.end h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.03em; margin: 0 0 10px; }
.end p { color: var(--t2); margin: 0 0 24px; }
/* справка */
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0 30px; }
.toc a { padding: 7px 13px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-decoration: none; font-size: clamp(0.875rem, calc(0.785rem + 0.1000vw), 0.945rem); font-weight: 550; }
.chapter { background: var(--surface); border-radius: 22px; padding: 26px 30px 10px; margin-bottom: 16px; box-shadow: 0 0 0 1px var(--line); scroll-margin-top: 80px; }
.chapter h2 { font-size: clamp(1.1875rem, calc(1.058rem + 0.5525vw), 1.68rem); margin: 0 0 12px; letter-spacing: -.02em; }
.chapter ol { margin: 0; padding-left: 22px; }
.chapter li { margin-bottom: 16px; }
.chapter li::marker { color: var(--t3); font-weight: 700; }
.chapter h3 { font-size: clamp(1.0625rem, calc(0.9532rem + 0.1214vw), 1.1475rem); margin: 0 0 4px; }
.chapter p { margin: 0; color: var(--t2); font-size: clamp(1rem, calc(0.8971rem + 0.1143vw), 1.08rem); }
/* подвал */
.foot { max-width: 1120px; margin: 50px auto 0; padding: 30px 20px 40px; border-top: 1px solid var(--line); color: var(--t2); font-size: clamp(0.9062rem, calc(0.813rem + 0.1036vw), 0.9788rem); }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.foot b { display: block; color: var(--text); margin-bottom: 8px; }
.foot .cols div > a:not(.brand) { display: block; text-decoration: none; padding: 3px 0; }
.foot .cols div > a:not(.brand):hover { color: var(--text); }
.foot .copy { color: var(--t3); margin-top: 26px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 26px; }
  .grid, .cards { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .foot .cols { grid-template-columns: 1fr; }
  .chapter { padding: 20px 18px 6px; }
}

/* ---------- /browser — страница скачивания (как у Chrome) ---------- */
/* нарисованное окно браузера */
.bm { width: min(980px, 100%); border-radius: 14px; overflow: hidden; background: #121318; color: #ececf1; box-shadow: 0 40px 100px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06); font-size: clamp(0.8125rem, calc(0.7289rem + 0.0929vw), 0.8775rem); text-align: left; }
.bm-top { display: flex; align-items: flex-end; gap: 4px; height: 40px; padding: 0 10px; background: #121318; }
.bm-dots { display: flex; gap: 7px; margin: 0 14px 14px 4px; }
.bm-dots b { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.bm-dots b:nth-child(2) { background: #febc2e; } .bm-dots b:nth-child(3) { background: #28c840; }
.bm-tab { display: flex; align-items: center; gap: 8px; width: 190px; height: 30px; padding: 0 12px; border-radius: 10px 10px 0 0; color: #a1a1aa; white-space: nowrap; overflow: hidden; }
.bm-tab.on { background: #262730; color: #ececf1; box-shadow: inset 0 -2px 0 #ffcc00; }
.bm-tab.grp { box-shadow: inset 0 -2px 0 #30d158; }
.bm-tab img { width: 16px; height: 16px; border-radius: 4px; }
.bm-fav { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.bm-plus { color: #a1a1aa; padding: 0 10px 8px; font-size: clamp(1.125rem, calc(1.0093rem + 0.1286vw), 1.215rem); }
.bm-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; background: #1b1c22; }
.bm-nav { color: #6e6e78; letter-spacing: 6px; font-size: clamp(1.125rem, calc(1.0093rem + 0.1286vw), 1.215rem); }
.bm-omni { flex: 1; height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 10px; background: #0d0e12; color: #6e6e78; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.bm-lock { font-size: clamp(0.6875rem, calc(0.6168rem + 0.0786vw), 0.7425rem); opacity: .6; }
.bm-relikt { width: 24px; height: 24px; border-radius: 7px; background: #000; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.bm-relikt svg { width: 15px; height: 15px; fill: #fff; stroke: none; }
.bm-ava { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #5AB0FF, #1F6BFF); color: #fff; font-weight: 700; font-size: clamp(0.75rem, calc(0.6729rem + 0.0857vw), 0.81rem); box-shadow: 0 0 0 2px #1b1c22, 0 0 0 3.5px #ffcc00; }
.bm-page { padding: 56px 20px 60px; display: flex; flex-direction: column; align-items: center; gap: 16px; background: radial-gradient(closest-side at 50% 0%, rgba(255,204,0,.10), transparent 70%), #121318; }
.bm-logo { display: flex; align-items: center; gap: 12px; font-size: clamp(1.5625rem, calc(1.3812rem + 0.7735vw), 2.24rem); font-weight: 800; letter-spacing: -.03em; }
.bm-logo img { width: 46px; height: 46px; border-radius: 13px; background: #1c1c1e; padding: 8px; }
.bm-search { width: min(520px, 90%); height: 46px; border-radius: 14px; background: #1b1c22; display: flex; align-items: center; padding: 0 18px; color: #6e6e78; font-size: clamp(0.9375rem, calc(0.8411rem + 0.1071vw), 1.0125rem); box-shadow: 0 0 0 1px rgba(255,255,255,.07); }
.bm-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.bm-chips span { padding: 4px 10px; border-radius: 999px; color: #a1a1aa; font-size: clamp(0.75rem, calc(0.6729rem + 0.0857vw), 0.81rem); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.bm-chips .on { color: #fff; box-shadow: inset 0 0 0 1.5px #ffcc00; }
.bm-dock { display: flex; gap: 14px; padding: 12px 16px; border-radius: 18px; background: #1b1c22; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); margin-top: 10px; }
.bm-dock i { width: 40px; height: 40px; display: block; }
.bm-dock svg { width: 40px; height: 40px; display: block; }
.bp-all { padding: 30px 0; text-align: center; }
.bp-all h2 { font-size: clamp(1.4375rem, calc(1.2562rem + 0.7735vw), 2.1rem); letter-spacing: -.02em; margin: 0 0 18px; }
.bp-files { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; max-width: 900px; margin: 0 auto 14px; }
.bp-files a { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; background: var(--surface); text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: transform .15s; }
.bp-files a:hover { transform: translateY(-2px); }
.bp-files span { color: var(--t3); font-size: clamp(0.8438rem, calc(0.757rem + 0.0964vw), 0.9113rem); }
@media (max-width: 860px) {
  .bm-tab:not(.on) { display: none; }
  .bm-dock { gap: 8px; } .bm-dock i, .bm-dock svg { width: 32px; height: 32px; }
}

.bp-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.bp-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-height: 380px; padding: 34px 34px 0; border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.bp-card:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--yel) 55%, transparent), 0 20px 50px rgba(0,0,0,.12); transform: translateY(-2px); }
.bp-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 160px; background: radial-gradient(closest-side at 15% 0%, color-mix(in srgb, var(--yel) 9%, transparent), transparent); pointer-events: none; }
.bp-card.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 330px; padding-bottom: 34px; }
.bp-card.wide .bp-ct { flex: 1; } .bp-card.wide .bp-art { flex: 1.15; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.bp-tag { display: block; font-size: clamp(0.7812rem, calc(0.7009rem + 0.0893vw), 0.8438rem); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--t3); margin-bottom: 12px; }
.bp-card h3 { font-size: clamp(23px, 2.5vw, 30px); line-height: 1.18; letter-spacing: -.025em; margin: 0 0 12px; }
.bp-card p { margin: 0; color: var(--t2); font-size: clamp(1rem, calc(0.8971rem + 0.1143vw), 1.08rem); }
.bp-art { position: relative; font-size: clamp(0.8438rem, calc(0.757rem + 0.0964vw), 0.9113rem); line-height: 1.4; }
.bp-card:not(.wide) .bp-art { margin: 0 -6px; padding-bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bp-faq { margin: 50px auto 0; }
/* живые картинки: подсказка пароля появляется, загрузки по очереди уходят в облако */
@media (prefers-reduced-motion: no-preference) {
  .ma-drop.anim { animation: bp-drop 5s ease-in-out infinite; transform-origin: top; }
  @keyframes bp-drop { 0%, 12% { opacity: 0; transform: translateY(-6px) scaleY(.96); } 20%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
  .ma-dl.anim em { animation: bp-up 4.5s ease-in-out infinite both; }
  .ma-dl.anim > div:nth-of-type(2) em { animation-delay: .6s; } .ma-dl.anim > div:nth-of-type(3) em { animation-delay: 1.2s; }
  @keyframes bp-up { 0%, 15% { opacity: 0; transform: translateX(-10px); } 30%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
  .ma-ring { animation: bp-ring 30s linear infinite; }
  @keyframes bp-ring { from { background: conic-gradient(#30d158 0 100%, #2b2c35 100%); } to { background: conic-gradient(#30d158 0 0%, #2b2c35 0%); } }
}
/* нарисованные кусочки интерфейса (всегда тёмные — как скриншоты браузера) */
.bp-art > div { --mb: #17181d; --ml: rgba(255,255,255,.08); --mt: #ececf1; --m2: #9a9aa4; background: var(--mb); color: var(--mt); border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.22), 0 0 0 1px var(--ml); }
.bp-art svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bp-art .ma-note { background: none; box-shadow: none; color: var(--t2); font-size: clamp(0.875rem, calc(0.785rem + 0.1000vw), 0.945rem); text-align: center; }
.bp-art small { color: var(--m2); }
.ma-bar { display: flex; align-items: center; gap: 10px; padding: 10px; width: min(460px, 100%); }
.ma-omni { flex: 1; padding: 8px 12px; border-radius: 10px; background: #0d0e12; color: var(--m2); }
.ma-pill { display: flex; align-items: center; gap: 8px; padding: 7px 8px 7px 12px; border-radius: 999px; background: #1f3b6e; color: #cfe0ff; white-space: nowrap; }
.ma-pill b { background: #8ab4ff; color: #0b1a33; padding: 4px 10px; border-radius: 999px; font-size: clamp(0.7812rem, calc(0.7009rem + 0.0893vw), 0.8438rem); }
.ma-list, .ma-tabs, .ma-dl, .ma-ctx, .ma-tools { width: min(420px, 100%); padding: 8px; }
.ma-list > div, .ma-tabs > div, .ma-dl > div { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; }
.ma-list > div + div, .ma-tabs > div + div, .ma-dl > div + div { border-top: 1px solid var(--ml); }
.ma-list b, .ma-dl > div { flex: 1; font-weight: 600; }
.ma-list i, .ma-tabs i { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #ffcc00; }
.bp-art i.g { background: #30d158; } .bp-art i.b { background: #4a90ff; } .bp-art i.p { background: #bf5af2; } .bp-art i.y { background: #ffcc00; }
.ma-tabs b { flex: 1; }
.ma-tabs > div { font-weight: 600; } .ma-tabs > div small { font-weight: 500; }
.ma-tabs .z { opacity: .55; } .ma-tabs .z small { color: #6fdc8c; opacity: 1; }
.ma-start { padding: 26px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(420px, 100%); background: radial-gradient(closest-side at 50% 0%, rgba(255,204,0,.12), transparent 70%), var(--mb) !important; }
.ma-logo { display: flex; align-items: center; gap: 8px; font-size: clamp(1.125rem, calc(1.0214rem + 0.4420vw), 1.54rem); font-weight: 800; }
.ma-logo img { width: 30px; height: 30px; border-radius: 9px; background: #222; padding: 5px; }
.ma-search { width: 100%; padding: 10px 14px; border-radius: 12px; background: #22232a; color: var(--m2); }
.ma-chips { display: flex; gap: 6px; } .ma-chips span { padding: 3px 9px; border-radius: 999px; font-size: clamp(0.75rem, calc(0.6729rem + 0.0857vw), 0.81rem); color: var(--m2); box-shadow: inset 0 0 0 1px var(--ml); } .ma-chips .on { color: #fff; box-shadow: inset 0 0 0 1.5px #ffcc00; }
.ma-split { display: grid; grid-template-columns: 1fr 210px; width: min(540px, 100%); min-height: 250px; overflow: hidden; }
.ma-web { padding: 22px; display: flex; flex-direction: column; gap: 10px; background: #f4f4f6; }
.ma-web i { height: 10px; border-radius: 5px; background: #dcdce2; } .ma-web i.s { width: 60%; }
.ma-panel { padding: 14px; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--ml); }
.ma-panel > b { font-size: clamp(0.8125rem, calc(0.7289rem + 0.0929vw), 0.8775rem); } .ma-panel .mt { margin-top: 6px; }
.ma-nt { padding: 9px 10px; border-radius: 10px; background: #22232a; display: flex; flex-direction: column; gap: 2px; } .ma-nt b { font-size: clamp(0.8125rem, calc(0.7289rem + 0.0929vw), 0.8775rem); }
.ma-ev { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: rgba(74,144,255,.16); font-size: clamp(0.7812rem, calc(0.7009rem + 0.0893vw), 0.8438rem); }
.ma-ev i { width: 3px; height: 16px; border-radius: 2px; background: #4a90ff; } .ma-ev.g { background: rgba(48,209,88,.15); } .ma-ev.g i { background: #30d158; }
.ma-chat { width: min(400px, 100%); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ma-chat .u { align-self: flex-end; max-width: 80%; padding: 9px 12px; border-radius: 14px 14px 4px 14px; background: #2b2c35; }
.ma-chat .b { line-height: 1.55; color: #d8d8de; }
.ma-devs { display: flex !important; align-items: center; justify-content: center; gap: 14px; padding: 22px; width: min(420px, 100%); }
.ma-dev { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 600; font-size: clamp(0.8125rem, calc(0.7289rem + 0.0929vw), 0.8775rem); }
.ma-scr { width: 110px; height: 70px; border-radius: 8px; background: #0d0e12; box-shadow: inset 0 0 0 1px var(--ml); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.ma-scr i { height: 7px; border-radius: 4px; background: #ffcc00; } .ma-scr i:nth-child(2) { width: 70%; background: #4a90ff; } .ma-scr i:nth-child(3) { width: 45%; background: #30d158; }
.ma-arrow { color: #ffcc00; } .ma-arrow svg { width: 26px; height: 26px; }
.ma-login { width: min(360px, 100%); padding: 18px; display: flex; flex-direction: column; gap: 9px; background: #fff !important; color: #111 !important; }
.ma-login > b { font-size: clamp(1.125rem, calc(1.0732rem + 0.2210vw), 1.4rem); } .ma-login > small { color: #888; }
.ma-in { padding: 10px 12px; border-radius: 9px; box-shadow: inset 0 0 0 1.5px #c9c9d1; color: #333; }
.ma-in:first-of-type { box-shadow: inset 0 0 0 2px #1a73e8; }
.ma-drop { margin-top: -4px; padding: 10px; border-radius: 12px; background: #17181d; color: #ececf1; box-shadow: 0 14px 30px rgba(0,0,0,.3); display: flex; flex-direction: column; gap: 8px; }
.ma-drop > div { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; background: #262730; }
.ma-drop em { margin-left: auto; color: #8a8a94; font-style: normal; letter-spacing: 1px; }
.ma-key { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #ffcc00; color: #111; }
.ma-code { position: relative; width: min(300px, 100%); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.ma-code b { font-size: clamp(1.875rem, calc(1.6678rem + 0.8840vw), 2.66rem); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.ma-ring { position: absolute; right: 20px; bottom: 24px; width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(#30d158 0 70%, #2b2c35 70%); }
.ma-ring::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--mb); }
.ma-stats { display: flex !important; align-items: center; gap: 22px; padding: 22px 24px; width: min(360px, 100%); }
.ma-stats > div:first-child { flex: 1; } .ma-stats b { display: block; font-size: clamp(1.75rem, calc(1.5428rem + 0.8840vw), 2.52rem); letter-spacing: -.02em; }
.ma-shield { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: #30d158; color: #062c12; }
.ma-shield svg { width: 30px; height: 30px; }
.ma-perm { width: min(340px, 100%); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.ma-perm span { display: flex; justify-content: flex-end; gap: 8px; } .ma-perm em { font-style: normal; padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ml); font-weight: 600; }
.ma-perm em.on { background: #8ab4ff; color: #0b1a33; box-shadow: none; }
.ma-tools { display: flex !important; flex-wrap: wrap; gap: 8px; padding: 16px; }
.ma-tools span { padding: 9px 13px; border-radius: 999px; background: #262730; font-weight: 600; }
.ma-dl > b { display: block; padding: 6px 10px 4px; }
.ma-dl em { margin-left: auto; display: flex; align-items: center; gap: 5px; font-style: normal; font-weight: 600; font-size: clamp(0.7812rem, calc(0.7009rem + 0.0893vw), 0.8438rem); color: #c4a1ff; white-space: nowrap; }
.ma-file { flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: #ff453a; color: #fff; font-size: clamp(0.625rem, calc(0.5607rem + 0.0714vw), 0.675rem); font-weight: 800; }
.ma-file.g { background: #30d158; } .ma-file.b { background: #4a90ff; }
.ma-ctx { width: min(300px, 100%); padding: 6px; }
.ma-ctx > div { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: #d8d8de; }
.ma-ctx > div.on { background: #6c2bd9; color: #fff; font-weight: 600; }
@media (max-width: 860px) {
  .bp-cards { grid-template-columns: 1fr; }
  .bp-card, .bp-card.wide { flex-direction: column; align-items: stretch; padding: 26px 22px 0; min-height: 0; border-radius: 24px; }
  .bp-card.wide { padding-bottom: 26px; }
  .ma-split { grid-template-columns: 1fr 170px; }
}

/* ---------- /browser: тёмная страница-история, всегда в одной гамме с самим браузером ---------- */
body.bp { --bg: #07070a; --surface: #131317; --text: #f4f4f6; --t2: #b4b4bc; --t3: #7c7c86; --line: rgba(255,255,255,.08); --acc: #ffcc00; --on-acc: #111; color-scheme: dark; overflow-x: hidden; }
.bp .nav .cta { background: #fff; color: #111; }
.bp em { font-style: normal; }
.bp-glow { position: absolute; z-index: -1; inset: -140px -30% auto; height: 760px; pointer-events: none; background: radial-gradient(closest-side at 50% 38%, rgba(255,204,0,.22), rgba(255,140,0,.06) 55%, transparent), radial-gradient(closest-side at 18% 70%, rgba(74,144,255,.10), transparent); }
/* первый экран */
.bp-hero { position: relative; isolation: isolate; text-align: center; padding: 72px 0 34px; display: flex; flex-direction: column; align-items: center; }
.bp-pill { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 26px; padding: 6px 14px 6px 7px; border-radius: 999px; font-size: clamp(0.875rem, calc(0.785rem + 0.1000vw), 0.945rem); font-weight: 600; color: var(--t2); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); }
.bp-pill img { border-radius: 6px; }
.bp-hero h1 { font-size: clamp(42px, 8vw, 92px); line-height: .98; letter-spacing: -.05em; margin: 0 0 24px; }
.bp-hero h1 em { background: linear-gradient(100deg, #ffe066, #ffcc00 40%, #ff9f0a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bp-hero .lead { margin: 0 auto 32px; max-width: 32em; text-align: center; }
.bp-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.bp-dl { padding: 17px 34px; font-size: clamp(1.125rem, calc(1.0093rem + 0.1286vw), 1.215rem); box-shadow: 0 10px 40px rgba(255,204,0,.35), inset 0 -2px 0 rgba(0,0,0,.12); }
.bp-dl:hover { box-shadow: 0 14px 50px rgba(255,204,0,.5), inset 0 -2px 0 rgba(0,0,0,.12); }
.bp-dl.off { opacity: .55; pointer-events: none; }
.bp-ghost { display: inline-flex; align-items: center; padding: 17px 26px; border-radius: 999px; text-decoration: none; font-weight: 650; font-size: clamp(1.0625rem, calc(0.9532rem + 0.1214vw), 1.1475rem); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.16); transition: background .15s; }
.bp-ghost:hover { background: rgba(255,255,255,.06); }
.bp-os a { color: var(--t2); }
.bp-trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: var(--t2); font-size: clamp(0.9062rem, calc(0.813rem + 0.1036vw), 0.9788rem); font-weight: 550; }
.bp-trust li { display: flex; align-items: center; gap: 8px; }
.bp-trust svg, .bp-pi svg, .bp-fi svg, .bp-float small svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bp-trust svg { color: var(--yel); }
/* окно браузера с плавающими подсказками */
.bp-stage { position: relative; display: flex; justify-content: center; padding: 30px 0 40px; perspective: 1600px; }
.bp-stage .bm { transform: rotateX(8deg); transform-origin: 50% 100%; box-shadow: 0 60px 140px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08), 0 -20px 120px rgba(255,204,0,.08); }
.bp-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(28,28,34,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 24px 60px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.1); font-size: clamp(0.875rem, calc(0.785rem + 0.1000vw), 0.945rem); line-height: 1.3; text-align: left; }
.bp-float div { display: flex; flex-direction: column; }
.bp-float b { font-size: clamp(0.9375rem, calc(0.8411rem + 0.1071vw), 1.0125rem); } .bp-float small { display: flex; align-items: center; gap: 5px; color: var(--t2); font-size: clamp(0.7812rem, calc(0.7009rem + 0.0893vw), 0.8438rem); }
.bp-float small svg { width: 13px; height: 13px; color: #c4a1ff; }
.bp-float .ma-key svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.bp-fi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; }
.bp-fi.g { background: #30d158; color: #062c12; }
.bp-float .ma-key { width: 36px; height: 36px; border-radius: 11px; }
.bp-float .ma-file { width: 36px; height: 36px; border-radius: 11px; }
.f1 { left: max(0px, calc(50% - 560px)); top: 38%; }
.f2 { right: max(0px, calc(50% - 570px)); top: 14%; }
.f3 { right: max(10px, calc(50% - 520px)); bottom: 12%; }
/* главы */
.bp-sec { padding: 110px 0 0; scroll-margin-top: 80px; }
.bp-kick { margin: 0 0 16px; font-size: clamp(0.8438rem, calc(0.757rem + 0.0964vw), 0.9113rem); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yel); }
.bp-h { font-size: clamp(36px, 6vw, 68px); line-height: 1.02; letter-spacing: -.045em; margin: 0; max-width: 15em; }
.bp-h span { color: var(--t3); }
/* честный разговор */
.bp-talk { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin: 40px 0 0; align-items: start; }
.bp-talk p { margin: 0; color: var(--t2); font-size: clamp(17px, 1.8vw, 20px); }
.bp-say { font-size: clamp(22px, 2.6vw, 30px) !important; line-height: 1.3; letter-spacing: -.02em; color: var(--text) !important; padding-left: 24px; border-left: 3px solid var(--yel); }
.bp-say b { color: var(--yel); }
.bp-prom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.bp-prom article { padding: 28px; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); box-shadow: inset 0 0 0 1px var(--line); }
.bp-pi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(255,204,0,.12); color: var(--yel); box-shadow: inset 0 0 0 1px rgba(255,204,0,.25); }
.bp-pi svg { width: 22px; height: 22px; }
.bp-prom h3 { font-size: clamp(1.125rem, calc(1.0473rem + 0.3315vw), 1.47rem); letter-spacing: -.02em; margin: 0 0 10px; }
.bp-prom p { margin: 0; color: var(--t2); font-size: clamp(0.9688rem, calc(0.8691rem + 0.1107vw), 1.0463rem); }
/* переезд */
.bp-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 44px 0 0; }
.bp-steps li { counter-increment: s; position: relative; padding: 26px 24px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.bp-steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 18px; border-radius: 50%; background: var(--yel); color: #111; font-weight: 800; }
.bp-steps h3 { margin: 0 0 8px; font-size: clamp(1.1875rem, calc(1.0654rem + 0.1357vw), 1.2825rem); letter-spacing: -.015em; }
.bp-steps p { margin: 0; color: var(--t2); font-size: clamp(0.9375rem, calc(0.8411rem + 0.1071vw), 1.0125rem); }
.bp-safe { margin: 26px 0 0; color: var(--t2); font-size: clamp(1rem, calc(0.8971rem + 0.1143vw), 1.08rem); display: flex; align-items: center; gap: 10px; }
.bp-safe::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 4px rgba(48,209,88,.18); flex: none; }
/* скачать и финал */
.bp .bp-all { padding-top: 110px; }
.bp .bp-all h2, .bp-faq h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.035em; }
.bp-faq { margin: 90px auto 0; }
.bp-end { position: relative; isolation: isolate; overflow: hidden; margin: 110px 0 40px; padding: 80px 24px; border-radius: 36px; text-align: center; background: #0f0f13; box-shadow: inset 0 0 0 1px var(--line); }
.bp-end .bp-glow { inset: auto -20% -360px; height: 700px; }
.bp-end img { border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.bp-end h2 { font-size: clamp(36px, 6vw, 64px); letter-spacing: -.045em; line-height: 1.02; margin: 24px 0 14px; }
.bp-end p { color: var(--t2); font-size: clamp(1.1875rem, calc(1.0654rem + 0.1357vw), 1.2825rem); max-width: 30em; margin: 0 auto 32px; }
/* появление при прокрутке и парение подсказок */
@media (prefers-reduced-motion: no-preference) {
  .rv-on .rv { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
  .rv-on .rv.in { opacity: 1; transform: none; }
  .bp-hero > * { animation: bp-in .9s cubic-bezier(.2,.7,.2,1) both; }
  .bp-hero > :nth-child(3) { animation-delay: .08s; } .bp-hero > :nth-child(4) { animation-delay: .16s; } .bp-hero > :nth-child(5) { animation-delay: .24s; } .bp-hero > :nth-child(n+6) { animation-delay: .32s; }
  .bp-stage .bm { animation: bp-tilt 1.4s .2s cubic-bezier(.2,.7,.2,1) both; }
  .bp-float { animation: bp-in .8s cubic-bezier(.2,.7,.2,1) both, bp-hover 6s ease-in-out infinite; }
  .f1 { animation-delay: .7s, 1.5s; } .f2 { animation-delay: .95s, 2.5s; } .f3 { animation-delay: 1.2s, 3.4s; }
  @keyframes bp-in { from { opacity: 0; transform: translateY(24px); } }
  @keyframes bp-tilt { from { opacity: 0; transform: rotateX(24deg) translateY(60px); } }
  @keyframes bp-hover { 50% { transform: translateY(-10px); } }
}
@media (max-width: 960px) {
  .bp-float { display: none; }
  .bp-talk, .bp-prom { grid-template-columns: 1fr; }
  .bp-talk { gap: 24px; }
  .bp-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bp-hero { padding-top: 44px; }
  .bp-btns { flex-direction: column; align-self: stretch; }
  .bp-btns a, .bp-end .bp-dl { justify-content: center; white-space: normal; max-width: 100%; }
  .ma-bar { flex-wrap: wrap; } .ma-pill { white-space: normal; }
  .bp-trust { flex-direction: column; align-items: center; gap: 8px; }
  .bp-stage .bm { transform: none; }
  .bp-sec { padding-top: 76px; }
  .bp-steps { grid-template-columns: 1fr; }
  .bp-end { padding: 56px 20px; border-radius: 28px; }
}

/* ---------- страница Relikt Studio: макет окна (разговор, код, телефон) ---------- */
.bp-steps.st3 { grid-template-columns: repeat(3, 1fr); }
.stm { width: min(1000px, 100%); border-radius: 14px; overflow: hidden; background: #0e0e10; color: #ececf1; box-shadow: 0 60px 140px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08), 0 -20px 120px rgba(255,204,0,.08); font-size: clamp(0.8125rem, calc(0.7289rem + 0.0929vw), 0.8775rem); text-align: left; transform: rotateX(8deg); transform-origin: 50% 100%; }
.stm-top { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 14px; border-bottom: 1px solid #26262c; }
.stm-name { font-weight: 650; }
.stm-run { margin-left: auto; background: #ffcc00; color: #111; font-weight: 650; font-size: clamp(0.75rem, calc(0.6729rem + 0.0857vw), 0.81rem); padding: 5px 12px; border-radius: 8px; }
.stm-body { display: grid; grid-template-columns: 1.05fr 1fr .78fr; min-height: 420px; }
.stm-chat { padding: 18px 16px; border-right: 1px solid #26262c; display: flex; flex-direction: column; gap: 12px; }
.stm-me { align-self: flex-end; max-width: 90%; margin: 0; background: #212126; border: 1px solid #36363d; padding: 9px 12px; border-radius: 14px 14px 4px 14px; }
.stm-acts { display: grid; gap: 4px; padding: 8px 10px; border-radius: 10px; background: #151518; border: 1px solid #26262c; color: #a3a3ad; font-size: clamp(0.75rem, calc(0.6729rem + 0.0857vw), 0.81rem); }
.stm-acts span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #30d158; margin-right: 8px; vertical-align: 1px; }
.stm-ai { margin: 0; line-height: 1.5; color: #e4e4ea; }
.stm-code { padding: 20px 18px; display: grid; align-content: start; gap: 11px; border-right: 1px solid #26262c; background: #121215; }
.stm-code i { display: block; height: 7px; border-radius: 4px; background: #2b2b33; }
.stm-code i.y { background: rgba(255,204,0,.45); }
.stm-phone { display: flex; align-items: center; justify-content: center; padding: 18px; background: radial-gradient(120% 70% at 50% 0%, #1b1b20, #0e0e10 70%); }
.stm-scr { width: 100%; max-width: 190px; aspect-ratio: 9 / 18; border-radius: 26px; background: #fbf8ff; color: #1d1b20; padding: 22px 12px; box-shadow: 0 0 0 7px #232328, 0 0 0 8px #3a3a42; display: flex; flex-direction: column; gap: 8px; font-size: clamp(0.7188rem, calc(0.6448rem + 0.0821vw), 0.7763rem); }
.stm-scr b { font-size: clamp(1.0625rem, calc(0.9532rem + 0.1214vw), 1.1475rem); margin-bottom: 4px; }
.stm-in { display: flex; justify-content: space-between; align-items: center; border: 1px solid #cac4d0; border-radius: 8px; padding: 6px 8px; color: #49454f; }
.stm-in em { font-style: normal; background: #6750a4; color: #fff; padding: 3px 8px; border-radius: 12px; font-size: clamp(0.625rem, calc(0.5607rem + 0.0714vw), 0.675rem); }
.stm-it { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px solid #ece6f0; }
.stm-it i { width: 14px; height: 14px; border-radius: 3px; border: 2px solid #79747e; display: grid; place-items: center; font-style: normal; font-size: clamp(0.5625rem, calc(0.5046rem + 0.0643vw), 0.6075rem); color: #fff; }
.stm-it.done { color: #9a96a0; text-decoration: line-through; }
.stm-it.done i { background: #6750a4; border-color: #6750a4; }
@media (prefers-reduced-motion: no-preference) { .stm-stage .stm { animation: bp-tilt 1.4s .2s cubic-bezier(.2,.7,.2,1) both; } }
@media (max-width: 860px) {
  .bp-steps.st3 { grid-template-columns: 1fr; }
  .stm-body { grid-template-columns: 1fr .8fr; }
  .stm-code { display: none; }
}
@media (max-width: 560px) {
  .stm-body { grid-template-columns: 1fr; }
  .stm-chat { border-right: 0; border-bottom: 1px solid #26262c; }
}
.bp-cards.st-c { grid-template-columns: repeat(3, 1fr); }
.bp-cards.st-c .bp-card { min-height: 0; padding-bottom: 34px; justify-content: flex-start; }
@media (max-width: 960px) { .bp-cards.st-c { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bp-cards.st-c { grid-template-columns: 1fr; } }

/* ---------- страница Браузера: четыре выпуска ---------- */
.bp-eds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.bp-ed { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; border-radius: 24px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.bp-ed::before { content: ''; position: absolute; inset: 0 0 auto; height: 140px; background: radial-gradient(closest-side at 20% 0%, color-mix(in srgb, var(--ec) 22%, transparent), transparent); pointer-events: none; }
.bp-ed img { border-radius: 14px; }
.bp-ed .bp-tag { color: var(--ec); }
.bp-ed h3 { margin: 0; font-size: clamp(1.125rem, calc(1.0214rem + 0.4420vw), 1.54rem); letter-spacing: -.02em; }
.bp-ed p { margin: 0; color: var(--t2); }
.bp-ed ul { margin: 4px 0 8px; padding-left: 18px; color: var(--t2); font-size: clamp(0.875rem, calc(0.785rem + 0.1000vw), 0.945rem); display: grid; gap: 6px; flex: 1; }
.bp-edl { align-self: flex-start; margin-top: auto; padding: 10px 16px; border-radius: 999px; background: var(--ec); color: #111; font-weight: 700; font-size: clamp(0.875rem, calc(0.785rem + 0.1000vw), 0.945rem); text-decoration: none; }
.bp-edl:hover { filter: brightness(1.08); text-decoration: none; }
@media (max-width: 1100px) { .bp-eds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bp-eds { grid-template-columns: 1fr; } }

/* ---------- библиотека плагинов ---------- */
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pg-card { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 18px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.pg-card img, .pg-noimg { width: 52px; height: 52px; border-radius: 13px; }
.pg-noimg { display: grid; place-items: center; background: var(--line); font-weight: 800; }
.pg-card h3 { margin: 0; font-size: clamp(1rem, calc(0.8971rem + 0.1143vw), 1.08rem); }
.pg-card small { color: var(--t3); font-size: clamp(0.7812rem, calc(0.7009rem + 0.0893vw), 0.8438rem); }
.pg-card p { margin: 6px 0 0; color: var(--t2); font-size: clamp(0.875rem, calc(0.785rem + 0.1000vw), 0.945rem); }
.pg-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--yel) 18%, transparent); color: var(--yel); font-size: clamp(0.6875rem, calc(0.6168rem + 0.0786vw), 0.7425rem); vertical-align: 2px; }

/* Телефоны: в полях ввода текст не мельче 16 пикселей — иначе iPhone сам увеличивает страницу при нажатии на поле */
@media (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select { font-size: max(1rem, 16px) !important; }
}

/* Relikt Store онлайн */
.st-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.st-bar input { flex: 1 1 260px; max-width: 420px; height: 44px; border: 0; border-radius: 14px; padding: 0 16px; background: var(--surface); color: var(--text); font: inherit; outline: none; box-shadow: 0 0 0 1px var(--line); }
.st-bar input:focus { box-shadow: 0 0 0 2px var(--acc); }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.st-chips button { border: 0; border-radius: 999px; padding: 8px 16px; background: var(--surface); color: var(--t2); font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.st-chips button.on { background: var(--acc); color: var(--on-acc); box-shadow: none; }
/* подразделы под разделами: вторая строка, на телефоне — одной прокручиваемой лентой */
.st-subs { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 18px; }
.st-subs[hidden] { display: none; }
.st-subs button { border: 0; border-radius: 999px; padding: 5px 12px; background: transparent; color: var(--t2); font: inherit; font-size: .9em; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.st-subs button i { font-style: normal; color: var(--t3); margin-left: 6px; }
.st-subs button.on { color: var(--text); box-shadow: 0 0 0 2px var(--acc); }
.st-subs button:hover { color: var(--text); }
@media (pointer: coarse) { .st-subs button { padding: 9px 14px; } }
/* фильтры каталога: кнопка «Фильтры», порядок и панель с выбором */
.st-fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 16px; }
.st-fbar[hidden], .st-fpanel[hidden] { display: none; }
.st-fbar button, .st-fbar select, .st-fpanel select { border: 0; border-radius: 999px; padding: 6px 14px; background: transparent; color: var(--t2); font: inherit; font-size: .9em; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.st-fbar button i { font-style: normal; background: var(--acc); color: var(--on-acc); border-radius: 999px; padding: 0 7px; margin-left: 7px; font-size: .85em; }
.st-fbar button.on { color: var(--text); box-shadow: 0 0 0 2px var(--acc); }
.st-fpanel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; padding: 12px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.st-fpanel button { border: 0; border-radius: 999px; padding: 5px 12px; background: transparent; color: var(--t2); font: inherit; font-size: .9em; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.st-fpanel button i { font-style: normal; color: var(--t3); margin-left: 6px; }
.st-fpanel button.on { color: var(--text); box-shadow: 0 0 0 2px var(--acc); }
.st-fpanel select { padding: 5px 10px; }
@media (pointer: coarse) { .st-fbar button, .st-fbar select, .st-fpanel button, .st-fpanel select { padding: 9px 14px; } }
@media (max-width: 640px) { .st-subs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; -webkit-overflow-scrolling: touch; } .st-subs::-webkit-scrollbar { display: none; } .st-subs button { flex: none; } }
.st-app { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.st-app[hidden] { display: none; }
.st-app img { width: 48px; height: 48px; border-radius: 12px; background: var(--line); padding: 8px; box-sizing: border-box; }
.st-app h3 { margin: 0; }
.st-app small { color: var(--t3); }
.st-app p { margin: 6px 0 10px; color: var(--t2); }
.st-ok { color: #34c759; font-weight: 600; }
.st-site { color: var(--acc); font-weight: 600; text-decoration: none; }
.st-site:hover { text-decoration: underline; }
.st-os { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.st-os button { border: 0; border-radius: 10px; padding: 8px 16px; background: none; color: var(--t2); font: inherit; font-weight: 600; cursor: pointer; }
.st-os button.on { background: var(--acc); color: var(--on-acc); }
.st-more { text-align: center; margin-top: 18px; }
.st-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 1100px; margin: 0 auto 6px; padding: 0 clamp(16px, 4vw, 40px); }
.st-kinds a { display: block; padding: 16px 18px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--text); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.st-kinds a:hover { transform: translateY(-1px); }
.st-kinds a b { display: block; font-size: 1.05rem; }
.st-kinds a span { display: block; margin-top: 2px; color: var(--t3); font-size: .85rem; }
.st-kinds a.on { box-shadow: 0 0 0 2px var(--acc); }
@media (max-width: 640px) { .st-kinds { grid-template-columns: 1fr; } }
.st-need { max-width: 1100px; margin: 10px auto 0; padding: 12px 16px; border-radius: 14px; background: rgba(255,204,0,.08); color: var(--t2); box-sizing: border-box; }
.st-need[hidden], .st-pane[hidden] { display: none; }
.st-intro { color: var(--t2); max-width: 760px; margin: 0 0 18px; }
.st-letter { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--acc); color: #fff; font-weight: 800; font-size: 1.3rem; }
.st-app img.st-pi { padding: 0; background: none; }
.st-perm, .st-try { font-size: .85rem; color: var(--t3) !important; margin: 0 0 10px !important; }
.st-add { border: 0; border-radius: 999px; padding: 8px 16px; background: var(--acc); color: var(--on-acc); font: inherit; font-weight: 700; cursor: pointer; }
.st-add.in { background: var(--surface); color: #34c759; box-shadow: 0 0 0 1px var(--line); }
.st-add:disabled { opacity: .6; cursor: progress; }
.st-more button { border: 0; border-radius: 999px; padding: 10px 22px; background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.st-more button[hidden] { display: none; }
.st-soon { opacity: .6; pointer-events: none; }
.st-report { color: var(--t2); }

/* Поддержать Relikt */
.sp-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; gap: 14px; margin: 28px auto 6px; max-width: 760px; }
.sp-way { display: grid; gap: 6px; padding: 20px 22px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--text); text-decoration: none; text-align: left; transition: transform .15s, box-shadow .15s; }
.sp-way:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--acc); }
.sp-way b { font-size: 1.2rem; }
.sp-way span:not(.sp-dot) { color: var(--t2); font-size: .95rem; }
.sp-way i { font-style: normal; font-weight: 700; color: var(--acc); margin-top: 4px; }
.sp-dot { width: 14px; height: 14px; border-radius: 50%; }
.sp-group { margin-top: 30px; }
.sp-h { margin: 0; font-size: 1.05rem; color: var(--t2); font-weight: 650; }
.sp-group .sp-ways { margin-top: 12px; }
.sp-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin: 12px auto 0; padding: 18px 22px; max-width: 520px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.sp-card b { font-size: clamp(1.25rem, 4vw, 1.6rem); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.sp-card button { border: 0; border-radius: 999px; padding: 9px 18px; background: var(--acc); color: var(--on-acc); font: inherit; font-weight: 700; cursor: pointer; }
.sp-hint { max-width: 520px; margin: 10px auto 0; color: var(--t3); font-size: .9rem; }

/* ---------- страницы-истории /cloud, /ai и витрина /store (в одной гамме с /browser) ---------- */
.bp-fi.u { background: #4a90ff; color: #06142e; } .bp-fi.p { background: #bf5af2; color: #22062e; }
.bp-pill-sp { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: linear-gradient(135deg, #ffd93d, #ff8a3d 55%, #a98bff); color: #111; }
.bp-pill-sp svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.bp-glow.ai { background: radial-gradient(closest-side at 50% 38%, rgba(169,139,255,.22), rgba(255,138,61,.07) 55%, transparent), radial-gradient(closest-side at 80% 70%, rgba(255,204,0,.10), transparent); }
.bp-end-logo { background: #1c1c1e; padding: 14px; }
.bp-end-sp { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: linear-gradient(135deg, #ffd93d, #ff8a3d 55%, #a98bff); color: #111; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.bp-end-sp svg { width: 40px; height: 40px; fill: currentColor; stroke: none; }
.bp-stage .bm.cm, .bp-stage .bm.am, .bp-stage .bm.sm2 { transform: rotateX(8deg); transform-origin: 50% 100%; box-shadow: 0 60px 140px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08), 0 -20px 120px rgba(255,204,0,.08); }
.bm svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bm i svg { stroke: none; }
/* облако: окно «Файлы» */
.cm-body { display: grid; grid-template-columns: 210px 1fr; min-height: 400px; background: #121318; }
.cm-side { padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid rgba(255,255,255,.06); }
.cm-side > span { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: #c4c4cc; font-weight: 550; }
.cm-side > span.on { background: #262730; color: #fff; }
.cm-side i, .cm-side i svg { width: 22px; height: 22px; display: block; }
.cm-space { margin-top: auto; padding: 12px 10px 4px; display: flex; flex-direction: column; gap: 7px; }
.cm-space small { color: #8a8a94; font-size: .78rem; }
.cm-bar { display: flex; height: 7px; border-radius: 4px; overflow: hidden; background: #2b2c35; }
.cm-bar i { display: block; height: 100%; }
.cm-main { padding: 16px 20px; display: flex; flex-direction: column; gap: 16px; }
.cm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cm-head b { font-size: 1.05rem; }
.cm-q { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; background: #0d0e12; color: #6e6e78; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.cm-q svg { width: 14px; height: 14px; }
.cm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cm-f { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px 10px; border-radius: 14px; background: #1b1c22; text-align: center; }
.cm-f small { color: #c4c4cc; font-size: .78rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cm-dir { width: 52px; height: 40px; border-radius: 7px; background: linear-gradient(180deg, #5ab0ff, #1f6bff); position: relative; margin-top: 6px; }
.cm-dir::before { content: ''; position: absolute; left: 0; top: -6px; width: 22px; height: 10px; border-radius: 4px 4px 0 0; background: #5ab0ff; }
.cm-img { width: 64px; height: 46px; border-radius: 8px; }
.cm-img.img1 { background: linear-gradient(180deg, #7cc6ff 0 45%, #2f86d6 45% 70%, #f0d9a8 70%); }
.cm-img.img2 { background: linear-gradient(160deg, #ffd59a, #ff8a5c 40%, #5b3d8f 75%); }
.cm-f .ma-file { width: 46px; height: 46px; border-radius: 10px; }
/* ИИ: окно с панелью помощника */
.am-body { display: grid; grid-template-columns: 1fr 340px; min-height: 420px; background: #0f0f12; }
.am-page { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.am-video { position: relative; aspect-ratio: 16 / 8.5; border-radius: 12px; background: radial-gradient(80% 90% at 30% 30%, #3a4a6b, #141a26); display: grid; place-items: center; overflow: hidden; }
.am-play { width: 54px; height: 38px; border-radius: 12px; background: #ff3d3d; display: grid; place-items: center; color: #fff; }
.am-play svg { width: 18px; height: 18px; fill: #fff; stroke: none; }
.am-tl { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); }
.am-tl i { display: block; height: 100%; border-radius: 2px; background: #ff3d3d; }
.am-tl b { position: absolute; top: -4px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #ff3d3d; box-shadow: 0 0 0 4px rgba(255,61,61,.3); }
.am-page .ln { height: 12px; width: 70%; border-radius: 6px; background: #22232a; } .am-page .ln.s { width: 40%; }
.am-recs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .am-recs i { aspect-ratio: 16 / 9; border-radius: 9px; background: #1b1c22; }
.am-panel { border-left: 1px solid rgba(255,255,255,.07); background: #15161b; padding: 14px; display: flex; flex-direction: column; gap: 11px; }
.am-ph { display: flex; align-items: center; gap: 8px; } .am-ph small { margin-left: auto; color: #8a8a94; padding: 2px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.am-sp { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: linear-gradient(135deg, #ffd93d, #ff8a3d 55%, #a98bff); color: #111; }
.am-sp svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.am-me { align-self: flex-end; max-width: 88%; padding: 9px 12px; border-radius: 14px 14px 4px 14px; background: #2b2c35; }
.am-th { border-radius: 10px; background: #1d1e25; padding: 8px 10px; color: #a3a3ad; font-size: .8rem; }
.am-th summary { cursor: default; font-weight: 600; color: #c4a1ff; list-style: none; } .am-th p { margin: 6px 0 0; font-style: italic; }
.am-steps { display: grid; gap: 5px; font-size: .82rem; color: #d0d0d8; }
.am-steps span { display: flex; align-items: center; gap: 7px; } .am-steps svg { width: 14px; height: 14px; color: #30d158; } .am-steps em { color: #8a8a94; font-style: normal; }
.am-ans { line-height: 1.55; color: #e4e4ea; } .am-ans b { color: #ffcc00; }
.am-in { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #0d0e12; color: #6e6e78; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.am-in span:nth-child(2) { flex: 1; }
.am-plus { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #262730; color: #ececf1; font-weight: 700; flex: none; }
.am-ring { width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(#30d158 0 81%, #2b2c35 81%); position: relative; flex: none; }
.am-ring::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #0d0e12; }
/* Store: окно магазина */
.sm2-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 14px; background: #121318; min-height: 360px; }
.sm2-ask { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: #0d0e12; color: #ececf1; box-shadow: inset 0 0 0 1.5px rgba(169,139,255,.55), 0 0 30px rgba(169,139,255,.12); }
.sm2-ask svg { width: 16px; height: 16px; color: #c4a1ff; fill: currentColor; stroke: none; }
.sm2-cats, .sm2-subs { display: flex; gap: 6px; flex-wrap: wrap; }
.sm2-cats span { padding: 6px 13px; border-radius: 999px; color: #a1a1aa; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.sm2-cats span.on { background: #ffcc00; color: #111; box-shadow: none; }
.sm2-subs span { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; color: #a1a1aa; font-size: .8rem; background: #1b1c22; }
.sm2-subs span.on { color: #fff; box-shadow: inset 0 0 0 1.5px #ffcc00; } .sm2-subs em { font-style: normal; color: #6e6e78; }
.sm2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sm2-grid > div { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #1b1c22; }
.sm2-grid i { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800; flex: none; }
.sm2-grid span { flex: 1; display: flex; flex-direction: column; min-width: 0; } .sm2-grid small { color: #8a8a94; font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm2-grid em { font-style: normal; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #ffcc00; color: #111; white-space: nowrap; }
.sm2-grid em.d { background: #262730; color: #ececf1; } .sm2-grid em.u { background: #4a90ff; color: #06142e; }
.st-stage { padding-top: 10px; }
/* маленькие картинки в карточках */
.ma-space { width: min(440px, 100%); padding: 16px 18px; display: flex; flex-direction: column; gap: 9px; }
.ma-space > div { display: flex; align-items: center; gap: 10px; } .ma-space b { flex: 1; font-weight: 600; } .ma-space em { font-style: normal; color: var(--m2); font-variant-numeric: tabular-nums; }
.ma-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; } .ma-dot.off { background: #6e6e78; }
.ma-sum { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--ml); } .ma-sum span { flex: 1; color: var(--m2); } .ma-sum b { flex: none !important; font-size: 1.6rem; letter-spacing: -.02em; }
.ma-stack { display: flex; align-items: stretch !important; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; } .ma-stack i { display: block; }
.ma-ask { width: min(380px, 100%); padding: 16px; display: flex !important; gap: 14px; align-items: flex-start; }
.ma-ask > div { display: flex; flex-direction: column; gap: 5px; }
.ma-usb { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #30d158; color: #062c12; flex: none; } .ma-usb svg { width: 22px; height: 22px; }
.ma-acts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; } .ma-acts em { font-style: normal; padding: 6px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ml); font-weight: 600; } .ma-acts em.on { background: #ffcc00; color: #111; box-shadow: none; }
.ma-gal { width: min(380px, 100%); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ma-gal > b { font-size: .8rem; color: var(--m2); font-weight: 600; }
.ma-ph { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 4px; }
.ma-ph i { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(145deg, hsl(var(--h) 70% 62%), hsl(calc(var(--h) + 40) 55% 34%)); }
.ma-find { width: min(500px, 100%); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ma-find .ma-search { display: flex; align-items: center; gap: 8px; color: var(--mt); box-shadow: inset 0 0 0 1.5px #ffcc00; } .ma-find .ma-search svg { color: #ffcc00; }
.ma-hit { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; background: #1f2027; }
.ma-hit > div { display: flex; flex-direction: column; gap: 3px; } .ma-hit small { line-height: 1.45; }
.ma-hit mark { background: rgba(255,204,0,.28); color: #fff; border-radius: 3px; padding: 0 2px; }
.ma-off { width: min(360px, 100%); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ma-offh { display: flex; align-items: center; gap: 9px; } .ma-offh b { flex: 1; }
.ma-off .ma-ph i { filter: saturate(.75); } .ma-cap { line-height: 1.45; }
.ma-move { width: min(360px, 100%); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ma-move > div:not(.ma-prog) { display: flex; align-items: center; gap: 10px; }
.ma-g { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #fff; color: #4285f4; font-weight: 800; }
.ma-r { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #1c1c1e; box-shadow: inset 0 0 0 1px var(--ml); } .ma-r img { width: 18px; height: 18px; }
.ma-prog { height: 8px; border-radius: 4px; background: #2b2c35; overflow: hidden; } .ma-prog i { display: block; height: 100%; background: linear-gradient(90deg, #4a90ff, #ffcc00); }
.ma-apps { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px; width: min(320px, 100%); }
.ma-apps span { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: #1f2027; font-weight: 600; }
.ma-apps i, .ma-apps i svg { width: 30px; height: 30px; display: block; }
.ma-acts2 { width: min(480px, 100%); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ma-acts2 .u { align-self: flex-end; max-width: 85%; padding: 9px 12px; border-radius: 14px 14px 4px 14px; background: #2b2c35; margin-bottom: 4px; }
.ma-acts2 > span { display: flex; align-items: center; gap: 8px; color: #d0d0d8; } .ma-acts2 > span svg { color: #30d158; } .ma-acts2 em { color: var(--m2); font-style: normal; }
.ma-acts2 > span.now { color: #fff; font-weight: 600; }
.ma-spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(255,204,0,.3); border-top-color: #ffcc00; flex: none; }
.ma-vid { width: min(360px, 100%); padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.ma-scr2 { aspect-ratio: 16 / 8; border-radius: 10px; background: radial-gradient(80% 90% at 30% 30%, #3a4a6b, #141a26); display: grid; place-items: center; }
.ma-scr2 span { width: 40px; height: 28px; border-radius: 9px; background: #ff3d3d; display: grid; place-items: center; } .ma-scr2 svg { fill: #fff; stroke: none; width: 13px; height: 13px; }
.ma-tl { position: relative; height: 4px; border-radius: 2px; background: #2b2c35; margin: 18px 0 4px; }
.ma-tl > i { display: block; height: 100%; border-radius: 2px; background: #ff3d3d; }
.ma-tl b { position: absolute; top: -3px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #ffcc00; }
.ma-tl b em { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: .72rem; padding: 2px 7px; border-radius: 6px; background: #262730; white-space: nowrap; }
.ma-att { width: min(480px, 100%); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ma-chips2 { display: flex; gap: 8px; flex-wrap: wrap; }
.ma-chips2 > span { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 10px; background: #262730; font-weight: 600; font-size: .82rem; }
.ma-chips2 .ma-file { width: 26px; height: 26px; border-radius: 6px; font-size: .55rem; }
.ma-thumb { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(160deg, #fff 0 60%, #ddd 60%); }
.ma-inp { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; background: #0d0e12; color: #c4c4cc; box-shadow: inset 0 0 0 1px var(--ml); }
.ma-inp span:nth-child(2) { flex: 1; }
.am-ring.big { width: 24px; height: 24px; } .am-ring.big::after { background: #0d0e12; }
.ma-models { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px; width: min(460px, 100%); }
.ma-models > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #1f2027; }
.ma-models small.g { color: #6fdc8c; } .ma-models small.y { color: #ffcc00; }
.ma-ver { width: min(360px, 100%); padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.ma-ver > div { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.ma-ver > span { display: flex; align-items: center; gap: 8px; color: #d0d0d8; } .ma-ver > span svg { color: #30d158; }
@media (prefers-reduced-motion: no-preference) {
  .bp-stage .bm.cm, .bp-stage .bm.am, .bp-stage .bm.sm2 { animation: bp-tilt 1.4s .2s cubic-bezier(.2,.7,.2,1) both; }
  .ma-ask.anim { animation: bp-drop 5s ease-in-out infinite; }
  .ma-spin { animation: ma-spin 1s linear infinite; } @keyframes ma-spin { to { transform: rotate(360deg); } }
  .ma-prog i { animation: ma-prog 6s ease-in-out infinite; } @keyframes ma-prog { from { width: 8%; } to { width: 96%; } }
}
@media (max-width: 860px) {
  .cm-body { grid-template-columns: 1fr; } .cm-side { display: none; }
  .cm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .am-body { grid-template-columns: 1fr; } .am-page { display: none; } .am-panel { border-left: 0; }
  .sm2-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cm-head .cm-q { display: none; }
  .sm2-grid { grid-template-columns: 1fr; }
  .ma-models { grid-template-columns: 1fr; }
}

/* ---------- /learn для новых людей: окно курса и картинки ---------- */
.bp-stage .bm.lm { transform: rotateX(8deg); transform-origin: 50% 100%; box-shadow: 0 60px 140px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08), 0 -20px 120px rgba(255,204,0,.08); }
.lm-bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; background: #1b1c22; }
.lm-bar small { color: #8a8a94; } .lm-sp { flex: 1; }
.lm-btn { display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font-weight: 600; font-size: .8rem; }
.lm-btn.ai { background: linear-gradient(135deg, #ffd93d, #ff8a3d 55%, #a98bff); color: #111; box-shadow: none; }
.lm-btn svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.lm-body { display: grid; grid-template-columns: 230px 1fr; min-height: 400px; background: #121318; }
.lm-map { padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; border-right: 1px solid rgba(255,255,255,.06); }
.lm-map span { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: #c4c4cc; font-weight: 550; }
.lm-map i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 800; background: #262730; color: #8a8a94; flex: none; }
.lm-map i svg { width: 12px; height: 12px; stroke: currentColor; }
.lm-map .done i { background: #30d158; color: #062c12; } .lm-map .on { background: #262730; color: #fff; } .lm-map .on i { background: #ffcc00; color: #111; }
.lm-map .lock { opacity: .4; }
.lm-task { padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.lm-q { margin: 0; font-size: .95rem; color: #e4e4ea; }
.lm-code { padding: 12px 0; border-radius: 12px; background: #0b0c10; font: .85rem/1.7 ui-monospace, "SF Mono", Menlo, monospace; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.lm-code div { display: flex; } .lm-code em { width: 34px; padding-right: 12px; text-align: right; color: #4a4a54; font-style: normal; flex: none; }
.lm-code code { color: #e4e4ea; font: inherit; } .lm-code k { color: #ff7ab2; } .lm-code f { color: #67b7ff; } .lm-code n { color: #ffcc00; } .lm-code s { color: #6fdc8c; text-decoration: none; }
.lm-run { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lm-go { padding: 7px 14px; border-radius: 9px; background: #ffcc00; color: #111; font-weight: 700; font-size: .82rem; }
.lm-ok { display: flex; align-items: center; gap: 6px; color: #6fdc8c; font-weight: 600; font-size: .85rem; } .lm-ok svg { width: 15px; height: 15px; }
.lm-out { padding: 10px 14px; border-radius: 10px; background: #1b1c22; color: #a3a3ad; font: .8rem/1.6 ui-monospace, "SF Mono", Menlo, monospace; }
.ma-lv { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 14px; width: min(520px, 100%); }
.ma-lv span { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 9px; background: #1f2027; font-size: .76rem; font-weight: 600; color: #c4c4cc; white-space: nowrap; overflow: hidden; }
.ma-lv b { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .65rem; background: #2b2c35; color: #8a8a94; flex: none; }
.ma-lv .d b { background: #30d158; color: #062c12; } .ma-lv .on { box-shadow: inset 0 0 0 1.5px #ffcc00; color: #fff; } .ma-lv .on b { background: #ffcc00; color: #111; } .ma-lv .l { opacity: .45; }
.ma-cheat { width: min(340px, 100%); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.ma-cheat > b { margin-bottom: 6px; } .ma-cheat code { font: .82rem ui-monospace, "SF Mono", Menlo, monospace; color: #ffcc00; margin-top: 6px; }
.ma-chat .b b { color: #ffcc00; }
.ma-tracks { width: min(500px, 100%); padding: 14px; display: grid !important; grid-template-columns: 1fr auto 1.3fr; grid-template-rows: auto auto; gap: 8px 12px; align-items: center; }
.ma-tracks > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #1f2027; }
.ma-tracks > .b { grid-row: 1 / 3; box-shadow: inset 0 0 0 1.5px #ffcc00; } .ma-tracks .ar { grid-row: 1 / 3; color: #ffcc00; font-size: 1.4rem; }
.ma-appw { width: min(460px, 100%); padding: 18px; display: grid !important; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.ma-appw > img { width: 64px; height: 64px; border-radius: 16px; }
.ma-appw > div:not(.ma-claude) { display: flex; flex-direction: column; gap: 2px; }
.ma-claude { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 12px; background: #1f2027; color: #d0d0d8; line-height: 1.45; }
.ma-claude svg { color: #e8a87c; fill: currentColor; stroke: none; margin-top: 2px; }
.ln-prog { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ln-prog li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ln-prog b { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,204,0,.12); color: var(--yel); font-weight: 800; align-self: center; }
.ln-prog span { font-weight: 650; line-height: 1.3; } .ln-prog small { color: var(--t3); }
@media (prefers-reduced-motion: no-preference) { .bp-stage .bm.lm { animation: bp-tilt 1.4s .2s cubic-bezier(.2,.7,.2,1) both; } }
@media (max-width: 960px) { .ln-prog { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .lm-body { grid-template-columns: 1fr; } .lm-map { display: none; } .lm-bar small { display: none; } .ma-lv { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ln-prog { grid-template-columns: 1fr; } .lm-btn:not(.ai) { display: none; } .ma-lv { grid-template-columns: repeat(2, 1fr); } .ma-tracks { grid-template-columns: 1fr; } .ma-tracks > .b, .ma-tracks .ar { grid-row: auto; } .ma-tracks .ar { transform: rotate(90deg); justify-self: center; } }
/* телефон: свечение первого экрана не шире экрана — иначе мобильный браузер расширяет страницу вбок */
@media (max-width: 760px) { .bp-glow { left: 0; right: 0; } }

/* ---------- /editors: творческие программы ---------- */
.ed-icons { display: flex; gap: 14px; justify-content: center; margin: 0 0 30px; flex-wrap: wrap; }
.ed-icons img { border-radius: 22%; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.bp-end .ed-icons { margin: 0; }
.ed-row { display: grid; grid-template-columns: 140px 1fr; gap: 34px; align-items: start; margin-top: 36px; padding: 34px; border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.ed-row::before { content: ''; position: absolute; inset: 0 0 auto; height: 180px; background: radial-gradient(closest-side at 10% 0%, color-mix(in srgb, var(--ec) 18%, transparent), transparent); pointer-events: none; }
.ed-row > img { border-radius: 26px; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.ed-lead { margin: 0 0 18px; font-size: clamp(18px, 1.9vw, 22px); color: var(--text); line-height: 1.4; }
.ed-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.ed-list li { display: flex; gap: 10px; color: var(--t2); }
.ed-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; fill: none; stroke: var(--ec); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bp-edl.off { background: rgba(255,255,255,.08); color: var(--t3); }
@media (max-width: 640px) { .ed-row { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; } .ed-row > img { width: 84px; height: 84px; } }

/* Нейросети на своём компьютере (/models) */
.md-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.md-bar input#mdQ { flex: 1 1 220px; max-width: 340px; height: 44px; border: 0; border-radius: 14px; padding: 0 16px; background: var(--surface); color: var(--text); font: inherit; outline: none; box-shadow: 0 0 0 1px var(--line); }
.md-bar input#mdQ:focus { box-shadow: 0 0 0 2px var(--acc); }
.md-mem, .md-only { display: inline-flex; align-items: center; gap: 8px; color: var(--t2); font-weight: 600; }
.md-mem select { height: 44px; border: 0; border-radius: 14px; padding: 0 12px; background: var(--surface); color: var(--text); font: inherit; box-shadow: 0 0 0 1px var(--line); }
.md-only input { width: 18px; height: 18px; accent-color: var(--acc); }
.md-chips { margin-bottom: 10px; }
.md-hint { text-align: left; margin: 6px 0 18px; }
.md-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.md-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.md-card[hidden] { display: none; }
.md-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.md-card h3 { margin: 0; font-size: 1.1rem; } .md-card small { color: var(--t3); }
.md-card p { margin: 0; color: var(--t2); }
.md-fit { flex: none; font-size: .78rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--line); color: var(--t2); white-space: nowrap; }
.md-fit.ok { color: #34c759; background: rgba(52,199,89,.12); } .md-fit.tight { color: #ff9f0a; background: rgba(255,159,10,.12); } .md-fit.no { color: #ff453a; background: rgba(255,69,58,.12); }
.md-meta { display: flex; flex-wrap: wrap; gap: 6px; } .md-meta span { font-size: .8rem; padding: 3px 9px; border-radius: 999px; background: var(--line); color: var(--t2); }
.md-acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: auto; padding-top: 4px; }
.md-acts .cta { padding: 9px 18px; font-size: .95rem; } .md-link { color: var(--acc); font-weight: 600; text-decoration: none; } .md-link:hover { text-decoration: underline; }
.md-run.off { opacity: .5; pointer-events: none; }
.md-lic { margin-top: -2px; }
