.language-switcher { position: relative; z-index: 20; }
.language-switcher summary { min-height: 34px; padding: 0 10px; display: flex; align-items: center; gap: 7px; color: var(--ink); background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 9px; cursor: pointer; list-style: none; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher[open] summary { border-color: #aebbd0; }
.language-menu { width: 168px; padding: 7px; position: absolute; top: calc(100% + 7px); right: 0; display: grid; gap: 2px; background: white; border: 1px solid #d6dce4; border-radius: 11px; box-shadow: 0 15px 40px rgba(16,33,59,.18); }
.language-menu a { padding: 8px 10px; color: var(--ink); border-radius: 7px; font-size: 10px; font-weight: 700; }
.language-menu a:hover, .language-menu a[aria-current="page"] { color: var(--blue-deep); background: #edf3ff; }
.dark-language summary { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.23); }
.auth-topline { margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.auth-topline > .brand { margin: 0; color: white; }
.auth-topline .brand-mark { background: white; }
.auth-topline .brand-mark i { background: var(--ink); }
.auth-topline .brand-mark i:nth-child(2) { background: var(--coral); }
.auth-topline .brand-mark i:nth-child(3) { background: #62caa1; }
.nav-shell { grid-template-columns: auto 1fr auto auto; }
.nav-links { justify-self: center; }
.team-header .language-menu { right: auto; left: 0; }
.has-info-banner .nav-shell { margin-top: 76px; }
.localized-info-banner {
  width: min(380px, calc(100vw - 24px));
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 30;
  pointer-events: none;
}
.localized-info-banner a {
  min-height: 56px;
  padding: 14px 21px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #10213b;
  background: linear-gradient(115deg, #ff6f91, #ffca64, #6ee7b7, #60a5fa, #c084fc);
  background-size: 320% 320%;
  border: 2px solid rgba(255, 255, 255, .78);
  border-radius: 28px 8px 28px 16px;
  clip-path: polygon(8% 0, 100% 0, 100% 78%, 92% 100%, 0 100%, 0 22%);
  filter: drop-shadow(0 13px 17px rgba(16, 33, 59, .28));
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  pointer-events: auto;
  animation: infoBannerPulse 1.8s ease-in-out infinite, infoBannerColors 6s linear infinite;
}
.localized-info-banner a:hover { filter: drop-shadow(0 16px 22px rgba(16, 33, 59, .38)); }
.info-banner-spark {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: white;
  border: 2px solid rgba(16, 33, 59, .65);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .38);
  animation: infoBannerSpark 1.2s ease-in-out infinite;
}
@keyframes infoBannerPulse {
  0%, 42%, 100% { opacity: 1; transform: scale(1); }
  54%, 68% { opacity: .42; transform: scale(.985); }
}
@keyframes infoBannerColors {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes infoBannerSpark {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.78); }
}
@media (prefers-reduced-motion: reduce) {
  .localized-info-banner a,
  .info-banner-spark { animation: none; }
}
@media (max-width: 1120px) {
  .nav-links { display: none; }
}
@media (max-width: 980px) {
  .nav-shell { grid-template-columns: auto 1fr auto auto; }
  .nav-language { justify-self: end; }
  .switcher-label { display: none; }
}
@media (max-width: 720px) {
  .nav-shell { gap: 8px; }
  .language-switcher summary { padding: 0 8px; }
  .has-info-banner .nav-shell { margin-top: 88px; }
  .localized-info-banner { top: 8px; right: 8px; width: min(350px, calc(100vw - 16px)); }
  .localized-info-banner a { min-height: 52px; padding: 11px 17px; font-size: 12px; }
  .viewer { flex-wrap: wrap; }
  .team-header .language-menu { left: 0; right: auto; }
}
