/* Accento neon sottile, esclusivamente alla base della fascia. */
.topbar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(255,255,255,.10);
  background: #121317 !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
}
.topbar::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  left: 5%;
  right: 5%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff0077 12%, #ff1688 47%, #ff0077 85%, transparent);
  box-shadow: 0 -1px 6px #ff007766;
}
.topbar::after { content: none; }
.topbar .brand { position: relative; z-index: 1; min-width: 0; flex: 1 1 0; }
.topbar .rightlogo {
  position: relative;
  z-index: 1;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  margin-left: auto;
}
.topbar .rightlogo img { display: block; max-width: 150px; object-fit: contain; opacity: 1; }
.topbar .title { color: #fff; text-shadow: none; }
.topbar .sub { color: #c9c6cd; }
@media (max-width: 600px) {
  .topbar { flex-wrap: wrap; }
  .topbar .brand { flex: 1 1 180px; }
  .topbar .rightlogo img { width: auto; height: 34px; max-height: 34px; max-width: 76px; }
}


/* Uniforma il fondo e fonde il logo bianco con la barra. */
.topbar { background-image: none !important; backdrop-filter: none; }
.topbar .brand { z-index: auto; }
.topbar .brand > img { filter: contrast(1.2); mix-blend-mode: screen; }


/* Fascia superiore anche nella home e nel lettore video. */
body.archiveTopMask::before { content:""; position:fixed; top:0; left:0; right:0; height:18px; background:#080b10; z-index:99; pointer-events:none; }
@media(max-width:720px) { body.archiveHome.archiveTopMask::before { height:10px; } }