/* The compact bar: the jump links behind the menu button. Linked by public/looks.html after looks.css, with the media
   query src/pages.ts writes per language: under the width the full row needs in that language (the links take 1000 px
   in Polish or English but 1216 px in Greek; app/fit.js, tools/fit.ts). So the browser picks the bar's form itself,
   before the first paint, and nothing has to measure it. Selectors start at .top to win over looks.css's own. */
.top { gap: 10px; }
.top .menu-btn { display: flex; }
/* the jump links drop down under the bar (absolute: the bar's backdrop-filter would trap a fixed panel anyway) */
.top .jump { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 0; margin: 0;
  padding: 8px var(--pad) 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(27, 23, 18, .16);
  max-height: calc(100vh - 68px); overflow-y: auto; }
.top.menu-open .jump { display: flex; }
.top .jump a { padding: 15px 4px; border-radius: 0; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); white-space: normal; }
.top .jump a:hover { background: none; color: var(--bronze); }
.top .jump .jump-cta { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; padding: 15px 22px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 800; }
.top .jump .jump-cta:hover { background: var(--bronze); color: #fff; }
.top .jump-cta span { display: inline-block; transition: transform .15s; }
[dir="rtl"] .top .jump-cta span { transform: scaleX(-1); }
.top .lang { margin-inline-start: auto; }
@media (prefers-reduced-motion: no-preference) {
  .top.menu-open .jump { animation: menu-in .22s cubic-bezier(.2,.8,.2,1); }
  .top .jump-cta:hover span { transform: translateX(3px); }
  [dir="rtl"] .top .jump-cta:hover span { transform: translateX(-3px) scaleX(-1); }
}
