/* KB_TOOLFS: every tool page opens immersive full-screen (like Games .gm-fs) */
html.kb-tfs body>.banner,html.kb-tfs body>.lang-suggest,html.kb-tfs body>.nav,html.kb-tfs body>.foot,
html.kb-tfs body>#kb-consent,html.kb-tfs .kb-cam,html.kb-tfs .kb-asst-btn,html.kb-tfs .kbt,html.kb-tfs .skip,
html.kb-tfs .ad-slot,html.kb-tfs .hero-tool .tool-top,html.kb-tfs .hero-tool>.wrap>h1,html.kb-tfs .hero-tool .lead,
html.kb-tfs .hero-tool .free-strip,html.kb-tfs .hero-tool .freestrip,html.kb-tfs .hero-tool .kb-free,html.kb-tfs .hero-tool .related-row,
html.kb-tfs .hero-tool .exp-here{display:none!important}
html.kb-tfs body{padding:0!important;margin:0;background:var(--bg,#f8fafc)}
html.kb-tfs #main{padding:0;margin:0;max-width:none;min-height:100dvh}
html.kb-tfs .hero-tool{padding:calc(56px + env(safe-area-inset-top)) 0 calc(16px + env(safe-area-inset-bottom))!important;margin:0;background:none;min-height:100dvh;box-sizing:border-box}
html.kb-tfs .hero-tool>.wrap{max-width:none!important;width:100%;padding:0 clamp(8px,2vw,24px);box-sizing:border-box}
html.kb-tfs .hero-tool .converter,html.kb-tfs .hero-tool .app,html.kb-tfs .hero-tool .docapp,html.kb-tfs .hero-tool .card{max-width:none}
html.kb-tfs .kb-more{max-width:900px}
.tfs-bar{display:none}
html.kb-tfs .tfs-bar{display:flex;position:fixed;z-index:900;top:0;left:0;right:0;height:52px;padding:env(safe-area-inset-top) 6px 0;align-items:center;gap:6px;
 background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(1.6) blur(10px);backdrop-filter:saturate(1.6) blur(10px);border-bottom:1px solid rgba(15,23,42,.08);box-sizing:content-box}
.tfs-bar a,.tfs-bar button{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;border:0;border-radius:12px;background:none;color:#0f172a;font:600 1.15rem/1 inherit;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.tfs-bar a:hover,.tfs-bar button:hover,.tfs-bar a:focus-visible,.tfs-bar button:focus-visible{background:#eef2ff}
.tfs-bar .tfs-t{flex:1;min-width:0;margin:0;font:700 1rem/1.2 var(--font,inherit);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#0f172a}
.tfs-bar .tfs-star[aria-pressed="true"]{color:#f59e0b}
@media (prefers-color-scheme:dark){html.kb-tfs .tfs-bar{background:rgba(15,23,42,.9);border-color:rgba(255,255,255,.08)}.tfs-bar a,.tfs-bar button,.tfs-bar .tfs-t{color:#e2e8f0}.tfs-bar a:hover,.tfs-bar button:hover{background:rgba(255,255,255,.08)}}

/* KB_APPSHELL: hide Kitbly tool bar while a native editor shell is open */
html.ed-fs-on .tfs-bar,html.ie-fs-on .tfs-bar,html.oe-app .tfs-bar,html.ve-app .tfs-bar,html.oe-noscroll .tfs-bar{display:none!important}
html.ed-fs-on .hero-tool,html.ie-fs-on .hero-tool,html.ve-app .hero-tool{padding-top:0!important}
