/* Markets bar for the standalone pages (indicators, indicadores, informes). Same look as the home page bar; it sits under the nav, outside <main>, and scrolls away. Hidden in the installed app (data-hide-in-app). */
.ticker-bar { background: var(--green-darker, #08160F); border-bottom: 1px solid rgba(201,162,75,0.22); height: 44px; overflow: hidden; display: flex; align-items: stretch; font-family: inherit; position: relative; z-index: 1; }
.ticker-label { flex-shrink: 0; display: flex; align-items: center; padding: 0 20px; font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; color: #DDC17C; font-weight: 600; border-right: 1px solid rgba(201,162,75,0.22); background: rgba(201,162,75,0.06); white-space: nowrap; }
.ticker-scroll { flex: 1; overflow: hidden; position: relative; }
.ticker-scroll::before, .ticker-scroll::after { content: ''; position: absolute; top: 0; bottom: 0; width: 36px; z-index: 2; pointer-events: none; }
.ticker-scroll::before { left: 0; background: linear-gradient(to right, var(--green-darker, #08160F), transparent); }
.ticker-scroll::after { right: 0; background: linear-gradient(to left, var(--green-darker, #08160F), transparent); }
.ticker-inner { display: inline-flex; align-items: center; height: 44px; white-space: nowrap; will-change: transform; }
@keyframes ticker-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 6px; padding: 0 34px 0 0; white-space: nowrap; }
.ticker-k { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242,235,221,0.80); font-weight: 500; }
.ticker-v { font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--cream, #F2EBDD); }
.ticker-chg { font-size: 0.6875rem; font-weight: 500; }
.ticker-chg.up { color: #F7B84F; }
.ticker-chg.dn { color: #86CDF2; }
.ticker-na { color: #C4C4C4; font-size: 0.8125rem; letter-spacing: 0.02em; }
.ticker-msg { display: flex; align-items: center; padding: 0 20px; font-size: 0.8125rem; color: rgba(242,235,221,0.80); }
.ticker-sep { display: inline-block; width: 1px; height: 12px; background: rgba(201,162,75,0.2); margin: 0 34px 0 0; flex-shrink: 0; vertical-align: middle; }
.ticker-gsep { display: inline-flex; align-items: center; margin: 0 28px; flex-shrink: 0; vertical-align: middle; }
.ticker-gl { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.13em; color: #DDC17C; text-transform: uppercase; white-space: nowrap; padding-left: 18px; border-left: 1px solid rgba(201,162,75,0.28); }
.ticker-bar.ticker-loading .ticker-inner { opacity: 0.4; }
.ticker-pause { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; border-left: 1px solid rgba(201,162,75,0.22); color: #DDC17C; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ticker-pause:hover { background: rgba(201,162,75,0.10); }
.ticker-pause:focus-visible { outline: 2px solid #DDC17C; outline-offset: -4px; }
.ticker-pause .tp-ico { display: block; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.ticker-bar.is-paused .tp-ico { width: 0; height: 0; border: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid currentColor; }
.ticker-bar.is-down .ticker-pause { display: none; }
.ticker-bar:hover .ticker-inner, .ticker-bar:focus-within .ticker-inner, .ticker-bar.is-paused .ticker-inner { animation-play-state: paused !important; }
.ticker-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; list-style: none; }
@media (prefers-reduced-motion: reduce) {
  .ticker-inner { animation: none !important; }
  .ticker-scroll { overflow-x: auto; }
  .ticker-pause { display: none; }
}
@media (display-mode: standalone) { .ticker-bar[data-hide-in-app] { display: none; } }
