/* Footer and mobile comparison changes requested 21 October 2026. */
html body .site-footer.legal-footer .footer-brand-row{
 grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;
 gap:20px;min-width:0;padding:0 0 6px;
}
html body .site-footer.legal-footer .footer-brand-mark{
 display:block;position:relative;flex:0 0 138px;width:138px;max-width:50%;
 line-height:0;text-decoration:none;
}
html body .site-footer.legal-footer .footer-brand-mark img{
 display:block;width:100%;height:auto;opacity:0;
}
html body .site-footer.legal-footer .footer-brand-mark::before,
html body .site-footer.legal-footer .footer-brand-mark::after{
 content:"";position:absolute;inset:0;pointer-events:none;background:#fff3e5;
 -webkit-mask:url('/assets/logo.png') center/contain no-repeat;
 mask:url('/assets/logo.png') center/contain no-repeat;
}
html body .site-footer.legal-footer .footer-brand-mark::after{
 background:#f4775b;clip-path:polygon(66% 0,100% 0,100% 79%,66% 79%);
}
html body .site-footer.legal-footer .footer-telegram{
 display:flex;align-items:center;justify-content:center;flex:0 0 38px;box-sizing:border-box;
 width:38px;height:38px;border:1px solid #a9917e;border-radius:50%;
 padding:9px;color:#fff3e5;background:transparent;text-decoration:none;
 transition:color .2s,border-color .2s;
}
html body .site-footer.legal-footer .footer-telegram svg{
 display:block;width:100%;height:100%;fill:currentColor;
}
html body .site-footer.legal-footer .footer-telegram:hover{
 color:#f4775b;border-color:#f4775b;
}
html body .site-footer.legal-footer :is(.footer-brand-mark,.footer-telegram):focus-visible{
 outline:2px solid #f4775b;outline-offset:5px;
}
html body .site-footer.legal-footer .legal-document-list a{
 font-size:11px!important;line-height:1.6!important;
}
/* Normal flow prevents the title and description from sharing a grid track in Safari. */
html body.cartoons-page #tariffs .tariff-brief header{
 display:block;height:auto;min-height:0;
}
@media(max-width:599px){
 html body.cartoons-page #tariffs .tariff-brief{padding-top:18px}
 html body.cartoons-page #tariffs .tariff-brief-premium{padding-top:17px}
 html body.cartoons-page #tariffs .tariff-brief header{padding-bottom:8px}
 html body.cartoons-page #tariffs .tariff-brief .tariff-level{margin-bottom:6px}
 html body.cartoons-page #tariffs .tariff-brief .tariff-name-row{margin-bottom:6px}
 html body.cartoons-page #tariffs .tariff-brief .tariff-description{
  overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:auto;
 }
 html body.cartoons-page #tariffs .tariff-brief .tariff-point{padding-block:9px}
 html body.cartoons-page #tariffs .tariff-brief .tariff-point::before{top:9px}
}
