/* The word and the real SВОДА symbol form one compact signature. */
.tipazhi-page .tp-header .tp-brand{flex:0 0 auto;gap:8px}
.tipazhi-page .tp-header .tp-brand .tp-brand-symbol{display:block;flex:none;width:29px;height:29px}
.tipazhi-page .tp-header .tp-brand .tp-svoda-logo{align-items:baseline}
.tipazhi-page .tp-header .tp-brand .tp-svoda-logo i{display:none}

/* Paper scenes remain complete compositions. A native vertical document is the
   baseline; nothing depends on script, device height, or scroll interception. */
.tipazhi-page .tp-world-sticker img{filter:none}
.tipazhi-page .tp-world-sticker:hover{filter:none}
.tipazhi-page .tp-world-material{box-shadow:0 16px 32px #2b31530b}
.tipazhi-page .tp-world{contain:layout paint}
.tipazhi-page .tp-world>p{font-size:14px}

/* A desktop with space and a precise pointer keeps the scroll-led sequence. */
@media (min-width:801px) and (min-height:700px) and (hover:hover) and (pointer:fine){
  .tp9-js[data-motion=full] .tipazhi-page .tp-character-story{height:250svh}
  .tp9-js[data-motion=full] .tipazhi-page .tp-world-sticky{position:sticky;top:0;height:100svh;display:flex;flex-direction:column}
  .tp9-js[data-motion=full] .tipazhi-page .tp-world-header{flex-shrink:0}
  .tp9-js[data-motion=full] .tipazhi-page .tp-world-viewport{flex:1;min-height:0;overflow:clip}
  .tp9-js[data-motion=full] .tipazhi-page .tp-world-rail{height:100%;width:300%;display:flex;flex-direction:row}
  .tp9-js[data-motion=full] .tipazhi-page .tp-world{height:100%;min-height:0;width:calc(100% / 3);flex:0 0 calc(100% / 3)}
  .tp9-js[data-motion=full] .tipazhi-page .tp-world-bottom{display:flex;flex-shrink:0}
  @supports (container-type:size){
    .tp9-js[data-motion=full] .tipazhi-page .tp-world{container-type:size}
    .tp9-js[data-motion=full] .tipazhi-page .tp-world-sticker--0,
    .tp9-js[data-motion=full] .tipazhi-page .tp-world:nth-child(2) .tp-world-sticker--0,
    .tp9-js[data-motion=full] .tipazhi-page .tp-world:nth-child(3) .tp-world-sticker--0{width:min(39%,61cqh);left:38%;top:21%}
    .tp9-js[data-motion=full] .tipazhi-page .tp-world-sticker--1{width:min(29%,49cqh);left:69%;top:3%}
  }
}
@media(max-width:800px){
  .tipazhi-page .tp-header .tp-brand{gap:7px}
  .tipazhi-page .tp-header .tp-brand .tp-brand-symbol{width:25px;height:25px}
}
@media(max-width:760px){
  /* Do not resize the heading when mobile browser chrome changes height. */
  .tipazhi-page .tp-world-sticky{padding-block:25px 12px}
  .tipazhi-page .tp-world-header{padding-bottom:18px}
  .tipazhi-page .tp-world-header h2{font-size:clamp(31px,6vw,42px);line-height:1.08}
  .tipazhi-page .tp-world{height:clamp(560px,94vw,760px);min-height:0}
  .tipazhi-page .tp-world h3{top:5%;font-size:clamp(37px,9.6vw,65px);max-width:82%}
  .tipazhi-page .tp-world>p{bottom:5%;width:82%;max-width:350px;font-size:13px;line-height:1.5}
  .tipazhi-page .tp-world-sticker--0,
  .tipazhi-page .tp-world:nth-child(2) .tp-world-sticker--0,
  .tipazhi-page .tp-world:nth-child(3) .tp-world-sticker--0{left:8%;top:34%;width:62%}
  .tipazhi-page .tp-world-sticker--1{left:51%;top:16%;width:44%}
  @supports (container-type:size){
    .tipazhi-page .tp-world{container-type:size}
    .tipazhi-page .tp-world-sticker--0,
    .tipazhi-page .tp-world:nth-child(2) .tp-world-sticker--0,
    .tipazhi-page .tp-world:nth-child(3) .tp-world-sticker--0{width:min(62%,50cqh)}
    .tipazhi-page .tp-world-sticker--1{width:min(44%,43cqh)}
  }
}
@media(max-width:600px){
  .tipazhi-page .tp-header .tp-brand .tp-brand-symbol{width:23px;height:23px}
  .tipazhi-page .tp-header .tp-svoda-logo{font-size:21px}
  .tipazhi-page .tp-header .tp-wordmark{font-size:17px}
}
@media(max-width:360px){
  .tipazhi-page .tp-header .tp-brand{gap:5px}
  .tipazhi-page .tp-header .tp-brand .tp-brand-symbol{width:21px;height:21px}
  .tipazhi-page .tp-header .tp-svoda-logo{font-size:19px}
  .tipazhi-page .tp-header .tp-wordmark{font-size:16px}
}

/* One preference across СВОДА and ТИПАЖИ; the chat uses the same data attribute. */
.tp9-js[data-motion=reduce],
.tp9-js[data-motion=reduce] .tipazhi-page,
.tp9-js[data-motion=reduce] .tipazhi-page *,
.tp9-js[data-motion=reduce] .tipazhi-page *::before,
.tp9-js[data-motion=reduce] .tipazhi-page *::after,
.tp9-js[data-motion=reduce] .sd-launch{animation:none!important;transition:none!important;scroll-behavior:auto!important}
.tipazhi-page .tp-footer .tp-motion-toggle{min-height:44px;padding:0;border:0;background:none;color:var(--tp-muted);font-size:11px;text-decoration:underline;text-underline-offset:4px;text-align:left}
.tipazhi-page .tp-footer .tp-motion-toggle:hover{color:var(--tp-paper)}
/* Keep the floating dialogue control clear of footer content while scrolling. */
.tipazhi-page .tp-footer{padding-right:72px}
@media(max-width:600px){.tipazhi-page .tp-footer{padding-right:56px}}
