/* ax-settings.css - studio.olmteka.com host file of the Axtlan bars (round E, owner 2026-10-10: "studio olmteka also doesnt have the youtube and
   socials and discount bars"). The bars are the same module files as speclang.pro (ax-core.js, ax-youtube-bar.*, ax-dealbar.*, ax-share.*);
   this is the ONLY studio-specific file: it maps the module tokens to the studio palette (site.css :root: --panel, --paper, --muted, --edge, --jade,
   --copper). The three bars keep fixed dark panel colours in every theme, like on speclang.pro. Channel id, strings and shop links live in the
   page's <script type="application/json" id="ax-module-settings">. */
:root {
  --ax-surface: var(--panel, #101a17);
  --ax-text: var(--paper, #edece3);
  --ax-muted: var(--muted, #a8b6ae);
  --ax-line: var(--edge, #34453c);
  --ax-accent: var(--jade, #78dfb1);
  --ax-shell: clamp(1rem, 3vw, 4rem);   /* = the side padding of the studio header */
  --ax-panel-a: #0b1714;
  --ax-panel-b: #13281f;
  --ax-panel-text: #edece3;
  --ax-panel-accent: #78dfb1;
  --ax-youtube: #c4161c;
  --ax-deal-bg: #08100e;
  --ax-deal-line: #ffffff1f;
  --ax-deal-pct: #e8b48c;
  --ax-sharebar-bg: #0b1411;
  --ax-sharebar-text: #edece3;
  --ax-sharebar-line: #34453c;
}
/* panel borders in the studio's edge colour (selectors carry [data-ax-ytbar] because ax-youtube-bar.css loads after this file) */
.ax-ytbar[data-ax-ytbar] { border-block-end-color: #34453c; }
.ax-ytbar[data-ax-ytbar] .ax-ytbar__next { border-inline-end-color: #34453c; }
.ax-sharebar__row > :is(a, button):is(:hover, :focus-visible) { color: #78dfb1; border-color: #78dfb1; }
/* YouTube bar on narrow phones: one line (live count, Subscribe); the channel name stays for screen readers (same rule as speclang.pro) */
@media (max-width: 480px) {
  .ax-ytbar[data-ax-ytbar] { column-gap: .5rem; }   /* round E: the row may wrap - a long Subscribe word (ta, Binary) takes a second line instead of being cut */
  .ax-ytbar[data-ax-ytbar] .ax-ytbar__name { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ax-ytbar[data-ax-ytbar] .ax-ytbar__yt { display: none; }
  .ax-ytbar[data-ax-ytbar] .ax-ytbar__cta { display: inline-block; max-inline-size: 100%; white-space: normal; overflow-wrap: anywhere; text-align: center;
    padding: .45rem .6rem; font-size: .74rem; line-height: 1.2; }   /* round E: never cut (was: ellipsis after 11rem); long words wrap inside the button */
}
