/* modern-landing.css */

/* =========================
   HERO
========================= */
body.ld .appsLand-header{
  position: relative;
  padding-top: 90px;
  padding-bottom: 42px;
  min-height: 560px;
  background:
    radial-gradient(1200px 600px at 20% 20%, rgba(74,163,255,.28), transparent 60%),
    radial-gradient(1000px 560px at 85% 30%, rgba(123,92,255,.26), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #0a1020 65%, #0b1220 100%);
}

body.ld .appsLand-header:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(700px 260px at 30% 18%, rgba(255,255,255,.10), transparent 70%),
    radial-gradient(520px 240px at 70% 22%, rgba(255,255,255,.08), transparent 70%);
  pointer-events:none;
  opacity:.75;
}

body.ld .appsLand-header .app-overlay{ background: transparent !important; }
body.ld .appsLand-header .header-content{ position: relative; z-index: 2; }

body.ld .site-intro-content{ max-width: 740px; }

body.ld .site-intro-content h1{
  margin: 0 0 12px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.9px;
  text-shadow: 0 10px 26px rgba(0,0,0,.35);
  font-size: 36px;
}

body.ld .site-intro-content h1 .ld-h1-accent{
  color: var(--ld-accent, #3c92ff);
  font-weight: 900;
}

@media (min-width: 768px){ body.ld .site-intro-content h1{ font-size: 46px; } }
@media (min-width: 1200px){ body.ld .site-intro-content h1{ font-size: 56px; } }

body.ld .site-intro-content .lead{
  color: var(--ld-muted);
  font-size: 16px;
  line-height: 1.5;
  margin-top: 10px;
  margin-bottom: 18px;
}
@media (min-width: 768px){ body.ld .site-intro-content .lead{ font-size: 18px; } }

/* LIGHT: читаемость hero текста */
body.ld[data-theme="light"] .site-intro-content h1{
  text-shadow:
    0 28px 70px rgba(10,22,40,.24),
    0 10px 26px rgba(10,22,40,.18),
    0 2px 0 rgba(10,22,40,.12) !important;
  -webkit-text-stroke: 0 !important;
  text-rendering: auto !important;
  color: #303030;
}

body.ld[data-theme="light"] .site-intro-content .lead{
  color: rgba(10,22,40,.76) !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-font-smoothing: antialiased;
}

/* Social icons */
body.ld .ld-social-icons{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 6px;
  color: rgba(255,255,255,.86);
  padding-top: 8px;
}

body.ld .ld-social-icons i{
  width: 42px;
  height: 42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 16px;
  font-size: 18px;
  line-height: 1;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--ld-shadow2);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.ld .ld-social-icons a:hover i,
body.ld .ld-social-icons i:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
}

/* Buttons */
body.ld .btns-wrap{
  display:flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

body.ld .u-btn{
  display:flex;
  align-items:center;
  gap: 0px;
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.92) !important;
  box-shadow: var(--ld-shadow2);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  min-width: 240px;
  height: 50px;
  text-decoration: none !important;
}
body.ld .u-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.16);
  text-decoration: none !important;
}
body.ld .u-btn:active{ transform: translateY(0px); }

body.ld .u-btn__icon{
  width: 34px;
  height: 34px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.12);
}
body.ld .u-btn__in{
  /* font-weight: 900; */
  letter-spacing: .1px;
  font-size: 15px;
}

body.ld .btns-wrap .u-btn:first-child{
  background: rgba(74,163,255,.95);
  border-color: rgba(74,163,255,.55);
  box-shadow: 0 14px 34px rgba(74,163,255,.20), var(--ld-shadow2);
}
body.ld .btns-wrap .u-btn:first-child:hover{ background: rgba(74,163,255,1); }
body.ld .btns-wrap .u-btn:first-child .u-btn__icon{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.22);
}

/* Mockup */
body.ld .ld-mockup{
  display:flex;
  justify-content:flex-end;
  padding-top: 8px;
}
body.ld .ld-mockup img{
  width: 320px;
  max-width: 100%;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,.45));
  border-radius: 28px;
}

body.ld .entry-main{ background: transparent; }
body.ld .section-without-title{ padding: 56px 0; }

/* Mobile hero */
@media (max-width: 767px){
  body.ld .appsLand-header{ padding-top: 86px; padding-bottom: 34px; }
  body.ld .u-btn{ min-width: 0; width: 100%; height: 50px; border-radius: 24px; }
  body.ld .u-btn__icon{ width: 34px; height: 34px; border-radius: 18px; }
  body.ld .btns-wrap{ gap: 10px; }
}

/* =========================
   FEATURES
========================= */
body.ld .mini-feature__style-2{
  background:
    radial-gradient(900px 340px at 20% 0%, rgba(74,163,255,.10), transparent 60%),
    radial-gradient(820px 320px at 85% 10%, rgba(123,92,255,.08), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.00) 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

body.ld .mini-feature-box{
  position: relative;
  font-family: 'Open Sans', sans-serif !important;
  /*height: 100%;*/
  padding: 24px 26px 22px;
  border-radius: 28px;
  background:
    radial-gradient(520px 220px at 18% 12%, rgba(255,255,255,.12), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.085) 0%, rgba(255,255,255,.045) 100%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 40px rgba(0,0,0,.18), var(--ld-shadow2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: none !important;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease !important;
}

body.ld .mini-feature-box::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  opacity: 1;
}

body.ld .mini-feature-box:hover,
body.ld .mini-feature-box:active,
body.ld .mini-feature-box:focus,
body.ld .mini-feature-box:focus-within{
  transform: none !important;
  background:
    radial-gradient(520px 220px at 18% 12%, rgba(255,255,255,.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.095) 0%, rgba(255,255,255,.055) 100%);
  border-color: rgba(255,255,255,.20);
  box-shadow: 0 16px 46px rgba(0,0,0,.20), var(--ld-shadow2);
}

body.ld .mini-feature-box .icon-box{
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 14px;
  background: rgba(74,163,255,.12);
  border: 1px solid rgba(74,163,255,.22);
  box-shadow: 0 10px 20px rgba(74,163,255,.10);
  overflow:hidden;
  position: relative;
}
body.ld .mini-feature-box .icon-box i{
  font-size: 24px;
  line-height: 1;
  color: var(--ld-accent);
}

body.ld .mini-feature-box h3{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.35px;
  line-height: 1.15;
  color: rgba(255,255,255,.95);
}
body.ld .mini-feature-box p{
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  font-size: 14px;
}
@media (min-width: 992px){ body.ld .mini-feature-box p{ font-size: 15px; } }

@media (max-width: 991px){
  body.ld .mini-feature__style-2 .row > [class*="col-"]{ margin-bottom: 14px; }
  body.ld .mini-feature__style-2 .row > [class*="col-"]:last-child{ margin-bottom: 0; }
}

/* Light features */
body.ld[data-theme="light"] .mini-feature__style-2{
  background:
    radial-gradient(1100px 420px at 20% 0%, rgba(74,163,255,.12), transparent 60%),
    radial-gradient(980px 380px at 85% 10%, rgba(123,92,255,.10), transparent 62%),
    linear-gradient(180deg, rgba(15,23,42,.02) 0%, rgba(15,23,42,.00) 100%);
  border-top: 1px solid rgba(15,23,42,.06);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
body.ld[data-theme="light"] .mini-feature-box{
  background:
    radial-gradient(520px 220px at 18% 12%, rgba(47,124,246,.08), transparent 62%),
    rgba(255,255,255,.86);
  border-color: rgba(15,23,42,.10);
  box-shadow: 0 14px 36px rgba(15,23,42,.10);
}
body.ld[data-theme="light"] .mini-feature-box::after{ box-shadow: inset 0 1px 0 rgba(15,23,42,.06); }
body.ld[data-theme="light"] .mini-feature-box:hover,
body.ld[data-theme="light"] .mini-feature-box:active,
body.ld[data-theme="light"] .mini-feature-box:focus,
body.ld[data-theme="light"] .mini-feature-box:focus-within{
  background:
    radial-gradient(520px 220px at 18% 12%, rgba(47,124,246,.10), transparent 62%),
    rgba(255,255,255,.92);
  border-color: rgba(15,23,42,.14);
  box-shadow: 0 16px 40px rgba(15,23,42,.12);
}
body.ld[data-theme="light"] .mini-feature-box .icon-box{
  background: rgba(47,124,246,.10);
  border-color: rgba(47,124,246,.18);
  box-shadow: 0 10px 18px rgba(47,124,246,.10);
}
body.ld[data-theme="light"] .mini-feature-box .icon-box i{ color: #2f7cf6; }
body.ld[data-theme="light"] .mini-feature-box h3{ color: rgba(10,22,40,.92); }
body.ld[data-theme="light"] .mini-feature-box p{ color: rgba(10,22,40,.74); }

/* =========================
   STATS
========================= */
body.ld .statistics.section-bg-img{
  background:
    radial-gradient(900px 360px at 25% 30%, rgba(74,163,255,.18), transparent 60%),
    radial-gradient(900px 360px at 80% 50%, rgba(123,92,255,.16), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.02) 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
body.ld .statistics .app-overlay{ background: transparent !important; }
body.ld .statistics{ padding: 46px 0; }

/* clearfix kill only inside stats */
body.ld .statistics .row:before,
body.ld .statistics .row:after,
body.ld .statistics .row::before,
body.ld .statistics .row::after{
  content: none !important;
  display: none !important;
}

body.ld .stats{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--ld-radius2);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--ld-shadow2);
  height: 100%;
  overflow: hidden;
}

body.ld .stats .stats-icon,
body.ld .stats-icon{
  position: static !important;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display:flex !important;
  align-items:center;
  justify-content:center;
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  flex: 0 0 auto;
}

body.ld .stats-data{
  flex: 0 1 auto;
  min-width: 0;
  display:flex;
  flex-direction: column;
  align-items:center;
  text-align:center;
}

body.ld .stats-data p{
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.4px;
  font-size: 22px;
  line-height: 1.05;
  color: rgba(255,255,255,.96);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  display: inline-block;
  min-width: 6.8ch;
}

body.ld .stats-data h5{
  margin: 6px 0 0;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.74);
  font-weight: 800;
}

/* Light stats */
body.ld[data-theme="light"] .statistics.section-bg-img{
  background:
    radial-gradient(900px 360px at 25% 30%, rgba(74,163,255,.10), transparent 60%),
    radial-gradient(900px 360px at 80% 50%, rgba(123,92,255,.08), transparent 62%),
    linear-gradient(180deg, rgba(15,23,42,.02) 0%, rgba(15,23,42,.00) 100%);
  border-top: 1px solid rgba(15,23,42,.06);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
body.ld[data-theme="light"] .stats{
  background: rgba(255,255,255,.88);
  border-color: rgba(15,23,42,.10);
  box-shadow: 0 16px 42px rgba(15,23,42,.10);
}
body.ld[data-theme="light"] .stats-icon{
  background: rgba(47,124,246,.10);
  border-color: rgba(47,124,246,.18);
  color: #2f7cf6;
}
body.ld[data-theme="light"] .stats-data p{ color: rgba(10,22,40,.92); }
body.ld[data-theme="light"] .stats-data h5{ color: rgba(10,22,40,.60); }

body.ld .statistics .section-title h3{
  margin: 0 0 18px;
  font-weight: 950;
  letter-spacing: -0.3px;
  color: rgba(255,255,255,.96);
}
body.ld .statistics .section-title p{ color: rgba(255,255,255,.78); }
body.ld[data-theme="light"] .statistics .section-title h3{ color: rgba(10,22,40,.92); }
body.ld[data-theme="light"] .statistics .section-title p{ color: rgba(10,22,40,.70); }

/* Mobile stats */
@media (max-width: 767px){
  body.ld .statistics .row{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.ld .statistics .row > .col{
    float: none !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body.ld .stats{ height: 100%; padding: 14px 12px; gap: 10px; }
  body.ld .stats .stats-icon,
  body.ld .stats-icon{ width: 44px; height: 44px; border-radius: 18px; }
  body.ld .stats-data p{ font-size: 20px; line-height: 1.06; min-width: 6.2ch; }
  body.ld .stats-data h5{
    font-size: 12px;
    letter-spacing: .04em;
    line-height: 1.2;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
}
@media (max-width: 420px){
  body.ld .statistics .row{ grid-template-columns: 1fr !important; }
}

/* =========================
   SCREENSHOTS + FAQ (base)
========================= */
body.ld .screenShots{ padding: 56px 0; }
body.ld .screenShots .section-title h3{
  margin: 0 0 18px;
  font-weight: 950;
  letter-spacing: -0.3px;
  color: rgba(255,255,255,.96);
}
body.ld .screenShots .container{ position: relative; }
body.ld .screenShots .col-sm-8{ float: none; }

body.ld .sec-title{
  margin: 0 0 18px;
  font-weight: 950;
  letter-spacing: -0.3px;
  color: rgba(255,255,255,.96);
}
body.ld .sec-title span{
  display:inline-block;
  margin-left: 10px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.74);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
}

body.ld .faq{
  padding: 58px 0 44px;
  background: linear-gradient(180deg, rgba(255,255,255,.00) 0%, rgba(255,255,255,.02) 100%);
}
body.ld .faq .section-title.style-gradient{ margin-bottom: 10px; }
body.ld .faq h2{ color: rgba(255,255,255,.96); }
body.ld .faq p{ color: rgba(255,255,255,.78); }

body.ld .questions-container .panel{
  border: 0 !important;
  border-radius: var(--ld-radius2) !important;
  overflow: hidden;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: var(--ld-shadow2);
}
body.ld .questions-container .panel + .panel{ margin-top: 12px; }
body.ld .questions-container .panel-heading{ border: 0 !important; background: transparent !important; }
body.ld .questions-container .panel-title a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 16px;
  font-weight: 900;
  color: rgba(255,255,255,.95) !important;
  text-decoration:none !important;
}
body.ld .questions-container .panel-body{
  padding: 0 16px 16px;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
}

/* =========================
   FOOTER BASE
========================= */
body.ld .footer4{
  background: rgba(7,16,31,.86);
  border-top: 1px solid rgba(255,255,255,.10);
}
body.ld .footer4 a.text-white{
  color: rgba(255,255,255,.85) !important;
  text-decoration: none !important;
}
body.ld .footer4 a.text-white:hover{ color: #fff !important; }
body.ld .ld-paywrap > div{
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 14px !important;
}
body.ld .ld-soft-text{ color: rgba(255,255,255,.74); }

/* Bootstrap gutters (landing only) */
body.ld .row{ margin-left: -12px; margin-right: -12px; }
body.ld .row > [class*="col-"]{ padding-left: 12px; padding-right: 12px; }

/* =========================================================
   LD SEO SECTION — CANONICAL (CLEAN & FLAT DESIGN)
========================================================= */

/* Shared tokens for lead & tail (default = DARK) */
body.ld{
  --seo-box-bg: rgba(255,255,255,.03);
  --seo-box-border: rgba(255,255,255,.08);
  --seo-box-shadow: 0 4px 12px rgba(0,0,0,.15);

  --seo-title: rgba(255,255,255,.95);
  --seo-text: rgba(255,255,255,.75);

  --seo-badge-bg: rgba(255,255,255,.08);
  --seo-badge-text: rgba(255,255,255,.95);

  --seo-line: rgba(255,255,255,.08);

  --seo-check-bg: rgba(74,163,255,.12);
  --seo-check-icon: #4aa3ff;
}

/* LIGHT tokens */
body.ld[data-theme="light"],
html[data-theme="light"] body.ld,
body.ld.theme-light,
body.ld.light{
  --seo-box-bg: #ffffff;
  --seo-box-border: rgba(15,23,42,.08);
  --seo-box-shadow: 0 4px 16px rgba(15,23,42,.04);

  --seo-title: #0f172a;
  --seo-text: #334155;

  --seo-badge-bg: #f1f5f9;
  --seo-badge-text: #0f172a;

  --seo-line: rgba(15,23,42,.08);

  --seo-check-bg: #eff6ff;
  --seo-check-icon: #3b82f6;
}

body.ld .ld-seo{
  position: relative;
  isolation: isolate;
  padding: 74px 0 64px;
  background: transparent;
}

/* Title */
body.ld .ld-seo-title{
  margin: 0 0 20px;
  font-weight: 850;
  letter-spacing: -0.5px;
  line-height: 1.2;
  font-size: 30px;
  max-width: 1080px;
  color: var(--seo-title);
}
@media (min-width: 768px){ body.ld .ld-seo-title{ font-size: 36px; } }

/* LEAD */
body.ld .ld-seo .ld-seo-skin .ld-seo-lead{
  position: relative;
  margin: 0 0 26px;
  padding: 20px 22px;
  border-radius: 16px;
  width: 100% !important;
  max-width: none !important;
  background: var(--seo-box-bg);
  border: 1px solid var(--seo-box-border);
  box-shadow: var(--seo-box-shadow);
  color: var(--seo-text);
  font-size: 16px;
  line-height: 1.7;
  counter-reset: seoLead;
}

body.ld .ld-seo .ld-seo-skin .ld-seo-lead p{
  position: relative;
  margin: 0 0 12px;
  padding-left: 42px;
  color: var(--seo-text);
  font-size: 15.5px;
  line-height: 1.7;
}

body.ld .ld-seo .ld-seo-skin .ld-seo-lead p:before{
  counter-increment: seoLead;
  content: counter(seoLead);
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--seo-badge-text);
  background: var(--seo-badge-bg);
}
body.ld .ld-seo .ld-seo-skin .ld-seo-lead p:last-child{ margin-bottom: 0; }

/* GRID */
body.ld .ld-seo-grid{
  margin: 26px 0 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: ldseo;
}
@media (max-width: 991px){ body.ld .ld-seo-grid{ grid-template-columns: 1fr; } }

/* Cards and Blocks Base Styles */
body.ld .ld-seo-card,
body.ld .ld-seo-block,
body.ld .ld-seo-faq details {
  position: relative;
  background: var(--seo-box-bg);
  border: 1px solid var(--seo-box-border);
  box-shadow: var(--seo-box-shadow);
  border-radius: 16px;
}

body.ld .ld-seo-card{
  padding: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
body.ld .ld-seo-card:hover{
  transform: translateY(-2px);
}
body.ld .ld-seo-card{ counter-increment: ldseo; }

body.ld .ld-seo-card h3,
body.ld .ld-seo-block h3 {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--seo-title);
}

body.ld .ld-seo-card h3{
  position: relative;
  padding-left: 36px;
}
body.ld .ld-seo-card h3::before{
  content: counter(ldseo);
  position:absolute;
  left: 0;
  top: -3px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 13px;
  font-weight: 800;
  color: var(--seo-badge-text);
  background: var(--seo-badge-bg);
}
body.ld .ld-seo-card p,
body.ld .ld-seo-faq details p {
  margin: 0;
  color: var(--seo-text);
  line-height: 1.65;
  font-size: 15px;
}

/* Columns */
body.ld .ld-seo-columns{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}
@media (max-width: 991px){ body.ld .ld-seo-columns{ grid-template-columns: 1fr; } }

body.ld .ld-seo-block{
  padding: 20px;
}

body.ld .ld-seo-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
body.ld .ld-seo-list li{
  position: relative;
  padding-left: 36px;
  color: var(--seo-text);
  line-height: 1.55;
  font-size: 15px;
}
body.ld .ld-seo-list li:before{
  content:"";
  position:absolute;
  left: 0;
  top: 0px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--seo-check-bg);
}
body.ld .ld-seo-list li:after{
  content:"";
  position:absolute;
  left: 8px;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--seo-check-icon);
  border-bottom: 2px solid var(--seo-check-icon);
  transform: rotate(-45deg);
}

/* FAQ */
body.ld .ld-seo-faq{ margin-top: 22px; display: grid; gap: 12px; font-family: 'Open Sans', sans-serif;}
body.ld .ld-seo-faq details{
  overflow: hidden;
  transition: box-shadow .2s ease;
}
body.ld .ld-seo-faq details:hover{
  box-shadow: var(--seo-box-shadow);
}
body.ld .ld-seo-faq summary{
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  color: var(--seo-title);
  font-size: 15px;
}
body.ld .ld-seo-faq summary::-webkit-details-marker{ display:none; }
body.ld .ld-seo-faq summary:after{
  content:"";
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--seo-badge-bg);
  flex: 0 0 auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(255,255,255,0.88)' d='M7.41 8.59a1 1 0 0 1 1.41 0L12 11.76l3.18-3.17a1 1 0 1 1 1.41 1.41l-3.88 3.88a1 1 0 0 1-1.41 0L7.41 10a1 1 0 0 1 0-1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  transition: transform .2s ease;
}
body.ld[data-theme="light"] .ld-seo-faq summary:after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(15,23,42,0.70)' d='M7.41 8.59a1 1 0 0 1 1.41 0L12 11.76l3.18-3.17a1 1 0 1 1 1.41 1.41l-3.88 3.88a1 1 0 0 1-1.41 0L7.41 10a1 1 0 0 1 0-1.41z'/%3E%3C/svg%3E");
}
body.ld .ld-seo-faq details[open] summary:after{ transform: rotate(180deg); }
body.ld .ld-seo-faq details p{
  padding: 0 20px 20px;
}

/* Tail */
body.ld .ld-seo .ld-seo-skin .ld-seo-tail{
  position: relative;
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--seo-box-bg);
  border: 1px solid var(--seo-box-border);
  box-shadow: var(--seo-box-shadow);
  counter-reset: seoTail;
}
body.ld .ld-seo .ld-seo-skin .ld-seo-tail:before{
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 14px;
  height: 1px;
  background: var(--seo-line);
}
body.ld .ld-seo .ld-seo-skin .ld-seo-tail > h3{
  margin: 0 0 12px;
  padding-top: 12px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--seo-title);
}
body.ld .ld-seo .ld-seo-skin .ld-seo-tail > p{
  position: relative;
  margin: 0 0 12px;
  padding-left: 42px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--seo-text);
}
body.ld .ld-seo .ld-seo-skin .ld-seo-tail > p:before{
  counter-increment: seoTail;
  content: counter(seoTail);
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--seo-badge-text);
  background: var(--seo-badge-bg);
}
body.ld .ld-seo .ld-seo-skin .ld-seo-tail > p:last-child{ margin-bottom: 0; }

/* SEO mobile polish */
@media (max-width: 767px){
  body.ld .ld-seo{ padding: 50px 0; }
  body.ld .ld-seo-title{ font-size: 24px; }
  body.ld .ld-seo .ld-seo-skin .ld-seo-lead{ font-size: 15px; }
  
  body.ld .ld-seo-card,
  body.ld .ld-seo-block,
  body.ld .ld-seo-faq details{
    border-radius: 14px;
  }
  body.ld .ld-seo-card, body.ld .ld-seo-block{ padding: 16px; }
  body.ld .ld-seo-faq summary{ padding: 16px; }
  body.ld .ld-seo-faq details p{ padding: 0 16px 16px; }

  body.ld .ld-seo .ld-seo-skin .ld-seo-tail,
  body.ld .ld-seo .ld-seo-skin .ld-seo-lead{
    padding: 16px;
    border-radius: 14px;
  }
  body.ld .ld-seo .ld-seo-skin .ld-seo-tail:before{
    left: 16px; right: 16px; top: 12px;
  }
  body.ld .ld-seo .ld-seo-skin .ld-seo-tail > h3{ font-size: 18px; }
}

/* =========================================================
   FAST ORDER (guest) — cosmetics
========================================================= */
body.ld .screenShots.ld-fastorder{ padding: 56px 0 18px; }
body.ld .screenShots.ld-fastorder .section-title{ margin-bottom: 18px; }
body.ld .screenShots.ld-fastorder .section-title h3{
  margin: 0 0 16px !important;
  font-weight: 950;
  letter-spacing: -0.3px;
  color: rgba(255,255,255,.96);
  text-shadow: 0 12px 34px rgba(0,0,0,.20);
}
body.ld .screenShots.ld-fastorder .section-title > span{
  display:block;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg,
    rgba(255,255,255,.00) 0%,
    rgba(255,255,255,.10) 20%,
    rgba(74,163,255,.18) 50%,
    rgba(255,255,255,.10) 80%,
    rgba(255,255,255,.00) 100%);
  border-radius: 999px;
}

body.ld .screenShots.ld-fastorder .breadcrumbs,
body.ld .screenShots.ld-fastorder nav.breadcrumb,
body.ld .screenShots.ld-fastorder .breadcrumb{
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--ld-shadow2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin: 0;
}
body.ld .screenShots.ld-fastorder .breadcrumb a{
  color: rgba(255,255,255,.82) !important;
  text-decoration: none !important;
}
body.ld .screenShots.ld-fastorder .breadcrumb a:hover{ color: #fff !important; }

body.ld .statistics.ld-fastorder-sep.section-without-title{ padding: 26px 0; }
body.ld .statistics.ld-fastorder-sep.section-bg-img{
  background:
    radial-gradient(900px 360px at 25% 30%, rgba(74,163,255,.14), transparent 60%),
    radial-gradient(900px 360px at 80% 50%, rgba(123,92,255,.12), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.00) 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
body.ld .statistics.ld-fastorder-sep .app-overlay{ background: transparent !important; }

body.ld[data-theme="light"] .screenShots.ld-fastorder .section-title h3{
  color: rgba(10,22,40,.92);
  text-shadow: 0 14px 40px rgba(10,22,40,.10);
}
body.ld[data-theme="light"] .screenShots.ld-fastorder .breadcrumb,
body.ld[data-theme="light"] .screenShots.ld-fastorder nav.breadcrumb,
body.ld[data-theme="light"] .screenShots.ld-fastorder .breadcrumbs{
  background: rgba(255,255,255,.92);
  border-color: rgba(15,23,42,.10);
  box-shadow: 0 16px 42px rgba(15,23,42,.08);
}
body.ld[data-theme="light"] .screenShots.ld-fastorder .breadcrumb a{ color: rgba(10,22,40,.74) !important; }

body.ld[data-theme="light"] .statistics.ld-fastorder-sep.section-bg-img{
  background:
    radial-gradient(900px 360px at 25% 30%, rgba(74,163,255,.10), transparent 60%),
    radial-gradient(900px 360px at 80% 50%, rgba(123,92,255,.08), transparent 62%),
    linear-gradient(180deg, rgba(15,23,42,.02) 0%, rgba(15,23,42,.00) 100%);
  border-top: 1px solid rgba(15,23,42,.06);
  border-bottom: 1px solid rgba(15,23,42,.06);
}

@media (max-width: 767px){
  body.ld .screenShots.ld-fastorder{ padding: 46px 0 14px; }
  body.ld .screenShots.ld-fastorder .breadcrumb,
  body.ld .screenShots.ld-fastorder nav.breadcrumb,
  body.ld .screenShots.ld-fastorder .breadcrumbs{
    width: 100%;
    border-radius: 18px;
    padding: 10px 12px;
  }
  body.ld .statistics.ld-fastorder-sep.section-without-title{ padding: 18px 0; }
}

/* =========================================================
   LANDING divider for #freelike (no gradients)
========================================================= */
body.ld #freelike .section-title > span{ display: none !important; }

body.ld #freelike .section-title h3{ color: rgba(255,255,255,.92) !important; }
body.ld[data-theme="light"] #freelike .section-title h3{ color: rgba(15,23,42,.92) !important; }

body.ld #freelike .fl-landing-divider{
  width: 260px;
  height: 18px;
  margin: 14px auto 0;
  position: relative;
}
body.ld #freelike .fl-landing-divider::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background:
    linear-gradient(currentColor, currentColor) left center / 92px 3px no-repeat,
    linear-gradient(currentColor, currentColor) right center / 92px 3px no-repeat;
  color: rgba(255,255,255,.28);
}
body.ld #freelike .fl-landing-divider::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 3px;
  border: 2px solid rgba(74,163,255,.65);
  background: transparent;
  box-shadow: 0 0 0 4px rgba(74,163,255,.10);
}
body.ld[data-theme="light"] #freelike .fl-landing-divider::before{ color: rgba(15,23,42,.20); }

/* =========================================================
   FOOTER (id: footer4-4)
========================================================= */
body.ld #footer4-4{ padding: 60px 0 40px; position: relative; }

body.ld #footer4-4 .ld-footer__grid{
  display: flex;
  flex-wrap: wrap;
  gap: 40px 0;
}
body.ld #footer4-4 .ld-footer__col{ margin-bottom: 10px; }

body.ld #footer4-4 .ld-foot-title{
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
}
body.ld[data-theme="light"] #footer4-4 .ld-foot-title{
  border-bottom: 1px solid rgba(15,23,42,.12);
  color: rgba(15,23,42,.65);
}

body.ld #footer4-4 .ld-foot-text{
  color: rgba(255,255,255,.75);
  line-height: 1.6;
}
body.ld #footer4-4 .ld-foot-email{ font-weight: 700; }
body.ld[data-theme="light"] #footer4-4 .ld-foot-text{ color: rgba(15,23,42,.75); }

body.ld #footer4-4 .ld-foot-link{
  display: inline-block;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}
body.ld #footer4-4 .ld-foot-link:hover{
  color: #ffffff;
  transform: translateX(3px);
}
body.ld[data-theme="light"] #footer4-4 .ld-foot-link{ color: rgba(15,23,42,.85); }
body.ld[data-theme="light"] #footer4-4 .ld-foot-link:hover{ color: #0f172a; }

body.ld #footer4-4 .ld-foot-links{ margin-top: 28px; }
body.ld #footer4-4 .ld-foot-title--center{ text-align: center; }

body.ld #footer4-4 .ld-foot-links__list{
  margin-top: 16px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;

  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

body.ld #footer4-4 .ld-foot-chip{
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  transition: all .2s ease;
}
body.ld #footer4-4 .ld-foot-chip:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
}

body.ld[data-theme="light"] #footer4-4 .ld-foot-chip{
  background: rgba(255,255,255,.9);
  border-color: rgba(15,23,42,.12);
  color: rgba(15,23,42,.85);
  box-shadow: 0 12px 22px rgba(15,23,42,.06);
}
body.ld[data-theme="light"] #footer4-4 .ld-foot-chip:hover{
  border-color: rgba(15,23,42,.2);
  color: rgba(15,23,42,.95);
}

body.ld #footer4-4 .ld-foot-note{
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,.6);
}
body.ld[data-theme="light"] #footer4-4 .ld-foot-note{ color: rgba(15,23,42,.55); }

body.ld #footer4-4 .ld-foot-pay{ margin-top: 30px; }
body.ld #footer4-4 .ld-paywrap{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
body.ld #footer4-4 .ld-payitem{
  width: 95px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .18s ease;
}
body.ld #footer4-4 .ld-payitem img{
  max-height: 26px;
  max-width: 80%;
  object-fit: contain;
}
body.ld #footer4-4 .ld-payitem:hover{ transform: translateY(-3px); }
body.ld[data-theme="light"] #footer4-4 .ld-payitem{
  background: rgba(255,255,255,.92);
  border-color: rgba(15,23,42,.12);
  box-shadow: 0 14px 28px rgba(15,23,42,.05);
}

body.ld #footer4-4 .ld-foot-copy{ margin-top: 30px; }
body.ld #footer4-4 .ld-foot-copylink{
  font-size: 12px;
  letter-spacing: .45em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,.6);
}
body.ld #footer4-4 .ld-foot-copylink:hover{ color: #ffffff; }
body.ld[data-theme="light"] #footer4-4 .ld-foot-copylink{ color: rgba(15,23,42,.6); }

/* Footer mobile */
@media (max-width: 768px){
  body.ld #footer4-4 .ld-footer__grid{ flex-direction: column; }
  body.ld #footer4-4 .ld-foot-links__list{ justify-content: flex-start; }
  body.ld #footer4-4 .ld-foot-note{ text-align: left; }

  body.ld #footer4-4 .ld-foot-links__list{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    justify-content: center;
  }
  body.ld #footer4-4 .ld-foot-chip{
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 12px;
    font-size: 14px;
    line-height: 1.15;
    min-height: 46px;
    border-radius: 999px;
    white-space: normal;
  }
}
@media (max-width: 420px){
  body.ld #footer4-4 .ld-foot-links__list{ grid-template-columns: 1fr; }
  body.ld #footer4-4 .ld-foot-chip{ min-height: 48px; }
}

/* =========================================================
   HERO: "Также доступны" — chips desktop / links mobile
========================================================= */
body.ld{
  --net-label: rgba(255,255,255,.62);
  --net-chip-text: rgba(255,255,255,.92);
  --net-chip-bg: rgba(255,255,255,.08);
  --net-chip-border: rgba(255,255,255,.20);
  --net-chip-bg-hover: rgba(255,255,255,.12);
  --net-chip-border-hover: rgba(255,255,255,.32);

  --net-link-text: rgba(255,255,255,.92);
  --net-link-hover: rgba(255,255,255,1);
  --net-link-sep: rgba(255,255,255,.32);
}
body.ld[data-theme="light"],
html[data-theme="light"] body.ld,
body.ld.theme-light,
body.ld.light{
  --net-label: rgba(15,23,42,.60);
  --net-chip-text: rgba(15,23,42,.88);
  --net-chip-bg: rgba(15,23,42,.04);
  --net-chip-border: rgba(15,23,42,.12);
  --net-chip-bg-hover: rgba(15,23,42,.06);
  --net-chip-border-hover: rgba(15,23,42,.18);

  --net-link-text: rgba(15,23,42,.80);
  --net-link-hover: rgba(15,23,42,.98);
  --net-link-sep: rgba(15,23,42,.22);
}

body.ld .ld-networks-line{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0 14px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--net-label);
}
body.ld .ld-networks-line .ld-networks-label{
  font-weight: 800;
  color: var(--net-label);
  margin-right: 4px;
}
body.ld .ld-networks-line a{
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--net-chip-border);
  background: var(--net-chip-bg);
  color: var(--net-chip-text);
  text-decoration: none;
  line-height: 1;
  font-weight: 800;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
body.ld .ld-networks-line a:hover{
  border-color: var(--net-chip-border-hover);
  background: var(--net-chip-bg-hover);
  transform: translateY(-1px);
}
body.ld .ld-networks-line a:active{ transform: translateY(0); }

@media (max-width: 768px){
  body.ld .ld-networks-line{
    display: block;
    margin: 10px 0 12px;
    font-size: 14px;
    line-height: 1.35;
  }
  body.ld .ld-networks-line .ld-networks-label{
    display: inline;
    margin-right: 8px;
    font-weight: 700;
    opacity: .72;
    line-height: 1.95;
  }
  body.ld .ld-networks-line a{
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    font-weight: 800;
    color: var(--net-link-text);
    text-decoration: none;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.10);
  }
  body.ld .ld-networks-line a:hover,
  body.ld .ld-networks-line a:focus{
    color: var(--net-link-hover);
    box-shadow: inset 0 -2px 0 rgba(0,0,0,.18);
    outline: none;
  }
  body.ld .ld-networks-line a + a{
    position: relative;
    margin-left: 12px;
  }
  body.ld .ld-networks-line a + a:before{
    content: "•";
    position: absolute;
    left: -10px;
    top: 0;
    color: var(--net-link-sep);
    font-weight: 900;
    opacity: .7;
  }
  body.ld:not([data-theme="light"]) .ld-networks-line a{
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.18);
  }
  body.ld:not([data-theme="light"]) .ld-networks-line a:hover,
  body.ld:not([data-theme="light"]) .ld-networks-line a:focus{
    box-shadow: inset 0 -2px 0 rgba(255,255,255,.28);
  }
}
/* =========================================================
   LIKEDROM — ACTIVITY CHAT (widget_comments) — STREAM UI
   Сообщения БЕЗ карточек: лента + разделители
   Scope: #vk_widget #chat.widget_comments
   ========================================================= */

#vk_widget #chat.widget_comments{
  --chat-bg-light: rgba(255,255,255,.68);
  --chat-bg-dark: rgba(15,23,42,.45);

  --chat-border-light: rgba(15,23,42,.10);
  --chat-border-dark: rgba(255,255,255,.12);

  --chat-text-light: rgba(15,23,42,.92);
  --chat-text-dark: rgba(226,232,240,.92);

  --chat-muted-light: rgba(15,23,42,.56);
  --chat-muted-dark: rgba(226,232,240,.60);

  --chat-sep-light: rgba(15,23,42,.10);
  --chat-sep-dark: rgba(255,255,255,.10);

  --chat-accent: #3b82f6;

  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--chat-border-light);
  background: var(--chat-bg-light);
  box-shadow: 0 18px 55px rgba(15,23,42,.10);
}

html[data-theme="dark"] #vk_widget #chat.widget_comments,
body[data-theme="dark"] #vk_widget #chat.widget_comments{
  border-color: var(--chat-border-dark);
  background: var(--chat-bg-dark);
  box-shadow: 0 22px 70px rgba(0,0,0,.35);
}

/* верх (оставляем стеклянным) */
#vk_widget #chat.widget_comments .widget_top{
  padding: 14px;
  border-bottom: 1px solid var(--chat-sep-light);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
}

html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_top,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_top{
  border-bottom-color: var(--chat-sep-dark);
  background: rgba(2,6,23,.25);
}

#vk_widget #chat.widget_comments .widget_title{
  margin: 0 0 10px 0;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .2px;
  color: var(--chat-text-light);
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_title,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_title{
  color: var(--chat-text-dark);
}
#vk_widget #chat.widget_comments .widget_title span span{
  color: var(--chat-muted-light);
  font-weight: 700;
  margin-left: 6px;
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_title span span,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_title span span{
  color: var(--chat-muted-dark);
}

/* форма */
#vk_widget #chat.widget_comments .widget_top_message{
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: start;
}

#vk_widget #chat.widget_comments .widget_top_message .preview_user{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--chat-border-light);
  background: rgba(255,255,255,.65);
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_top_message .preview_user,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_top_message .preview_user{
  border-color: var(--chat-border-dark);
  background: rgba(2,6,23,.25);
}
#vk_widget #chat.widget_comments .preview_user img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#vk_widget #chat.widget_comments .widget_top_message textarea{
  width: 100%;
  min-height: 44px;
  max-height: 140px;
  resize: vertical;

  border-radius: 12px;
  border: 1px solid var(--chat-border-light);
  background: rgba(255,255,255,.86);
  padding: 10px 12px;

  font-size: 14px;
  line-height: 1.35;
  color: var(--chat-text-light);

  outline: none;
  box-shadow: none;
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_top_message textarea,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_top_message textarea{
  border-color: var(--chat-border-dark);
  background: rgba(2,6,23,.28);
  color: var(--chat-text-dark);
}
#vk_widget #chat.widget_comments .widget_top_message textarea::placeholder{
  color: var(--chat-muted-light);
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_top_message textarea::placeholder,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_top_message textarea::placeholder{
  color: var(--chat-muted-dark);
}
#vk_widget #chat.widget_comments .widget_top_message textarea:focus{
  border-color: rgba(59,130,246,.55);
  box-shadow: 0 0 0 4px rgba(59,130,246,.18);
}

#vk_widget #chat.widget_comments input[type="button"].comment_button,
#vk_widget #chat.widget_comments input[type="button"].load_comment{
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;

  border: 1px solid rgba(59,130,246,.45);
  background: rgba(59,130,246,.14);
  color: rgba(15,23,42,.92);

  font-weight: 900;
  font-size: 13px;
  letter-spacing: .2px;

  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, opacity .12s ease;
  -webkit-tap-highlight-color: transparent;
}
html[data-theme="dark"] #vk_widget #chat.widget_comments input[type="button"].comment_button,
html[data-theme="dark"] #vk_widget #chat.widget_comments input[type="button"].load_comment,
body[data-theme="dark"] #vk_widget #chat.widget_comments input[type="button"].comment_button,
body[data-theme="dark"] #vk_widget #chat.widget_comments input[type="button"].load_comment{
  color: rgba(226,232,240,.95);
  border-color: rgba(148,163,184,.22);
  background: rgba(148,163,184,.12);
}
#vk_widget #chat.widget_comments input[type="button"].comment_button:hover,
#vk_widget #chat.widget_comments input[type="button"].load_comment:hover{
  transform: translateY(-1px);
  background: rgba(59,130,246,.18);
  border-color: rgba(59,130,246,.58);
}
html[data-theme="dark"] #vk_widget #chat.widget_comments input[type="button"].comment_button:hover,
html[data-theme="dark"] #vk_widget #chat.widget_comments input[type="button"].load_comment:hover,
body[data-theme="dark"] #vk_widget #chat.widget_comments input[type="button"].comment_button:hover,
body[data-theme="dark"] #vk_widget #chat.widget_comments input[type="button"].load_comment:hover{
  background: rgba(148,163,184,.16);
  border-color: rgba(148,163,184,.28);
}

/* тело — лента */
#vk_widget #chat.widget_comments .widget_body{
  padding: 6px 10px;
  max-height: 560px;
  overflow: auto;
}

/* === ВАЖНО: убираем “карточку” сообщения === */
#vk_widget #chat.widget_comments .widget_body .item{
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;

  padding: 12px 10px;
  margin: 0;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* разделитель между сообщениями */
#vk_widget #chat.widget_comments .widget_body .item + .item{
  border-top: 1px solid var(--chat-sep-light);
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item + .item,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item + .item{
  border-top-color: var(--chat-sep-dark);
}

/* hover строкой, без блока */
#vk_widget #chat.widget_comments .widget_body .item:hover{
  background: rgba(59,130,246,.06) !important;
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item:hover,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item:hover{
  background: rgba(148,163,184,.07) !important;
}

/* аватар в ленте */
#vk_widget #chat.widget_comments .widget_body .item .preview_user{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--chat-border-light);
  background: rgba(255,255,255,.60);
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item .preview_user,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item .preview_user{
  border-color: var(--chat-border-dark);
  background: rgba(2,6,23,.22);
}

/* текст */
#vk_widget #chat.widget_comments .widget_body .item .text_message{
  min-width: 0;
}

#vk_widget #chat.widget_comments .widget_body .item .text_message > span{
  display: inline-block;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--chat-text-light);
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item .text_message > span,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item .text_message > span{
  color: var(--chat-text-dark);
}

#vk_widget #chat.widget_comments .widget_body .item .text_message p{
  margin: 0 0 8px 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--chat-text-light);
  word-break: break-word;
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item .text_message p,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item .text_message p{
  color: var(--chat-text-dark);
}

/* ссылки — аккуратно */
#vk_widget #chat.widget_comments .widget_body .item .text_message a{
  color: var(--chat-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(59,130,246,.35);
}
#vk_widget #chat.widget_comments .widget_body .item .text_message a:hover{
  border-bottom-color: rgba(59,130,246,.70);
}

/* дата + Reply в одну линию */
#vk_widget #chat.widget_comments .widget_body .item .text_message i{
  display: flex;
  gap: 10px;
  align-items: center;
  font-style: normal;
  font-size: 12px;
  color: var(--chat-muted-light);
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item .text_message i,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item .text_message i{
  color: var(--chat-muted-dark);
}

/* "Ответить" как текстовая pill */
#vk_widget #chat.widget_comments .widget_body .item .text_message i a{
  border: 0 !important;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(59,130,246,.12);
  color: rgba(15,23,42,.88);
  font-weight: 900;
  cursor: pointer;
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item .text_message i a,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item .text_message i a{
  background: rgba(148,163,184,.12);
  color: rgba(226,232,240,.92);
}
#vk_widget #chat.widget_comments .widget_body .item .text_message i a:hover{
  background: rgba(59,130,246,.18);
}

/* delete (крестик) — прячем почти полностью, показываем на hover */
#vk_widget #chat.widget_comments .widget_body .item .delete{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--chat-sep-light);
  background: rgba(255,255,255,.50);
  opacity: .08;
  transition: opacity .12s ease, transform .12s ease;
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item .delete,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item .delete{
  border-color: var(--chat-sep-dark);
  background: rgba(2,6,23,.22);
}
#vk_widget #chat.widget_comments .widget_body .item:hover .delete{
  opacity: .75;
  transform: translateY(-1px);
}
#vk_widget #chat.widget_comments .widget_body .item .delete .line{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: rgba(15,23,42,.65);
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item .delete .line,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_body .item .delete .line{
  background: rgba(226,232,240,.65);
}
#vk_widget #chat.widget_comments .widget_body .item .delete .line:first-child{
  transform: translate(-50%,-50%) rotate(45deg);
}
#vk_widget #chat.widget_comments .widget_body .item .delete .line:last-child{
  transform: translate(-50%,-50%) rotate(-45deg);
}

/* футер */
#vk_widget #chat.widget_comments .widget_footer{
  padding: 12px 14px 14px 14px;
  border-top: 1px solid var(--chat-sep-light);
  background: rgba(255,255,255,.55);
}
html[data-theme="dark"] #vk_widget #chat.widget_comments .widget_footer,
body[data-theme="dark"] #vk_widget #chat.widget_comments .widget_footer{
  border-top-color: var(--chat-sep-dark);
  background: rgba(2,6,23,.22);
}

/* мобилка — кнопка отправки под textarea */
@media (max-width: 640px){
  #vk_widget #chat.widget_comments .widget_top_message{
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
  }
  #vk_widget #chat.widget_comments .widget_top_message input[type="button"].comment_button{
    grid-column: 1 / -1;
    width: 100%;
  }
}