/* © 2026 IG Tools — All rights reserved. */
/* Instagram Fonts shell specifics — the shared bar / dock rules come from ../shared/convshell.css. */
body.mcs-fonts .mcs-tool,body.mcs-fonts .mcs-lang,body.mcs-fonts .mcs-theme{display:flex}
body.mcs-fonts .mcs-theme{margin-left:auto}
body.mcs-fonts{padding:0 0 calc(96px + var(--ad-bot,0px))!important}
body.mcs-fonts .wrap{padding:0 12px;max-width:940px}
body.mcs-fonts .wrap>header{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* the text box stays under the bar while you scroll the lists */
body.mcs-fonts .tbox{position:sticky;top:calc(56px + var(--ad-top,0px));z-index:20;margin:10px 0 8px}
body.mcs-fonts .tbox textarea{min-height:64px}
/* one list at a time; the dock names it, so the section headings go */
body.mcs-fonts .sh{display:none}
body[data-sec=styles] [data-s=frames],body[data-sec=styles] [data-s=symbols],
body[data-sec=frames] [data-s=styles],body[data-sec=frames] [data-s=symbols],
body[data-sec=symbols] [data-s=styles],body[data-sec=symbols] [data-s=frames]{display:none}
body.mcs-fonts .symhint{margin:4px 2px 10px}
/* overflow-x:hidden on html/body makes them scroll containers and silently kills position:sticky; clip does not */
html:has(body.mcs-fonts),body.mcs-fonts{overflow-x:clip}

/* The bottom bar is a FIXED object: it must not move while the page scrolls (Osman, 2026-10-15).
   Every tool stylesheet has html,body{overflow-x:hidden}; with html non-visible that makes <body> a scroll container of
   its own, and Safari then lets fixed children drift with it. `clip` cuts the overflow without making a scroller, so the
   viewport is the only scroll container. The dock also gets its own compositor layer so it never repaints late. */
html body{overflow-x:clip!important}
.mcs-dock{-webkit-transform:translateZ(0);transform:translateZ(0);backface-visibility:hidden;-webkit-backface-visibility:hidden}
