/* EbotServers shared top bar - ONE bar on api / status / kuma / tasks. Served from /ebot-skin/ on every host. */
#ebot-gbar{position:sticky;top:0;z-index:2147483000;display:flex;align-items:center;gap:16px;height:60px;padding:0 max(20px,calc((100vw - 1320px)/2));
 box-sizing:border-box;width:100%;margin:0;
 background:rgba(248,250,252,.82);border-bottom:1px solid rgba(15,23,42,.10);
 -webkit-backdrop-filter:blur(16px) saturate(160%);backdrop-filter:blur(16px) saturate(160%);
 font:500 14px Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#0f172a;border-radius:0!important;box-shadow:none!important}
html[data-theme=dark] #ebot-gbar{background:rgba(7,11,20,.82);border-bottom-color:rgba(148,163,184,.16);color:#e2e8f0}
#ebot-gbar *{box-sizing:border-box;border-radius:0!important;box-shadow:none!important}
#ebot-gbar .g-brand{display:flex;align-items:center;flex-shrink:0;text-decoration:none;border:0;background:none;padding:0}
#ebot-gbar .g-brand img{height:30px;width:auto;display:block}
#ebot-gbar .g-brand .dk{display:none}
html[data-theme=dark] #ebot-gbar .g-brand .lt{display:none}
html[data-theme=dark] #ebot-gbar .g-brand .dk{display:block}
#ebot-gbar nav{display:flex;align-items:center;gap:2px;margin-left:auto;height:100%}
#ebot-gbar nav a{display:flex;align-items:center;height:100%;padding:0 14px;color:inherit;opacity:.72;text-decoration:none;font-weight:600;letter-spacing:.01em;
 border-bottom:2px solid transparent;border-top:2px solid transparent;transition:opacity .15s,color .15s,border-color .15s}
#ebot-gbar nav a:hover{opacity:1;color:#0ea5e9}
#ebot-gbar nav a.on{opacity:1;color:#0ea5e9;border-bottom-color:#0ea5e9}
#ebot-gbar .g-theme{margin-left:8px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;
 background:transparent;color:inherit;border:1px solid rgba(15,23,42,.14);font-size:16px;line-height:1}
html[data-theme=dark] #ebot-gbar .g-theme{border-color:rgba(148,163,184,.22)}
#ebot-gbar .g-theme:hover{border-color:#0ea5e9;color:#0ea5e9}
@media (max-width:640px){#ebot-gbar{height:52px;gap:8px;padding:0 12px}#ebot-gbar .g-brand img{height:24px}#ebot-gbar nav a{padding:0 9px;font-size:13px}#ebot-gbar .g-theme{width:32px;height:32px}}
/* the old per-site headers this bar replaces */
.title-flex .ebot-logo,#ebot-themebtn,#ebot-apibar{display:none!important}
/* gbar-fix-20261011: no border on the theme icon (light + dark), bar never wider than the phone */
#ebot-gbar .g-theme,html[data-theme=dark] #ebot-gbar .g-theme,#ebot-gbar .g-theme:hover{border:0!important;background:transparent!important}
#ebot-gbar{max-width:100vw;overflow:hidden}
#ebot-gbar nav{min-width:0;flex-shrink:1}
@media (max-width:640px){
 #ebot-gbar{gap:6px;padding:0 10px!important}
 #ebot-gbar .g-brand img{height:22px!important}
 #ebot-gbar nav{gap:0}
 #ebot-gbar nav a{padding:0 7px!important;font-size:13px!important}
 #ebot-gbar .g-theme{margin-left:2px;width:30px;height:30px;flex-shrink:0}
}
@media (max-width:370px){#ebot-gbar nav a{padding:0 5px!important;font-size:12px!important}#ebot-gbar .g-brand img{height:19px!important}}
