/* VLC — тема «Все экраны дома»: закатная сцена с устройствами, оранжевый акцент конуса, светлые страницы-инструкции */
@import url("/site-assets/fonts.css");
:root {
  --bg: #F7F1EE; --surface: #FFFFFF; --surface-2: #FBF6F3; --surface-dark: #170C22;
  --border: #EADFDA; --border-strong: #D9CBC5;
  --text: #1D1222; --text-2: #3D3142; --muted: #6B5F6E;
  --accent: #FFB020; --accent-hover: #F5A30F; --accent-soft: #FFF1D6; --accent-ink: #2B1700;
  --link: #B4461F; --ok: #1E8A52; --ok-soft: #DDF4E7; --warn: #9A5B00; --warn-soft: #FFF2DB;
  --radius-sm: 10px; --radius-md: 14px; --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(40,10,40,.05), 0 10px 30px -18px rgba(40,10,40,.25);
  --font-sans: 'Golos Text', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Montserrat', 'Golos Text', -apple-system, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}
a { color: var(--link); }
h1, h2, h3, .dl-brand { font-family: var(--font-display); }
.dl-fan-bar { background: #170C22; border-bottom: 0; color: #B9A6C2; }
.dl-fan-bar a { color: #B9A6C2; }
.dl-fan-inner::before { border-color: #4A3A55; color: #B9A6C2; }
.dl-header { background: #2A1640; border-bottom: 1px solid #3D2457; color: #FFF7F0; }
.dl-brand { color: #fff; font-weight: 900; letter-spacing: -.01em; }
.dl-brand-mark { background: linear-gradient(135deg, #FF9A3C, #E0552A); border-radius: 10px; position: relative; }
.dl-brand-mark svg { display: none; }
.dl-brand-mark::before { content: ""; width: 0; height: 0; margin-left: 3px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid #fff; }
.dl-brand-ver { background: rgba(255,255,255,.1); color: #E9CFC4; }
.dl-nav a { color: #E9CFC4; font-weight: 600; }
.dl-nav a:hover, .dl-nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.dl-nav-cta { border-radius: 12px; font-weight: 800; color: var(--accent-ink); }
.dl-burger { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.dl-mobile-nav { background: #2A1640; border-color: #3D2457; }
.dl-mobile-nav a { color: #fff; background: rgba(255,255,255,.08); }
.dl-btn { font-weight: 800; color: var(--accent-ink); }
.dl-btn:hover { color: var(--accent-ink); }
.dl-prose h2, .p3-h2 { font-weight: 800; letter-spacing: -.02em; }
.dl-prose th { background: var(--surface-2); }
.dl-prose code { font-family: var(--font-mono); font-size: .86em; background: #2A1640; color: #FFD08A; border-radius: 5px; padding: 1px 6px; }
.dl-side-links a:hover { background: var(--accent-soft); color: var(--text); }
.dl-footer { background: #170C22; border-top: 0; color: #9C8BA6; }
.dl-footer a { color: #fff; }

/* Главная */
.vl-stage { color: #FFF7F0; background: radial-gradient(900px 420px at 50% 105%, rgba(255,176,32,.55), rgba(255,176,32,0) 70%), linear-gradient(180deg, #2A1640 0%, #5A2347 55%, #C4542C 100%); overflow-x: clip; padding-bottom: 8px; }
.vl-in { text-align: center; padding-top: 22px; }
.vl-in h1 { font-weight: 900; font-size: clamp(2rem, 3vw + 1rem, 3.9rem); line-height: 1.02; letter-spacing: -.03em; max-width: 900px; margin: 0 auto; text-wrap: balance; }
.vl-lead { font-size: 1.12rem; color: #E9CFC4; margin: 12px auto 22px; max-width: 58ch; }
.vl-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); max-width: 100%; }
.vl-tabs button { appearance: none; border: 0; cursor: pointer; padding: 10px 18px; border-radius: 999px; font: 600 .95rem var(--font-sans); color: #E9CFC4; background: transparent; white-space: nowrap; }
.vl-tabs button:hover { color: #fff; }
.vl-tabs button.on { background: #fff; color: #1D1222; }
.vl-devs { display: flex; align-items: flex-end; justify-content: center; gap: 28px; margin-top: 34px; height: 330px; }
.vl-sc { position: relative; overflow: hidden; background: #000; }
.vl-sc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vl-tv { width: 520px; }
.vl-tv .vl-sc { height: 292px; border: 10px solid #0B0B0F; border-radius: 10px; box-shadow: 0 0 0 2px #2A2A33, 0 30px 60px -10px rgba(255,160,60,.45), 0 0 120px rgba(255,176,32,.35); }
.vl-leg { width: 160px; height: 16px; margin: 0 auto; background: #16161C; border-radius: 0 0 8px 8px; }
.vl-mon { width: 300px; }
.vl-mon .vl-sc { height: 176px; border: 8px solid #111; border-radius: 8px; }
.vl-st { width: 70px; height: 40px; margin: 0 auto; background: linear-gradient(#1B1B22, #0E0E12); clip-path: polygon(35% 0, 65% 0, 80% 100%, 20% 100%); }
.vl-ph { width: 118px; }
.vl-ph .vl-sc { height: 230px; border: 7px solid #0E0E12; border-radius: 22px; }
.vl-tab { width: 220px; }
.vl-tab .vl-sc { height: 160px; border: 9px solid #0E0E12; border-radius: 16px; }
.vl-dev { opacity: .8; transition: opacity .2s, transform .2s; }
.vl-dev.on { opacity: 1; transform: translateY(-6px); }
.vl-dev.on .vl-lbl { color: #fff; }
.vl-dev.on .vl-lbl::after { content: " · выбран"; color: #FFD08A; }
.vl-ui { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,0)); display: flex; align-items: center; gap: 8px; font-size: .7rem; color: #DDD; text-align: left; }
.vl-ui i { flex: 1; height: 3px; background: #555; border-radius: 2px; position: relative; }
.vl-ui i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 40%; background: var(--accent); border-radius: 2px; }
.vl-lbl { display: block; margin-top: 10px; font-size: .82rem; color: #E9CFC4; font-weight: 600; }
.vl-dock { position: relative; z-index: 3; max-width: 880px; margin: -6px auto 0; transform: translateY(46px); background: #fff; color: var(--text); border-radius: 20px; padding: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; text-align: left; box-shadow: 0 30px 60px -24px rgba(40,10,40,.6); }
.vl-ic { width: 58px; height: 58px; border-radius: 14px; background: linear-gradient(135deg, #FF9A3C, #E0552A); display: grid; place-items: center; color: #fff; }
.vl-dt h2 { font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.2; }
.vl-dt p { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.vl-how { display: inline-block; margin-top: 4px; font-size: .88rem; font-weight: 600; text-decoration: none; }
.vl-how[hidden] { display: none; }
.vl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 800; white-space: nowrap; text-decoration: none; }
.vl-btn:hover { background: var(--accent-hover); color: var(--accent-ink); }
.vl-after { padding-top: 96px; }
.vl-h2 { font-weight: 800; font-size: clamp(1.5rem, 1.6vw + 1rem, 2.25rem); letter-spacing: -.02em; }
.vl-sub { color: var(--muted); margin: 6px 0 20px; }
.vl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vl-c { background: #fff; border-radius: 16px; padding: 20px; border: 1px solid var(--border); }
.vl-c b { font-family: var(--font-display); font-weight: 900; font-size: 2.1rem; color: #E0552A; }
.vl-c h3 { font-weight: 700; font-size: 1.12rem; margin: 6px 0; }
.vl-c p { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.vl-all { margin-top: 44px; }
.vl-files { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.vl-file { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: #fff; border: 1px solid var(--border); border-radius: 14px; color: var(--text); text-decoration: none; }
.vl-file span { color: var(--muted); font-size: .88rem; }
.vl-file em { font-style: normal; font-weight: 700; color: var(--link); margin-top: 6px; }
.vl-file:hover { border-color: var(--accent); color: var(--text); }
@media (max-width: 1100px) { .vl-mon { display: none; } }
@media (max-width: 780px) { .vl-tab { display: none; } .vl-tv { width: 440px; } .vl-tv .vl-sc { height: 250px; } }
@media (max-width: 680px) {
  .dl-header-inner { gap: 8px; }
  .dl-brand { min-width: 0; flex: 1 1 auto; overflow: hidden; font-size: 1rem; }
  .dl-brand > span:not(.dl-brand-mark) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dl-nav-cta { padding: 0 12px; }
  .vl-lead { font-size: 1rem; }
  .vl-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .vl-tabs button { padding: 9px 13px; font-size: .88rem; }
  .vl-devs { height: auto; gap: 12px; margin-top: 24px; }
  .vl-tv { width: 236px; } .vl-tv .vl-sc { height: 140px; border-width: 6px; } .vl-leg { width: 80px; height: 10px; }
  .vl-ph { width: 78px; } .vl-ph .vl-sc { height: 150px; border-width: 5px; border-radius: 16px; }
  .vl-dev.on { transform: none; }
  .vl-dock { grid-template-columns: 1fr; transform: translateY(30px); margin: 0 4px; text-align: center; }
  .vl-ic { display: none; } .vl-btn { width: 100%; }
  .vl-after { padding-top: 70px; }
  .vl-cards { grid-template-columns: 1fr; }
}
