/* Dino Driver Studios — definitive NL/EN language switch, 2026-10-04 */
/* Loaded as the LAST stylesheet on every NL and EN page so previous flag experiments cannot win. */
a[data-dd-language-switch="1"] {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  flex: 0 0 34px !important;
  padding: 0 !important;
  margin: 0 0 0 8px !important;
  border: 2px solid rgba(255,255,255,.72) !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background-color: #132018 !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.36), inset 0 0 0 1px rgba(255,255,255,.13) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  text-indent: -9999px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  visibility: visible !important;
  cursor: pointer !important;
  transform: translateZ(0);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease !important;
}
a[data-dd-language-switch="1"][lang="en"] { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MCAzNiI+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjM2IiBmaWxsPSIjMDEyMTY5Ii8+PHBhdGggZD0iTTAgMCA2MCAzNk02MCAwIDAgMzYiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSI4Ii8+PHBhdGggZD0iTTAgMCA2MCAzNk02MCAwIDAgMzYiIHN0cm9rZT0iI0M4MTAyRSIgc3Ryb2tlLXdpZHRoPSI0Ii8+PHBhdGggZD0iTTMwIDB2MzZNMCAxOGg2MCIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjEyIi8+PHBhdGggZD0iTTMwIDB2MzZNMCAxOGg2MCIgc3Ryb2tlPSIjQzgxMDJFIiBzdHJva2Utd2lkdGg9IjciLz48L3N2Zz4=") !important; }
a[data-dd-language-switch="1"][lang="nl"] { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5MDAgNjAwIj48cmVjdCB3aWR0aD0iOTAwIiBoZWlnaHQ9IjIwMCIgeT0iMCIgZmlsbD0iI0FFMUMyOCIvPjxyZWN0IHdpZHRoPSI5MDAiIGhlaWdodD0iMjAwIiB5PSIyMDAiIGZpbGw9IiNmZmYiLz48cmVjdCB3aWR0aD0iOTAwIiBoZWlnaHQ9IjIwMCIgeT0iNDAwIiBmaWxsPSIjMjE0NjhCIi8+PC9zdmc+") !important; }
a[data-dd-language-switch="1"]:hover,
a[data-dd-language-switch="1"]:focus-visible {
  transform: translateY(-1px) scale(1.08) !important;
  border-color: #f3d28a !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.46), 0 0 0 3px rgba(243,210,138,.16) !important;
  outline: none !important;
}
/* Normal site pages: keep the switch genuinely inside the main navigation. */
nav.nav a[data-dd-language-switch="1"] { align-self: center !important; }
/* Helmet Run: language switch is the rightmost item in the game bar. */
.gamebar a[data-dd-language-switch="1"] { margin-left: auto !important; margin-right: 12px !important; }
/* Papa's Garage: compact control beside restart/music in the HUD. */
.hud .hud-actions a[data-dd-language-switch="1"] { margin-left: 4px !important; }
@media (max-width: 760px) {
  a[data-dd-language-switch="1"] {
    width: 32px !important; height: 32px !important;
    min-width: 32px !important; max-width: 32px !important;
    min-height: 32px !important; max-height: 32px !important;
    flex-basis: 32px !important;
  }
  nav.nav a[data-dd-language-switch="1"] { margin: 8px 0 0 0 !important; }
}
