/* ============================================================
   OYÁ TEMPO //2026 — shared chrome
   Loaded on every page: font, palette, the Moira menu.
   ============================================================ */

/* ---- Azeret Mono, self-hosted (variable 100–900, roman + italic) ---- */
@font-face {
  font-family: 'Azeret Mono'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/azeret-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Azeret Mono'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/azeret-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Azeret Mono'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(../fonts/azeret-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Azeret Mono'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(../fonts/azeret-italic-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --oya-accent: #00ffcc;
  --oya-accent-soft: rgba(0, 255, 204, 0.5);
  --oya-ink: #edeef2;                       /* main text — brighter than before */
  --oya-dim: rgba(233, 235, 242, 0.72);     /* credits / directions — lighter gray */
  --oya-panel: rgba(6, 9, 13, 0.6);         /* translucent dark backdrop for text */
  --oya-panel-solid: rgba(6, 9, 13, 0.9);
  --oya-font: 'Azeret Mono', ui-monospace, "Liberation Mono", monospace;
}

/* ---- Moira, guardian of the menu (LEIA.txt, 2016) ---- */
#rx-moira {
  position: fixed; z-index: 120;
  right: 12px; bottom: 0;
  width: 60px; height: 174px;
  border: 0; padding: 0; cursor: pointer;
  background: url(../img/moira-mira.png) bottom center no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 0 rgba(0, 255, 204, 0));
  transition: filter 0.4s;
}
#rx-moira:hover, #rx-moira[aria-expanded="true"] {
  filter: drop-shadow(0 0 9px rgba(0, 255, 204, 0.85));
}
#rx-menu {
  position: fixed; z-index: 119;
  right: 82px; bottom: 18px;
  background: var(--oya-panel-solid);
  border: 1px solid var(--oya-accent-soft);
  padding: 15px 18px;
  min-width: 232px;
  font-family: var(--oya-font);
  font-size: 13px; line-height: 1.75;
  opacity: 0; transform: translateY(8px);
  pointer-events: none; transition: opacity 0.25s, transform 0.25s;
}
#rx-menu.open { opacity: 1; transform: none; pointer-events: auto; }
#rx-menu a { color: var(--oya-ink); text-decoration: none; display: block; padding: 1px 0; }
#rx-menu a:hover { color: var(--oya-accent); }
#rx-menu .rx-sec {
  color: var(--oya-accent); letter-spacing: 0.18em; font-size: 10px;
  text-transform: uppercase; margin: 11px 0 3px; opacity: 0.85;
}
#rx-menu .rx-sec:first-child { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  #rx-menu { transition: none; }
}

/* ---- now-playing / voltar chip (site-wide; built by remix.js) ---- */
#rx-nowplaying {
  position: fixed; left: 12px; bottom: 12px; z-index: 121;
  font-family: var(--oya-font); font-size: 12px; letter-spacing: 0.03em;
  color: var(--oya-accent); background: var(--oya-panel-solid);
  border: 1px solid var(--oya-accent-soft); padding: 6px 11px;
  text-decoration: none; display: none; align-items: center; gap: 8px;
  max-width: min(70vw, 340px);
}
#rx-nowplaying.show { display: inline-flex; }
#rx-nowplaying:hover { background: var(--oya-accent); color: #001; }
#rx-nowplaying:hover .rx-eq { color: #001; }
#rx-nowplaying .rx-eq { color: var(--oya-accent); animation: rx-eq 1.1s steps(4) infinite; }
#rx-nowplaying .rx-song { color: var(--oya-ink); }
#rx-nowplaying:hover .rx-song { color: #001; }
@keyframes rx-eq { 0% { opacity: .35; } 50% { opacity: 1; } 100% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { #rx-nowplaying .rx-eq { animation: none; } }
