.lang-switcher {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 1000;
  font-family: inherit;
}

.lang-switcher.lang-switcher-inline {
  position: static;
  top: auto;
  right: auto;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  color: #374151;
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.lang-current:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.lang-arrow {
  font-size: 0.65rem;
  opacity: 0.6;
  margin-left: 2px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  min-width: 100%;
}

.lang-dropdown.open {
  display: block;
}

.lang-dropdown li {
  padding: 7px 14px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  transition: background 0.1s;
}

.lang-dropdown li:hover {
  background: #f3f4f6;
}

.lang-dropdown li.active {
  color: #2563eb;
  background: #eff6ff;
}

/* Toast notifications */
.tc-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  z-index: 2000;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 1;
  transition: opacity 0.4s;
  pointer-events: none;
}

.tc-toast.tc-toast-fade {
  opacity: 0;
}

/* Broadcaster reconnect banner */
.reconnect-banner {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 16px;
  text-align: center;
}

.reconnect-banner p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #1e40af;
  font-weight: 500;
}

.reconnect-banner div {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
