.header{
  position: sticky;
  top: 0;
  background: rgba(11,18,32,0.90);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  z-index: 20;
}

.header__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__logo{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  background: rgba(110,168,255,0.20);
  border: 1px solid rgba(255,255,255,0.10);
}

.brand__name{
  font-weight: bold;
}

.header__actions{
  display: flex;
  gap: 12px;
}






/* Ticker de noticias */
.ticker {
  background: #0f172a;
  color: #e2e8f0;
  font-size: .95rem;
}
.ticker__wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .75rem;
  padding: .5rem 0;
}
.ticker__label {
  background: #22c55e;
  color: #0b1320;
  padding: .15rem .5rem;
  border-radius: .25rem;
  font-weight: 600;
}
.ticker__viewport {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.ticker__list {
  display: inline-flex;
  gap: 2rem;
  will-change: transform;
  animation: ticker-scroll 22s linear infinite;
}
.ticker__item a {
  color: inherit;
  text-decoration: none;
}
.ticker__item a:hover {
  text-decoration: underline;
}
.ticker__ctrl {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: .4rem;
  padding: .15rem .45rem;
  cursor: pointer;
}
.ticker__ctrl:hover { background: rgba(255,255,255,.06); }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .ticker__list { animation: none; }
}
