/* dom2vse.ru corrective layer v1.3.2 */
:root{
  --v132-ink:#111a2e;
  --v132-muted:#6d768a;
  --v132-line:#e1e7f0;
  --v132-blue:#668cff;
}

/* Compact first screen: cards move upward, SEO H2 lives below the feed. */
.vse-home-top{margin-bottom:20px!important}
.vse-home-intro p{max-width:620px!important;margin-bottom:0!important}
.vse-feed{padding-top:0!important}
.vse-feed__intro{display:none!important}
.vse-feed__toolbar{margin-top:0!important;margin-bottom:18px!important}
.vse-home-seo{
  margin-top:30px;padding:24px 26px;border:1px solid var(--v132-line);border-radius:18px;
  background:linear-gradient(135deg,#fff,#f8faff);color:var(--v132-muted)
}
.vse-home-seo h2{margin:7px 0 10px;color:var(--v132-ink);font-size:clamp(24px,2.5vw,34px);letter-spacing:-.03em}
.vse-home-seo p{max-width:900px;margin:0;line-height:1.68}
.vse-category__seo h2{margin:0 0 8px;color:var(--v132-ink);font-size:22px}
.vse-category__seo p{margin:0}

/* /segodnya/: defensive reset even while the physical bridge is used. */
.vse-inner--today{min-height:0!important}
.vse-day,.vse-day *{box-sizing:border-box}
.vse-day svg{display:block!important}
.vse-day__grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
.vse-day__grid>.vse-card{min-width:0!important;width:auto!important;margin:0!important}
.vse-day__head{margin-bottom:20px!important}
.vse-day__note{margin-top:18px!important}

/* Fallback picture occupies exactly one 16:9 player area. */
.vse-player{position:relative!important;overflow:hidden!important;border-radius:20px!important;background:#0e1728!important}
.vse-lazy-player,.vse-tabs-player,.vse-tab-panel{position:relative!important;width:100%!important}
.vse-okko-external,.vse-player-facade,.vse-player-empty{
  position:relative!important;display:block!important;width:100%!important;height:auto!important;
  min-height:0!important;aspect-ratio:16/9!important;overflow:hidden!important;border:0!important;
  margin:0!important;padding:0!important;background:#0e1728!important;color:#fff!important
}
.vse-format-fallback{
  position:absolute!important;inset:0!important;z-index:1!important;display:block!important;
  width:auto!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden!important
}
.vse-format-fallback__item{position:absolute!important;inset:0!important;display:none!important}
.vse-format-fallback__item img{
  position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;object-fit:cover!important
}
.vse-episode--light .vse-format-fallback__item--light,
.vse-episode--new-life .vse-format-fallback__item--new-life,
.vse-episode--after-dark .vse-format-fallback__item--after-dark{display:block!important}
.vse-player-facade>img,.vse-okko-external>img{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important
}
.vse-player-facade__shade{z-index:4!important}
.vse-player-facade__play,.vse-player-facade>strong,.vse-okko-external>strong,.vse-okko-external>small,.vse-player-empty__copy{z-index:8!important}
.vse-format-stamp{z-index:3!important}
.vse-lazy-player__stage[hidden]{display:none!important}
.vse-lazy-player__stage:not([hidden]){
  position:relative!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;background:#000!important
}
.vse-lazy-player__stage iframe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important}
.vse-tab-panel{display:none!important}
.vse-tab-panel.is-active{display:block!important}
.vse-tabs-player{background:#fff!important}
.vse-player-tabs{position:relative!important;z-index:10!important}
.vse-player-empty__copy{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important}
.vse-player-facade--compact{aspect-ratio:4/1!important;min-height:128px!important}

/* Only one breadcrumb chain on full pages. */
.vse-main>.vse-container>.vse-breadcrumbs{display:none!important}
.vse-breadcrumbs--single,.vse-breadcrumbs--today{display:flex!important}

/* Cards in every category use the same horizontal artwork rules as the home page. */
.vse-card__media{position:relative!important;aspect-ratio:16/9!important;overflow:hidden!important;background:#edf2fa!important}
.vse-card__media>img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.vse-card__badge{max-width:calc(100% - 24px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

@media(max-width:900px){
  .vse-day__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:660px){
  .vse-day__grid{grid-template-columns:1fr!important}
  .vse-home-top{margin-bottom:14px!important}
  .vse-home-seo{padding:20px}
}
