.gbf-tape-host { position: relative; overflow: hidden; isolation: isolate; }

.gbf-tape {
  position: absolute; z-index: 3; left: -12%; width: 124%; bottom: 26px;
  display: flex; align-items: center; justify-content: flex-start;
  height: 32px; overflow: hidden; pointer-events: none;
  background: #121722; color: #f3f5f9;
  font-family: 'TBC Contractica CAPS', 'TBC Contractica', sans-serif;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  line-height: 1; white-space: nowrap;
  box-shadow: 0 4px 10px rgba(10,14,24,.28);
  transform: rotate(-7deg);
}
.gbf-tape--blue { background: #2f6bdc; color: #fff; bottom: 30px; z-index: 2; transform: rotate(6deg); }

.gbf-tape__run { display: flex; flex: none; animation: gbft-run 22s linear infinite; }
.gbf-tape--blue .gbf-tape__run { animation-direction: reverse; }
.gbf-tape__run span { padding: 0 14px; }
.gbf-tape__run span::after { content: "✦"; margin-left: 28px; font-size: 9px; opacity: .55; vertical-align: 1px; }
@keyframes gbft-run { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) { .gbf-tape__run { animation: none; } }

/* Compact search and list thumbnails keep the tape clear of the condition chip. */
.gbf-tape-host--compact .gbf-tape { height: 22px; bottom: 12px; font-size: 9px; }
.gbf-tape-host--compact .gbf-tape--blue { bottom: 16px; }
.gbf-tape-host--compact .gbf-tape__run span { padding-inline: 6px; }
.gbf-tape-host--compact .gbf-tape__run span::after { margin-left: 12px; }
.gbf-tape-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
