[data-scroll-gate]{overflow:auto;overscroll-behavior:auto;scrollbar-width:thin;touch-action:pan-y pinch-zoom;outline:1px solid transparent;outline-offset:-1px;transition:outline-color .15s}
[data-scroll-gate][data-scroll-active=true]{outline-color:#d8b98999;overscroll-behavior:contain}
.scroll-gate-hint{display:block;position:sticky;top:0;z-index:4;max-width:100%;margin:0 0 6px auto;padding:3px 6px!important;border:0!important;border-radius:3px;background:#122338e8!important;color:#bdcbd8!important;font:10px/1.35 Manrope,Arial,sans-serif!important;text-align:right;cursor:pointer}
[data-scroll-active=true]>.scroll-gate-hint{color:#ffe0a4!important}
.catalog-book-card,.book-stage{touch-action:pan-y pinch-zoom}.book-dragging [data-book-face]{transition:none!important}.book-swipe svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.7}.book-swipe{padding:9px!important}
.catalog-book-card[data-book-mode=author] .book-text-panel>[data-book-back]{align-self:flex-end}
.book-panel-controls{display:flex;align-items:center;gap:12px;flex:none;padding:6px 14px 10px;min-height:48px}.book-panel-controls>[data-book-back]{flex:none}.book-panel-controls>.scroll-gate-hint{position:static;flex:1;min-width:0;margin:0;padding:3px 0!important;background:transparent!important;text-align:right}.catalog-book-card[data-book-mode=author] .book-panel-controls{flex-direction:row-reverse}.catalog-book-card[data-book-mode=author] .book-panel-controls>.scroll-gate-hint{text-align:left}
.book-links-panel>.book-scroll,.catalog-book-card .book-desktop-offers{min-height:0;overflow-y:auto;overflow-x:hidden;touch-action:pan-y pinch-zoom;overscroll-behavior-y:auto;-webkit-overflow-scrolling:touch}
@media(max-width:760px){.publication-grid:has(>.catalog-book-card){row-gap:32px}.book-swipe{font-size:0}.about-contacts,.about-news .publication-grid,.special-dialog{touch-action:pan-y pinch-zoom}}

@keyframes scroll-gate-flash{0%,35%{outline:3px solid #ffe7a8;box-shadow:inset 0 0 0 3px #ffe7a8,0 0 16px #ffdf8caa}100%{box-shadow:inset 0 0 0 0 #ffe7a800,0 0 0 #ffdf8c00}}
[data-scroll-gate].scroll-gate-flash{animation:scroll-gate-flash .45s ease-out}
@media(pointer:coarse){.publication-card [data-scroll-gate]{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}}
[data-scroll-gate][data-scroll-active=false][data-scroll-input=touch]{overflow-y:hidden;overscroll-behavior:auto}@media(pointer:coarse){[data-scroll-gate][data-scroll-active=false]{overflow-y:hidden;overscroll-behavior:auto}}
/* Native horizontal lists own touch scrolling and momentum. Pointer dragging is for a mouse. */
.about-contacts,.about-news .publication-grid{touch-action:pan-x pan-y pinch-zoom!important;-webkit-overflow-scrolling:touch;scroll-behavior:auto;overscroll-behavior-x:contain}
@media(max-width:760px){
 .about-contacts,.about-news .publication-grid{scroll-snap-type:none!important;gap:12px!important;padding-inline:5%!important;scroll-padding-inline:5%;box-sizing:border-box}
 .about-contacts>.about-contact-card,.about-news .publication-grid>.publication-card{flex:0 0 90%!important;min-width:90%!important;max-width:90%!important;scroll-snap-align:none}
 .about-contact-card{font-size:95%}
 .ad-home-slot .book-heading{font-size:95%}.ad-home-slot .book-heading h3{font-size:25px}
}
