/* VTC Reims — Flags as subtle background of the lang switcher, original textual layout preserved */
.prisma-lang {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.prisma-lang span[aria-hidden="true"] {
  color: rgba(225, 224, 204, 0.3);
}
.prisma-lang a {
  position: relative;
  padding: 2px 5px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: transparent;
  color: rgba(225, 224, 204, 0.6);
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.85);
  isolation: isolate;
  transition: color 0.3s ease;
  border-radius: 1px;
}
.prisma-lang a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 10, 10, 0.55);
  transition: background 0.3s ease;
}
.prisma-lang a:hover { color: rgba(225, 224, 204, 1); }
.prisma-lang a:hover::after { background: rgba(10, 10, 10, 0.2); }
.prisma-lang a.active { color: #c9a961; font-weight: 500; }
.prisma-lang a.active::after { background: rgba(10, 10, 10, 0.15); }

/* France — 3 vertical bands */
.prisma-lang a[lang="fr"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2' preserveAspectRatio='none'><rect width='3' height='2' fill='%23fff'/><rect width='1' height='2' fill='%230055A4'/><rect x='2' width='1' height='2' fill='%23EF4135'/></svg>");
}

/* United States — 13 stripes + canton */
.prisma-lang a[lang="en"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 32' preserveAspectRatio='none'><rect width='60' height='32' fill='%23B22234'/><path stroke='%23fff' stroke-width='2.46' d='M0,3.7h60M0,8.6h60M0,13.5h60M0,18.5h60M0,23.4h60M0,28.3h60'/><rect width='24' height='17.2' fill='%233C3B6E'/><g fill='%23fff'><circle cx='3' cy='2.5' r='0.8'/><circle cx='8' cy='2.5' r='0.8'/><circle cx='13' cy='2.5' r='0.8'/><circle cx='18' cy='2.5' r='0.8'/><circle cx='5.5' cy='5' r='0.8'/><circle cx='10.5' cy='5' r='0.8'/><circle cx='15.5' cy='5' r='0.8'/><circle cx='3' cy='7.5' r='0.8'/><circle cx='8' cy='7.5' r='0.8'/><circle cx='13' cy='7.5' r='0.8'/><circle cx='18' cy='7.5' r='0.8'/><circle cx='5.5' cy='10' r='0.8'/><circle cx='10.5' cy='10' r='0.8'/><circle cx='15.5' cy='10' r='0.8'/><circle cx='3' cy='12.5' r='0.8'/><circle cx='8' cy='12.5' r='0.8'/><circle cx='13' cy='12.5' r='0.8'/><circle cx='18' cy='12.5' r='0.8'/><circle cx='5.5' cy='15' r='0.8'/><circle cx='10.5' cy='15' r='0.8'/><circle cx='15.5' cy='15' r='0.8'/></g></svg>");
}

/* Japan — Hinomaru */
.prisma-lang a[lang="ja"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20' preserveAspectRatio='none'><rect width='30' height='20' fill='%23fff'/><circle cx='15' cy='10' r='6' fill='%23BC002D'/></svg>");
}
