/* SMOZIN V8.6 — a calmer top bar.
   The theme switch was a wide pill showing both a sun and a moon at once;
   now it is one round button showing only the theme you would switch to.
   The language picker used flag emoji, which Windows draws as the letters
   "TR" / "GB", so the button read "TR TR". A neutral globe replaces it. */
.topbar .smz22-theme-switch{
  width:38px;height:38px;padding:0;display:inline-flex;align-items:center;justify-content:center;
  border-radius:50%;line-height:1;font-size:16px;gap:0;flex:0 0 auto;
  min-width:38px;max-width:38px;
}
.topbar .smz22-theme-switch > span{display:none}
html[data-theme="dark"] .topbar .smz22-theme-switch > span:first-child{display:inline}
html:not([data-theme="dark"]) .topbar .smz22-theme-switch > span:last-child{display:inline}

.topbar .smz22-lang-picker > summary{gap:6px}
.topbar .smz22-globe{flex:0 0 auto;opacity:.75;display:block}
.topbar .smz22-lang-picker > summary:hover .smz22-globe{opacity:1}
.topbar .smz22-lang-menu a{display:block}

@media(max-width:900px){
  .topbar .smz22-theme-switch{width:34px;height:34px;font-size:15px}
}

/* The links used to sit against the wordmark; full centring left too much
   empty space on both sides, so they keep a comfortable distance from the
   logo and the rest of the room goes to the buttons, which stay flush right. */
@media(min-width:1181px){
  .topbar.smz22-topbar .smz22-nav .smz22-links{margin-left:clamp(48px,5.5vw,92px);margin-right:auto;gap:clamp(20px,2.2vw,34px)}
  .topbar.smz22-topbar .smz22-nav .smz22-actions{margin-left:0}
}
