/* Cross-domain navigation pill styling */
.cl-xnav-pill {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #2a1a0a, #1a0a1a);
  border: 1px solid #f5d76e;
  border-radius: 22px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.55);
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  overflow: hidden;
  animation: cl-xnav-slide-in 0.22s ease-out;
}
@keyframes cl-xnav-slide-in {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cl-xnav-back {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem 0.55rem 1.05rem;
  color: #f5d76e;
  text-decoration: none;
  transition: background 0.15s;
}
.cl-xnav-back:hover {
  background: rgba(245, 215, 110, 0.08);
}
.cl-xnav-arrow {
  font-size: 1rem;
  color: #f5d76e;
}
.cl-xnav-label {
  color: #d8d8d8;
  white-space: nowrap;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cl-xnav-label b {
  color: #f5d76e;
  font-weight: 600;
}
.cl-xnav-close {
  background: transparent;
  border: none;
  border-left: 1px solid #444;
  color: #888;
  cursor: pointer;
  padding: 0 0.7rem;
  font-size: 1.05rem;
  transition: color 0.15s;
}
.cl-xnav-close:hover {
  color: #fff;
}
@media (max-width: 640px) {
  .cl-xnav-pill {
    top: auto;
    bottom: 0.85rem;
    right: 0.85rem;
    left: 0.85rem;
    font-size: 0.78rem;
  }
  .cl-xnav-label { max-width: none; }
}
