.imi-language-switch{
  --imi-switch-cyan:#38f2df;
  --imi-switch-ice:#9dc9f4;
  --imi-switch-red:#ff3c55;
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(5px,3.2%,10px);
  width:196px;
  min-width:196px;
  height:79px!important;
  aspect-ratio:2.48/1;
  padding:14px 18px 17px;
  border:0;
  clip-path:polygon(9% 0,91% 0,100% 18%,100% 82%,91% 100%,9% 100%,0 82%,0 18%);
  background:
    linear-gradient(90deg,transparent 0 8%,rgba(72,236,225,.12) 8% 9%,transparent 9% 91%,rgba(72,236,225,.12) 91% 92%,transparent 92%),
    radial-gradient(circle at 8% 18%,#b7c8d0 0 1px,#344650 1.6px 3px,transparent 3.5px),
    radial-gradient(circle at 92% 18%,#b7c8d0 0 1px,#344650 1.6px 3px,transparent 3.5px),
    radial-gradient(circle at 8% 82%,#8da2ad 0 1px,#283841 1.6px 3px,transparent 3.5px),
    radial-gradient(circle at 92% 82%,#8da2ad 0 1px,#283841 1.6px 3px,transparent 3.5px),
    repeating-linear-gradient(118deg,rgba(255,255,255,.035) 0 1px,transparent 1px 6px),
    linear-gradient(160deg,#6d7d87 0,#283640 14%,#111820 42%,#26343d 70%,#63747d 100%);
  box-shadow:
    inset 0 1px 0 rgba(233,252,255,.5),
    inset 0 -2px 2px rgba(0,0,0,.95),
    inset 0 0 0 4px rgba(4,8,11,.55),
    0 14px 28px rgba(0,0,0,.58);
  filter:drop-shadow(0 0 8px rgba(50,223,216,.13));
  overflow:visible;
}
.imi-language-switch::before{
  content:'';
  position:absolute;
  inset:7px 10px 9px;
  z-index:-1;
  clip-path:polygon(7% 0,93% 0,100% 16%,100% 84%,93% 100%,7% 100%,0 84%,0 16%);
  border:1px solid rgba(116,154,168,.58);
  background:
    linear-gradient(90deg,rgba(65,239,225,.08),transparent 24% 76%,rgba(75,177,224,.08)),
    linear-gradient(180deg,#101820,#060b10 72%,#17232b);
  box-shadow:inset 0 0 0 2px #05090c,inset 0 0 14px rgba(49,224,214,.08);
  pointer-events:none;
}
.imi-language-switch::after{
  content:'';
  position:absolute;
  left:50%;
  bottom:8px;
  width:25%;
  height:2px;
  transform:translateX(4%);
  background:linear-gradient(90deg,transparent,var(--imi-switch-red) 18% 82%,transparent);
  box-shadow:0 0 4px #ff6b78,0 0 10px rgba(255,48,69,.86);
  opacity:.92;
  pointer-events:none;
}
.imi-language-switch__hardware{
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
  background:
    repeating-linear-gradient(112deg,transparent 0 10px,rgba(5,8,10,.95) 10px 12px,transparent 12px 15px) 23% 5%/20% 6% no-repeat,
    repeating-linear-gradient(112deg,transparent 0 10px,rgba(5,8,10,.95) 10px 12px,transparent 12px 15px) 77% 95%/20% 6% no-repeat;
}
.imi-language-switch__hardware::before,
.imi-language-switch__hardware::after{
  content:'';
  position:absolute;
  top:28%;
  width:4px;
  height:44%;
  background:linear-gradient(180deg,transparent,#d5fffb 18%,var(--imi-switch-cyan) 48% 82%,transparent);
  box-shadow:0 0 4px #fff,0 0 9px var(--imi-switch-cyan);
}
.imi-language-switch__hardware::before{left:5px;transform:skewY(-24deg)}
.imi-language-switch__hardware::after{right:5px;transform:skewY(24deg)}
.imi-language-switch button{
  position:relative;
  min-width:0;
  border:1px solid rgba(132,178,210,.54);
  border-radius:0;
  clip-path:polygon(10% 0,90% 0,100% 14%,100% 86%,90% 100%,10% 100%,0 86%,0 14%);
  color:#c1d8f1;
  background:
    linear-gradient(116deg,rgba(255,255,255,.2),transparent 34% 70%,rgba(164,211,255,.08)),
    linear-gradient(180deg,#496986 0,#253e59 53%,#172b40 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -8px 14px rgba(3,11,19,.56),
    inset 0 0 0 2px rgba(4,12,19,.44),
    0 0 0 2px rgba(2,7,11,.75);
  cursor:pointer;
  overflow:hidden;
  text-shadow:0 0 7px rgba(134,185,238,.72);
  transition:color .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease,filter .22s ease;
}
.imi-language-switch button::before{
  content:'';
  position:absolute;
  inset:3px;
  border:1px solid rgba(188,220,242,.14);
  clip-path:inherit;
  background:repeating-linear-gradient(180deg,rgba(255,255,255,.025) 0 1px,transparent 1px 3px);
  pointer-events:none;
}
.imi-language-switch button::after{
  content:'';
  position:absolute;
  left:17%;
  right:17%;
  bottom:4px;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--imi-switch-red) 20% 80%,transparent);
  box-shadow:0 0 7px rgba(255,60,85,.8);
  opacity:.7;
  pointer-events:none;
}
.imi-language-switch button:hover{filter:brightness(1.09)}
.imi-language-switch button:focus-visible{outline:2px solid #fff;outline-offset:4px}
.imi-language-switch button[data-active]{
  color:#eafffc;
  border-color:#6affee;
  background:
    linear-gradient(116deg,rgba(255,255,255,.34),transparent 32% 68%,rgba(154,255,244,.18)),
    linear-gradient(180deg,#31d8c7 0,#087e79 57%,#045050 100%);
  text-shadow:0 0 4px #fff,0 0 13px #6affee;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.58),
    inset 0 -9px 16px rgba(0,46,45,.54),
    inset 0 0 0 2px rgba(8,74,71,.68),
    0 0 0 2px rgba(7,68,65,.72),
    0 0 8px #46efdf,
    0 0 22px rgba(49,242,223,.64);
}
.imi-language-switch button[data-active]::after{
  background:linear-gradient(90deg,transparent,#e8fffc 16%,var(--imi-switch-cyan) 42% 86%,transparent);
  box-shadow:0 0 4px #fff,0 0 10px var(--imi-switch-cyan);
  opacity:1;
  animation:imiLanguageCharge .48s cubic-bezier(.2,.72,.25,1);
}
.imi-language-switch__label{
  position:absolute;
  left:0;
  right:0;
  top:25%;
  font:750 clamp(14px,1.25em,22px)/1 'Space Grotesk','Segoe UI',Arial,sans-serif;
  letter-spacing:.04em;
  text-align:center;
}
.imi-language-switch__flag{
  position:absolute;
  left:50%;
  bottom:12%;
  width:18px;
  height:12px;
  transform:translateX(-50%) scale(.78);
  opacity:.78;
  filter:drop-shadow(0 0 4px currentColor);
}
.imi-language-switch__flag svg{display:block;width:100%;height:100%}
.imi-language-switch__caption{
  position:absolute;
  left:50%;
  bottom:-16px;
  transform:translateX(-50%);
  width:max-content;
  color:rgba(94,213,210,.62);
  font:500 7px/1 ui-monospace,'Cascadia Mono',monospace;
  letter-spacing:.15em;
  text-transform:uppercase;
  pointer-events:none;
}
@keyframes imiLanguageCharge{
  0%{transform:scaleX(.08);filter:brightness(2.4)}
  65%{transform:scaleX(1.08);filter:brightness(1.6)}
  100%{transform:scaleX(1);filter:brightness(1)}
}
header .imi-language-switch{width:188px;min-width:188px;height:76px!important}
header .imi-language-switch__caption{display:none}
.imi-language-switch--intro{
  position:absolute!important;
  top:9.5%!important;
  right:3.3%!important;
  z-index:12!important;
  width:350px!important;
  min-width:350px!important;
  height:141px!important;
  padding:22px 29px 27px!important;
  gap:13px!important;
  margin:0!important;
  filter:drop-shadow(0 18px 24px rgba(0,0,0,.58))!important;
}
.imi-language-switch--intro .imi-language-switch__label{font-size:32px}
.imi-language-switch--intro .imi-language-switch__flag{width:25px;height:16px;bottom:11%}
.imi-language-switch--intro .imi-language-switch__caption{bottom:-19px;font-size:8px}
@media(max-width:1320px){
  header .imi-language-switch{width:174px;min-width:174px;height:70px!important}
}
@media(max-width:820px){
  header .imi-language-switch{width:150px;min-width:150px;height:60px!important}
  .imi-language-switch--intro{width:278px!important;min-width:278px!important;height:112px!important;padding:18px 23px 22px!important;gap:10px!important}
  .imi-language-switch--intro .imi-language-switch__label{font-size:25px}
}
@media(max-width:430px){
  header .imi-language-switch{width:128px;min-width:128px;height:52px!important;padding:10px 12px 12px}
  header .imi-language-switch__label{font-size:12px}
  header .imi-language-switch__flag{width:13px;height:8px}
  .imi-language-switch--intro{top:7%!important;right:4%!important;width:238px!important;min-width:238px!important;height:96px!important;padding:15px 19px 19px!important;gap:8px!important}
  .imi-language-switch--intro .imi-language-switch__label{font-size:21px}
  .imi-language-switch--intro .imi-language-switch__flag{width:19px;height:12px}
}
@media(prefers-reduced-motion:reduce){
  .imi-language-switch button{transition:none}
  .imi-language-switch button[data-active]::after{animation:none}
}

/* Site-header module: heavier cockpit hardware, tuned independently from intro. */
header .imi-language-switch--site{
  --site-frame-hi:#91a6b2;
  --site-frame-mid:#3d4c56;
  --site-frame-low:#111820;
  width:238px;
  min-width:238px;
  height:96px!important;
  padding:19px 25px 24px;
  gap:10px;
  clip-path:polygon(8% 0,92% 0,100% 18%,100% 82%,92% 100%,8% 100%,0 82%,0 18%);
  background:
    linear-gradient(90deg,transparent 0 7%,rgba(46,235,222,.13) 7% 8%,transparent 8% 92%,rgba(46,235,222,.13) 92% 93%,transparent 93%),
    linear-gradient(180deg,rgba(235,250,255,.34) 0 1px,transparent 1px 11%,rgba(0,0,0,.92) 11% 14%,transparent 14% 84%,rgba(0,0,0,.95) 84% 88%,rgba(147,169,179,.36) 88% 90%,transparent 90%),
    repeating-linear-gradient(116deg,rgba(255,255,255,.035) 0 1px,transparent 1px 6px),
    linear-gradient(156deg,var(--site-frame-hi) 0,#52626c 8%,var(--site-frame-mid) 15%,var(--site-frame-low) 40%,#202d35 71%,#657781 91%,#26323a 100%);
  border:1px solid rgba(177,210,220,.42);
  box-shadow:
    inset 0 1px 0 rgba(245,254,255,.66),
    inset 0 -2px 2px rgba(0,0,0,.98),
    inset 0 0 0 5px rgba(2,6,9,.64),
    inset 0 0 22px rgba(46,228,216,.08),
    -8px 12px 28px rgba(0,0,0,.64),
    0 0 22px rgba(30,209,204,.09);
  filter:drop-shadow(0 2px 0 rgba(145,176,187,.22)) drop-shadow(0 14px 16px rgba(0,0,0,.5));
}
header .imi-language-switch--site::before{
  inset:8px 12px 10px;
  border:1px solid rgba(132,179,191,.52);
  background:
    linear-gradient(90deg,rgba(47,238,223,.11),transparent 21% 79%,rgba(90,157,215,.12)),
    linear-gradient(180deg,#17232b,#070c11 58%,#111c23);
  box-shadow:
    inset 0 0 0 2px #03070a,
    inset 0 1px 0 rgba(208,242,248,.18),
    inset 0 -8px 16px rgba(0,0,0,.62),
    inset 0 0 18px rgba(46,221,211,.08);
}
header .imi-language-switch--site::after{
  left:61%;
  bottom:10px;
  width:24%;
  transform:none;
  height:3px;
  background:linear-gradient(90deg,transparent,#ff384e 17% 82%,transparent);
  box-shadow:0 0 4px #ff9aa5,0 0 11px rgba(255,46,67,.92);
}
header .imi-language-switch--site .imi-language-switch__hardware{
  background:
    repeating-linear-gradient(105deg,transparent 0 8px,rgba(2,5,7,.95) 8px 11px,transparent 11px 15px) 27% 5%/22% 8% no-repeat,
    repeating-linear-gradient(105deg,transparent 0 8px,rgba(2,5,7,.95) 8px 11px,transparent 11px 15px) 74% 94%/22% 8% no-repeat,
    linear-gradient(90deg,transparent 0 13%,rgba(133,158,169,.55) 13% 24%,transparent 24% 76%,rgba(133,158,169,.55) 76% 87%,transparent 87%) 50% 2px/100% 2px no-repeat,
    linear-gradient(90deg,transparent 0 18%,rgba(3,6,8,.9) 18% 34%,transparent 34% 66%,rgba(3,6,8,.9) 66% 82%,transparent 82%) 50% calc(100% - 3px)/100% 3px no-repeat;
}
header .imi-language-switch--site .imi-language-switch__hardware::before,
header .imi-language-switch--site .imi-language-switch__hardware::after{
  top:27%;
  width:5px;
  height:46%;
  background:linear-gradient(180deg,transparent,#f1fffd 16%,#59f5e6 34% 84%,transparent);
  box-shadow:0 0 4px #fff,0 0 10px #42eddd,0 0 18px rgba(54,231,219,.62);
}
header .imi-language-switch--site .imi-language-switch__hardware::before{left:6px}
header .imi-language-switch--site .imi-language-switch__hardware::after{right:6px}
header .imi-language-switch--site button{
  border-color:rgba(143,190,220,.62);
  clip-path:polygon(12% 0,88% 0,100% 15%,100% 85%,88% 100%,12% 100%,0 85%,0 15%);
  background:
    linear-gradient(112deg,rgba(255,255,255,.23),transparent 31% 68%,rgba(173,216,255,.09)),
    linear-gradient(180deg,#587897 0,#2d4b68 47%,#152c42 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -12px 18px rgba(3,9,17,.58),
    inset 0 0 0 3px rgba(5,13,20,.48),
    0 0 0 3px rgba(1,5,8,.86),
    0 5px 9px rgba(0,0,0,.34);
}
header .imi-language-switch--site button::before{
  inset:4px;
  border-color:rgba(198,226,244,.18);
  background:
    repeating-linear-gradient(180deg,rgba(255,255,255,.03) 0 1px,transparent 1px 3px),
    linear-gradient(115deg,rgba(255,255,255,.1),transparent 40%);
}
header .imi-language-switch--site button[data-active]{
  border-color:#74fff0;
  background:
    linear-gradient(112deg,rgba(255,255,255,.4),transparent 30% 66%,rgba(187,255,248,.2)),
    linear-gradient(180deg,#43e5d4 0,#0a9189 50%,#045b59 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.68),
    inset 0 -12px 20px rgba(0,44,43,.58),
    inset 0 0 0 3px rgba(3,78,74,.62),
    0 0 0 3px rgba(5,70,67,.86),
    0 0 8px #54f6e7,
    0 0 23px rgba(46,240,222,.68),
    0 6px 11px rgba(0,0,0,.4);
}
header .imi-language-switch--site .imi-language-switch__label{
  top:21%;
  font-size:21px;
  font-weight:800;
  letter-spacing:.035em;
}
header .imi-language-switch--site .imi-language-switch__flag{
  bottom:11%;
  width:19px;
  height:12px;
  transform:translateX(-50%) scale(.86);
}
header .imi-language-switch--site .imi-language-switch__caption{
  display:block;
  left:auto;
  right:18px;
  bottom:-13px;
  transform:none;
  color:rgba(91,207,204,.48);
  font-size:6px;
}
.header-actions{
  position:relative;
}
.header-actions::before{
  content:'';
  position:absolute;
  right:calc(100% - 14px);
  top:50%;
  width:clamp(20px,3vw,48px);
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(66,226,216,.42));
  box-shadow:0 0 7px rgba(55,221,214,.22);
  pointer-events:none;
}
@media(max-width:1320px){
  header .imi-language-switch--site{width:224px;min-width:224px;height:90px!important;padding:18px 23px 22px}
}
@media(max-width:820px){
  header .imi-language-switch--site{width:190px;min-width:190px;height:77px!important;padding:15px 19px 19px;gap:7px}
  header .imi-language-switch--site .imi-language-switch__label{font-size:17px}
  header .imi-language-switch--site .imi-language-switch__flag{width:16px;height:10px}
  header .imi-language-switch--site .imi-language-switch__caption{display:none}
}
@media(max-width:430px){
  header .imi-language-switch--site{width:158px;min-width:158px;height:64px!important;padding:12px 16px 16px;gap:6px}
  header .imi-language-switch--site .imi-language-switch__label{font-size:14px;top:20%}
  header .imi-language-switch--site .imi-language-switch__flag{width:13px;height:8px;bottom:10%}
  header .imi-language-switch--site::after{bottom:7px;height:2px}
  .header-actions::before{display:none}
}

/* Final integration pass: quieter translucent docking, no visual collision. */
header .imi-language-switch--site{
  width:182px;
  min-width:182px;
  height:72px!important;
  padding:14px 18px 18px;
  gap:7px;
  background:
    linear-gradient(90deg,transparent 0 7%,rgba(46,235,222,.1) 7% 8%,transparent 8% 92%,rgba(46,235,222,.1) 92% 93%,transparent 93%),
    linear-gradient(180deg,rgba(226,247,251,.25) 0 1px,transparent 1px 12%,rgba(0,0,0,.52) 12% 15%,transparent 15% 84%,rgba(0,0,0,.58) 84% 88%,rgba(145,170,180,.22) 88% 90%,transparent 90%),
    repeating-linear-gradient(116deg,rgba(255,255,255,.025) 0 1px,transparent 1px 6px),
    linear-gradient(156deg,rgba(105,124,134,.78) 0,rgba(55,69,78,.79) 15%,rgba(9,15,21,.84) 43%,rgba(29,42,50,.8) 74%,rgba(86,105,115,.76) 100%);
  border-color:rgba(169,207,216,.3);
  box-shadow:
    inset 0 1px 0 rgba(239,253,255,.42),
    inset 0 -2px 2px rgba(0,0,0,.72),
    inset 0 0 0 4px rgba(2,6,9,.46),
    -5px 8px 18px rgba(0,0,0,.38),
    0 0 14px rgba(30,209,204,.06);
  filter:drop-shadow(0 8px 12px rgba(0,0,0,.35));
  backdrop-filter:blur(7px) saturate(.9);
  -webkit-backdrop-filter:blur(7px) saturate(.9);
}
header .imi-language-switch--site::before{
  inset:6px 9px 8px;
  background:
    linear-gradient(90deg,rgba(47,238,223,.07),transparent 23% 77%,rgba(90,157,215,.08)),
    linear-gradient(180deg,rgba(20,33,41,.82),rgba(3,8,12,.84) 60%,rgba(13,24,30,.82));
}
header .imi-language-switch--site button{
  background:
    linear-gradient(112deg,rgba(255,255,255,.16),transparent 31% 68%,rgba(173,216,255,.06)),
    linear-gradient(180deg,rgba(70,101,130,.86),rgba(30,55,78,.88) 50%,rgba(12,29,44,.9));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25),inset 0 -8px 13px rgba(3,9,17,.48),inset 0 0 0 2px rgba(5,13,20,.38),0 0 0 2px rgba(1,5,8,.68);
}
header .imi-language-switch--site button[data-active]{
  background:
    linear-gradient(112deg,rgba(255,255,255,.3),transparent 30% 66%,rgba(187,255,248,.14)),
    linear-gradient(180deg,rgba(51,211,197,.91),rgba(5,126,120,.92) 52%,rgba(2,69,68,.94));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.48),inset 0 -9px 15px rgba(0,44,43,.48),inset 0 0 0 2px rgba(3,78,74,.5),0 0 0 2px rgba(5,70,67,.62),0 0 7px rgba(84,246,231,.72),0 0 15px rgba(46,240,222,.38);
}
header .imi-language-switch--site .imi-language-switch__label{font-size:16px;top:20%}
header .imi-language-switch--site .imi-language-switch__flag{width:14px;height:9px;bottom:10%}
header .imi-language-switch--site .imi-language-switch__caption{display:none}
.header-actions::before{opacity:.52;width:28px}

.imi-language-switch--intro{
  top:16%!important;
  right:4.2%!important;
  width:230px!important;
  min-width:230px!important;
  height:92px!important;
  padding:15px 19px 19px!important;
  gap:8px!important;
  opacity:.88;
  filter:drop-shadow(0 12px 17px rgba(0,0,0,.42))!important;
  backdrop-filter:blur(6px) saturate(.88);
  -webkit-backdrop-filter:blur(6px) saturate(.88);
}
.imi-language-switch--intro .imi-language-switch__label{font-size:20px}
.imi-language-switch--intro .imi-language-switch__flag{width:17px;height:11px}
.imi-language-switch--intro .imi-language-switch__caption{display:none}
@media(max-width:820px){
  header .imi-language-switch--site{width:166px;min-width:166px;height:66px!important;padding:13px 17px 16px}
  header .imi-language-switch--site .imi-language-switch__label{font-size:15px}
  .imi-language-switch--intro{top:13%!important;width:208px!important;min-width:208px!important;height:84px!important;padding:14px 17px 17px!important}
}
@media(max-width:430px){
  header .imi-language-switch--site{width:138px;min-width:138px;height:55px!important;padding:10px 13px 13px;gap:5px}
  header .imi-language-switch--site .imi-language-switch__label{font-size:12px}
  header .imi-language-switch--site .imi-language-switch__flag{width:11px;height:7px}
  .imi-language-switch--intro{top:5%!important;right:5%!important;width:184px!important;min-width:184px!important;height:74px!important;padding:12px 15px 15px!important;gap:6px!important}
  .imi-language-switch--intro .imi-language-switch__label{font-size:16px}
  .imi-language-switch--intro .imi-language-switch__flag{width:14px;height:9px}
}

/* Transparent cyber glass: deliberately light, compact and integrated. */
header .imi-language-switch--site,
.imi-language-switch--intro{
  --glass-cyan:#55eadf;
  --glass-red:#ff3c62;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2px!important;
  padding:3px!important;
  border:1px solid rgba(94,222,218,.27)!important;
  clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)!important;
  background:linear-gradient(120deg,rgba(24,44,54,.28),rgba(3,9,14,.48))!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 5px 16px rgba(0,0,0,.24),0 0 12px rgba(49,214,207,.045)!important;
  filter:none!important;
  opacity:1!important;
  backdrop-filter:blur(10px) saturate(.82)!important;
  -webkit-backdrop-filter:blur(10px) saturate(.82)!important;
  overflow:hidden!important;
}
header .imi-language-switch--site{
  position:relative!important;
  width:112px!important;
  min-width:112px!important;
  height:36px!important;
}
header .imi-language-switch--site::before,
.imi-language-switch--intro::before{
  content:''!important;
  position:absolute!important;
  inset:2px!important;
  z-index:-1!important;
  border:0!important;
  clip-path:inherit!important;
  background:linear-gradient(90deg,rgba(74,221,213,.035),transparent 46% 54%,rgba(255,55,92,.025))!important;
  box-shadow:none!important;
}
header .imi-language-switch--site::after,
.imi-language-switch--intro::after{
  content:''!important;
  position:absolute!important;
  left:auto!important;
  right:7px!important;
  bottom:3px!important;
  width:12px!important;
  height:1px!important;
  transform:none!important;
  border-radius:0!important;
  background:var(--glass-red)!important;
  box-shadow:0 0 5px rgba(255,60,98,.55)!important;
  opacity:.72!important;
}
header .imi-language-switch--site .imi-language-switch__hardware,
.imi-language-switch--intro .imi-language-switch__hardware,
header .imi-language-switch--site .imi-language-switch__caption,
.imi-language-switch--intro .imi-language-switch__caption,
header .imi-language-switch--site .imi-language-switch__flag,
.imi-language-switch--intro .imi-language-switch__flag{display:none!important}
header .imi-language-switch--site button,
.imi-language-switch--intro button{
  position:relative!important;
  min-width:0!important;
  border:1px solid transparent!important;
  border-radius:0!important;
  clip-path:polygon(4px 0,100% 0,100% calc(100% - 4px),calc(100% - 4px) 100%,0 100%,0 4px)!important;
  color:rgba(201,220,231,.57)!important;
  background:rgba(8,19,27,.18)!important;
  box-shadow:none!important;
  text-shadow:none!important;
  filter:none!important;
  transition:color .18s ease,border-color .18s ease,background .18s ease!important;
}
header .imi-language-switch--site button::before,
.imi-language-switch--intro button::before{
  content:''!important;
  position:absolute!important;
  inset:0!important;
  border:0!important;
  background:linear-gradient(180deg,rgba(255,255,255,.025),transparent 52%)!important;
  box-shadow:none!important;
}
header .imi-language-switch--site button::after,
.imi-language-switch--intro button::after{
  content:''!important;
  position:absolute!important;
  left:24%!important;
  right:24%!important;
  bottom:2px!important;
  height:1px!important;
  background:transparent!important;
  box-shadow:none!important;
  opacity:1!important;
}
header .imi-language-switch--site button[data-active],
.imi-language-switch--intro button[data-active]{
  color:#dffffb!important;
  border-color:rgba(85,234,223,.32)!important;
  background:linear-gradient(180deg,rgba(53,207,197,.13),rgba(17,85,85,.08))!important;
  box-shadow:inset 0 0 11px rgba(66,225,215,.055)!important;
  text-shadow:0 0 7px rgba(94,239,228,.38)!important;
}
header .imi-language-switch--site button[data-active]::after,
.imi-language-switch--intro button[data-active]::after{
  background:var(--glass-cyan)!important;
  box-shadow:0 0 5px rgba(85,234,223,.65)!important;
  animation:none!important;
}
header .imi-language-switch--site .imi-language-switch__label,
.imi-language-switch--intro .imi-language-switch__label{
  position:static!important;
  display:block!important;
  font:600 10px/1 ui-monospace,'Cascadia Mono','Segoe UI Mono',monospace!important;
  letter-spacing:.13em!important;
  text-align:center!important;
}
.imi-language-switch--intro{
  top:15%!important;
  right:4.5%!important;
  width:146px!important;
  min-width:146px!important;
  height:42px!important;
}
.imi-language-switch--intro .imi-language-switch__label{font-size:12px!important}
.header-actions::before{display:none!important}
@media(max-width:820px){
  header .imi-language-switch--site{width:106px!important;min-width:106px!important;height:34px!important}
  .imi-language-switch--intro{width:136px!important;min-width:136px!important;height:40px!important}
}
@media(max-width:620px){.scroll-indicator{display:none!important}}
@media(max-width:430px){
  header .imi-language-switch--site{width:96px!important;min-width:96px!important;height:32px!important}
  header .imi-language-switch--site .imi-language-switch__label{font-size:9px!important}
  .imi-language-switch--intro{top:5%!important;right:5%!important;width:124px!important;min-width:124px!important;height:36px!important}
  .imi-language-switch--intro .imi-language-switch__label{font-size:10px!important}
}

/* V5: compact reference-led ship console. */
header .imi-language-switch--site,
.imi-language-switch--intro{
  --panel-cyan:#5ff7e8;
  --panel-red:#ff3d67;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:5px!important;
  padding:9px 12px!important;
  border:1px solid rgba(170,211,221,.52)!important;
  clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px)!important;
  background:
    linear-gradient(90deg,transparent 0 8px,rgba(98,248,232,.5) 8px 10px,transparent 10px calc(100% - 10px),rgba(98,248,232,.42) calc(100% - 10px) calc(100% - 8px),transparent calc(100% - 8px)),
    linear-gradient(180deg,rgba(220,244,249,.62) 0 1px,rgba(99,129,140,.48) 1px 4px,rgba(10,17,22,.92) 4px 8px,rgba(54,74,83,.92) 8px calc(100% - 8px),rgba(5,10,14,.96) calc(100% - 8px) calc(100% - 4px),rgba(133,165,173,.48) calc(100% - 4px) 100%),
    repeating-linear-gradient(112deg,rgba(255,255,255,.035) 0 1px,transparent 1px 5px),
    linear-gradient(135deg,#6f8791 0,#273740 18%,#0a1117 48%,#354a54 82%,#718a93 100%)!important;
  box-shadow:inset 0 1px 0 rgba(242,253,255,.68),inset 0 -2px 2px rgba(0,0,0,.9),inset 0 0 0 4px rgba(3,8,11,.52),0 7px 14px rgba(0,0,0,.46),0 0 10px rgba(63,232,221,.12)!important;
  filter:drop-shadow(0 4px 4px rgba(0,0,0,.44))!important;
  backdrop-filter:blur(6px) saturate(.88)!important;
  -webkit-backdrop-filter:blur(6px) saturate(.88)!important;
  overflow:hidden!important;
}
header .imi-language-switch--site{position:relative!important;width:158px!important;min-width:158px!important;height:56px!important}
header .imi-language-switch--site::before,
.imi-language-switch--intro::before{
  content:''!important;position:absolute!important;inset:6px 8px!important;z-index:0!important;
  border:1px solid rgba(2,7,10,.95)!important;
  clip-path:polygon(5px 0,calc(100% - 5px) 0,100% 5px,100% calc(100% - 5px),calc(100% - 5px) 100%,5px 100%,0 calc(100% - 5px),0 5px)!important;
  background:linear-gradient(180deg,rgba(3,9,13,.96),rgba(15,29,36,.94) 52%,rgba(2,7,10,.98))!important;
  box-shadow:inset 0 0 0 2px rgba(75,99,108,.3),inset 0 7px 12px rgba(0,0,0,.62),0 1px 0 rgba(206,240,245,.15)!important;
}
header .imi-language-switch--site::after,
.imi-language-switch--intro::after{
  content:''!important;position:absolute!important;left:19px!important;right:19px!important;bottom:5px!important;width:auto!important;height:2px!important;transform:none!important;
  background:linear-gradient(90deg,var(--panel-cyan) 0 35%,transparent 35% 62%,var(--panel-red) 62% 100%)!important;
  box-shadow:-22px 0 6px rgba(95,247,232,.38),24px 0 6px rgba(255,61,103,.32)!important;opacity:.82!important;
}
header .imi-language-switch--site .imi-language-switch__caption,
.imi-language-switch--intro .imi-language-switch__caption{display:none!important}
header .imi-language-switch--site .imi-language-switch__hardware,
.imi-language-switch--intro .imi-language-switch__hardware{
  display:block!important;position:absolute!important;inset:0!important;z-index:3!important;pointer-events:none!important;
  background:repeating-linear-gradient(90deg,transparent 0 7px,rgba(1,5,7,.92) 7px 9px,transparent 9px 12px) 23px 3px/37px 3px no-repeat,repeating-linear-gradient(90deg,transparent 0 7px,rgba(1,5,7,.92) 7px 9px,transparent 9px 12px) calc(100% - 23px) calc(100% - 3px)/37px 3px no-repeat!important;
}
header .imi-language-switch--site .imi-language-switch__hardware::before,
.imi-language-switch--intro .imi-language-switch__hardware::before,
header .imi-language-switch--site .imi-language-switch__hardware::after,
.imi-language-switch--intro .imi-language-switch__hardware::after{
  content:''!important;position:absolute!important;top:17px!important;width:2px!important;height:21px!important;border-radius:2px!important;background:var(--panel-cyan)!important;box-shadow:0 0 7px rgba(95,247,232,.72)!important;opacity:.74!important;
}
header .imi-language-switch--site .imi-language-switch__hardware::before,
.imi-language-switch--intro .imi-language-switch__hardware::before{left:5px!important}
header .imi-language-switch--site .imi-language-switch__hardware::after,
.imi-language-switch--intro .imi-language-switch__hardware::after{right:5px!important}
header .imi-language-switch--site button,
.imi-language-switch--intro button{
  position:relative!important;z-index:2!important;min-width:0!important;min-height:36px!important;border:1px solid rgba(112,155,177,.45)!important;border-radius:0!important;
  clip-path:polygon(5px 0,calc(100% - 5px) 0,100% 5px,100% calc(100% - 5px),calc(100% - 5px) 100%,5px 100%,0 calc(100% - 5px),0 5px)!important;
  color:rgba(211,230,247,.78)!important;
  background:linear-gradient(112deg,rgba(255,255,255,.16),transparent 31% 68%,rgba(169,217,255,.08)),linear-gradient(180deg,rgba(69,101,132,.92),rgba(26,52,77,.94) 55%,rgba(8,24,38,.97))!important;
  box-shadow:inset 0 1px 0 rgba(232,248,255,.34),inset 0 -7px 10px rgba(2,9,16,.52),inset 0 0 0 2px rgba(3,11,18,.45),0 0 0 2px rgba(0,4,7,.7)!important;
  text-shadow:0 1px 0 rgba(0,0,0,.8),0 0 6px rgba(138,196,243,.22)!important;
}
header .imi-language-switch--site button::before,
.imi-language-switch--intro button::before{content:''!important;position:absolute!important;inset:2px!important;border:0!important;background:repeating-linear-gradient(180deg,rgba(255,255,255,.03) 0 1px,transparent 1px 3px)!important;box-shadow:inset 0 0 8px rgba(125,188,231,.08)!important}
header .imi-language-switch--site button::after,
.imi-language-switch--intro button::after{content:''!important;position:absolute!important;left:25%!important;right:25%!important;bottom:3px!important;height:2px!important;background:rgba(255,61,103,.65)!important;box-shadow:0 0 5px rgba(255,61,103,.42)!important;opacity:.7!important}
header .imi-language-switch--site button[data-active],
.imi-language-switch--intro button[data-active]{
  color:#effffd!important;border-color:rgba(124,255,243,.92)!important;
  background:linear-gradient(112deg,rgba(255,255,255,.34),transparent 29% 68%,rgba(205,255,249,.16)),linear-gradient(180deg,rgba(64,231,216,.98),rgba(7,145,137,.98) 54%,rgba(2,77,75,.99))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.66),inset 0 -8px 12px rgba(0,58,56,.5),inset 0 0 0 2px rgba(4,93,88,.5),0 0 0 2px rgba(7,63,61,.82),0 0 8px rgba(95,247,232,.78),0 0 16px rgba(61,225,213,.42)!important;
  text-shadow:0 1px 0 rgba(0,58,56,.8),0 0 8px rgba(235,255,252,.82)!important;
}
header .imi-language-switch--site button[data-active]::after,
.imi-language-switch--intro button[data-active]::after{background:#d9fffb!important;box-shadow:0 0 7px rgba(95,247,232,.9)!important}
header .imi-language-switch--site .imi-language-switch__label,
.imi-language-switch--intro .imi-language-switch__label{position:absolute!important;top:7px!important;left:0!important;right:0!important;display:block!important;font:800 15px/1 ui-monospace,'Cascadia Mono','Segoe UI Mono',monospace!important;letter-spacing:.07em!important;text-align:center!important}
.imi-language-switch__flag{display:block!important;position:absolute!important;left:50%!important;bottom:5px!important;width:12px!important;height:8px!important;transform:translateX(-50%)!important;filter:saturate(.9) brightness(.92) drop-shadow(0 1px 1px rgba(0,0,0,.7))!important;opacity:.88!important}
.imi-language-switch__flag svg{display:block!important;width:100%!important;height:100%!important}
.imi-language-switch--intro{top:15%!important;right:4.5%!important;width:190px!important;min-width:190px!important;height:66px!important}
.imi-language-switch--intro button{min-height:44px!important}
.imi-language-switch--intro .imi-language-switch__label{font-size:18px!important}
.imi-language-switch--intro .imi-language-switch__hardware::before,
.imi-language-switch--intro .imi-language-switch__hardware::after{top:21px!important;height:24px!important}
.header-actions::before{display:none!important}
@media(max-width:820px){
  header .imi-language-switch--site{width:146px!important;min-width:146px!important;height:52px!important;padding:8px 11px!important}
  header .imi-language-switch--site button{min-height:34px!important}
  header .imi-language-switch--site .imi-language-switch__hardware::before,
  header .imi-language-switch--site .imi-language-switch__hardware::after{top:16px!important;height:19px!important}
  .imi-language-switch--intro{width:174px!important;min-width:174px!important;height:60px!important}
}
@media(max-width:430px){
  header .imi-language-switch--site{width:124px!important;min-width:124px!important;height:44px!important;padding:7px 9px!important;gap:4px!important}
  header .imi-language-switch--site button{min-height:30px!important}
  header .imi-language-switch--site .imi-language-switch__label{top:6px!important;font-size:11px!important}
  header .imi-language-switch--site .imi-language-switch__flag{bottom:4px!important;width:10px!important;height:7px!important}
  header .imi-language-switch--site .imi-language-switch__hardware::before,
  header .imi-language-switch--site .imi-language-switch__hardware::after{top:14px!important;height:16px!important}
  .imi-language-switch--intro{top:5%!important;right:5%!important;width:152px!important;min-width:152px!important;height:54px!important}
  .imi-language-switch--intro .imi-language-switch__label{font-size:14px!important}
}

/* V6: quiet header control matched to the adjacent menu icon. */
header .imi-language-switch--site{
  position:relative!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  width:92px!important;
  min-width:92px!important;
  height:32px!important;
  padding:2px!important;
  gap:1px!important;
  overflow:hidden!important;
  border:1px solid rgba(232,244,250,.16)!important;
  border-radius:0!important;
  clip-path:polygon(4px 0,100% 0,100% calc(100% - 4px),calc(100% - 4px) 100%,0 100%,0 4px)!important;
  background:rgba(4,9,14,.24)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.018)!important;
  filter:none!important;
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
  transition:border-color .22s ease,background-color .22s ease,box-shadow .22s ease!important;
}
header .imi-language-switch--site:hover,
header .imi-language-switch--site:focus-within{
  border-color:rgba(81,226,223,.36)!important;
  background:rgba(11,25,31,.36)!important;
  box-shadow:inset 0 0 9px rgba(51,217,232,.035),0 0 13px rgba(51,217,232,.11)!important;
}
header .imi-language-switch--site::before{
  content:''!important;
  position:absolute!important;
  z-index:1!important;
  top:7px!important;
  bottom:7px!important;
  left:50%!important;
  width:1px!important;
  border:0!important;
  clip-path:none!important;
  background:rgba(231,244,250,.14)!important;
  box-shadow:none!important;
}
header .imi-language-switch--site::after{
  content:''!important;
  position:absolute!important;
  left:8px!important;
  right:auto!important;
  bottom:2px!important;
  width:28px!important;
  height:1px!important;
  transform:none!important;
  background:linear-gradient(90deg,transparent,#42ded8,transparent)!important;
  box-shadow:0 0 5px rgba(66,222,216,.38)!important;
  opacity:.7!important;
  transition:left .2s ease!important;
}
html[data-imi-language="en"] header .imi-language-switch--site::after{left:55px!important}
header .imi-language-switch--site .imi-language-switch__hardware,
header .imi-language-switch--site .imi-language-switch__caption,
header .imi-language-switch--site .imi-language-switch__flag{display:none!important}
header .imi-language-switch--site button{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  clip-path:none!important;
  color:rgba(229,240,247,.5)!important;
  background:transparent!important;
  box-shadow:none!important;
  text-shadow:none!important;
  filter:none!important;
  transition:color .2s ease,background-color .2s ease,text-shadow .2s ease!important;
}
header .imi-language-switch--site button::before,
header .imi-language-switch--site button::after{content:none!important}
header .imi-language-switch--site button:hover{
  color:rgba(239,255,253,.94)!important;
  background:rgba(51,217,232,.055)!important;
  text-shadow:0 0 8px rgba(80,233,225,.42)!important;
  transform:none!important;
}
header .imi-language-switch--site button[data-active]{
  color:#e9fffd!important;
  border:0!important;
  background:linear-gradient(180deg,rgba(51,217,232,.075),rgba(51,217,232,.018))!important;
  box-shadow:none!important;
  text-shadow:0 0 7px rgba(80,233,225,.34)!important;
}
header .imi-language-switch--site button:focus-visible{
  outline:1px solid rgba(101,239,233,.72)!important;
  outline-offset:-2px!important;
}
header .imi-language-switch--site .imi-language-switch__label{
  position:static!important;
  display:block!important;
  font:600 10px/1 ui-monospace,'Cascadia Mono','Segoe UI Mono',monospace!important;
  letter-spacing:.12em!important;
  text-align:center!important;
}
@media(max-width:820px){header .imi-language-switch--site{width:88px!important;min-width:88px!important;height:30px!important}}
@media(max-width:430px){
  header .imi-language-switch--site{width:80px!important;min-width:80px!important;height:28px!important;padding:2px!important}
  header .imi-language-switch--site .imi-language-switch__label{font-size:9px!important}
  header .imi-language-switch--site::after{left:7px!important;width:24px!important}
  html[data-imi-language="en"] header .imi-language-switch--site::after{left:47px!important}
}

/* V7: same visual language as the outlined ZOBACZ FILM button. */
header .imi-language-switch--site{
  width:120px!important;
  min-width:120px!important;
  height:40px!important;
  padding:3px!important;
  gap:0!important;
  overflow:hidden!important;
  border:1px solid var(--cyan)!important;
  border-radius:999px!important;
  clip-path:none!important;
  background:rgba(5,8,13,.18)!important;
  box-shadow:0 0 0 rgba(51,217,232,0)!important;
  filter:none!important;
  backdrop-filter:blur(5px)!important;
  -webkit-backdrop-filter:blur(5px)!important;
  transition:border-color .3s ease,box-shadow .3s ease,transform .2s ease,background-color .3s ease!important;
}
header .imi-language-switch--site:hover,
header .imi-language-switch--site:focus-within{
  border-color:var(--cyan)!important;
  background:rgba(8,16,22,.34)!important;
  box-shadow:0 0 22px rgba(51,217,232,.42)!important;
  transform:translateY(-1px)!important;
}
header .imi-language-switch--site::before{
  content:''!important;
  position:absolute!important;
  z-index:3!important;
  top:10px!important;
  bottom:10px!important;
  left:50%!important;
  width:1px!important;
  border:0!important;
  clip-path:none!important;
  background:rgba(51,217,232,.25)!important;
  box-shadow:none!important;
}
header .imi-language-switch--site::after{content:none!important}
header .imi-language-switch--site button{
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  clip-path:none!important;
  color:rgba(235,242,247,.55)!important;
  background:transparent!important;
  box-shadow:none!important;
  text-shadow:none!important;
  transform:none!important;
  transition:color .2s ease,background-color .2s ease,text-shadow .2s ease!important;
}
header .imi-language-switch--site button:hover{
  color:#fff!important;
  background:rgba(51,217,232,.055)!important;
  text-shadow:0 0 7px rgba(51,217,232,.34)!important;
}
header .imi-language-switch--site button[data-active]{
  color:#fff!important;
  background:rgba(51,217,232,.095)!important;
  box-shadow:inset 0 0 9px rgba(51,217,232,.045)!important;
  text-shadow:0 0 7px rgba(51,217,232,.32)!important;
}
header .imi-language-switch--site button:focus-visible{outline:1px solid rgba(255,255,255,.72)!important;outline-offset:-3px!important}
header .imi-language-switch--site .imi-language-switch__label{
  position:static!important;
  font-family:var(--font-body)!important;
  font-size:10px!important;
  font-weight:600!important;
  line-height:1!important;
  letter-spacing:1.5px!important;
}
@media(max-width:820px){header .imi-language-switch--site{width:112px!important;min-width:112px!important;height:38px!important}}
@media(max-width:430px){
  header .imi-language-switch--site{width:104px!important;min-width:104px!important;height:36px!important;padding:3px!important}
  header .imi-language-switch--site .imi-language-switch__label{font-size:9px!important;letter-spacing:1.2px!important}
}

/* V8: exact visual twin of .btn-neon.small (ZOBACZ FILM). */
header .imi-language-switch--site{
  width:146px!important;
  min-width:146px!important;
  height:40px!important;
  padding:0!important;
  gap:0!important;
  border:1px solid var(--cyan)!important;
  border-radius:30px!important;
  clip-path:none!important;
  background:transparent!important;
  box-shadow:0 0 0 rgba(51,217,232,0)!important;
  filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  transform:none!important;
  transition:border-color .3s ease,box-shadow .3s ease,transform .2s ease!important;
}
header .imi-language-switch--site:hover,
header .imi-language-switch--site:focus-within{
  border-color:var(--cyan)!important;
  background:transparent!important;
  box-shadow:0 0 22px rgba(51,217,232,.55)!important;
  transform:translateY(-1px)!important;
}
header .imi-language-switch--site::before{
  content:''!important;
  position:absolute!important;
  z-index:3!important;
  left:50%!important;
  top:11px!important;
  bottom:11px!important;
  width:1px!important;
  border:0!important;
  background:rgba(51,217,232,.3)!important;
  box-shadow:none!important;
}
header .imi-language-switch--site::after{content:none!important}
header .imi-language-switch--site button,
header .imi-language-switch--site button:hover,
header .imi-language-switch--site button[data-active]{
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  border:0!important;
  border-radius:30px!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}
header .imi-language-switch--site button{color:rgba(255,255,255,.52)!important;text-shadow:none!important}
header .imi-language-switch--site button:hover{color:#fff!important;text-shadow:none!important}
header .imi-language-switch--site button[data-active]{color:#fff!important;text-shadow:none!important}
header .imi-language-switch--site button::before,
header .imi-language-switch--site button::after{content:none!important}
header .imi-language-switch--site .imi-language-switch__label{
  position:static!important;
  font-family:var(--font-body)!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1!important;
  letter-spacing:1.5px!important;
  text-transform:uppercase!important;
}
@media(max-width:820px){
  header .imi-language-switch--site{width:138px!important;min-width:138px!important;height:40px!important}
  header .imi-language-switch--site button{height:38px!important;min-height:38px!important}
}
@media(max-width:430px){
  header .imi-language-switch--site{width:128px!important;min-width:128px!important;height:38px!important}
  header .imi-language-switch--site button{height:36px!important;min-height:36px!important}
  header .imi-language-switch--site .imi-language-switch__label{font-size:11px!important;letter-spacing:1.35px!important}
  header .imi-language-switch--site::before{top:10px!important;bottom:10px!important}
}

/* V9: measured 1:1 geometry with the localized ZOBACZ/WATCH THE FILM control. */
header .imi-language-switch--site{
  width:147.125px!important;
  min-width:147.125px!important;
  height:39px!important;
}
html[data-imi-language="en"] header .imi-language-switch--site{
  width:173.375px!important;
  min-width:173.375px!important;
}
header .imi-language-switch--site button{
  height:37px!important;
  min-height:37px!important;
}
@media(max-width:820px){
  header .imi-language-switch--site,
  html[data-imi-language="en"] header .imi-language-switch--site{width:138px!important;min-width:138px!important;height:39px!important}
  header .imi-language-switch--site button{height:37px!important;min-height:37px!important}
}
@media(max-width:430px){
  header .imi-language-switch--site,
  html[data-imi-language="en"] header .imi-language-switch--site{width:128px!important;min-width:128px!important;height:38px!important}
  header .imi-language-switch--site button{height:36px!important;min-height:36px!important}
}

/* V10: one shared hover surface, stable spacing between the twin controls. */
@media(min-width:1321px){.header-actions{gap:20px!important}}
header .imi-language-switch--site:focus-within{
  background:transparent!important;
  box-shadow:0 0 0 rgba(51,217,232,0)!important;
  transform:none!important;
}
header .imi-language-switch--site:hover{
  border-color:var(--cyan)!important;
  background:transparent!important;
  box-shadow:0 0 22px rgba(51,217,232,.55)!important;
  transform:translateY(-1px)!important;
}
header .imi-language-switch--site button,
header .imi-language-switch--site button:hover,
header .imi-language-switch--site button[data-active]{
  background:transparent!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
header .imi-language-switch--site button{color:rgba(255,255,255,.52)!important}
header .imi-language-switch--site button:hover{color:rgba(255,255,255,.52)!important}
header .imi-language-switch--site button[data-active],
header .imi-language-switch--site button[data-active]:hover{color:#fff!important}

/* V12: lock the exact shared cyan through rest, click, focus and hover. */
header .imi-language-switch--site,
header .imi-language-switch--site:hover,
header .imi-language-switch--site:focus,
header .imi-language-switch--site:focus-within{
  border-color:rgb(51,217,232)!important;
}
header .imi-language-switch--site button:focus,
header .imi-language-switch--site button:focus-visible{
  outline:none!important;
}

/* V13: fixed twin geometry in every language; no resizing after a click. */
@media(min-width:1321px){
  header .imi-language-switch--site,
  html[data-imi-language="en"] header .imi-language-switch--site,
  header .btn-neon.small{
    box-sizing:border-box!important;
    width:174px!important;
    min-width:174px!important;
    height:40px!important;
  }
  header .btn-neon.small{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
  }
  header .imi-language-switch--site button{
    height:38px!important;
    min-height:38px!important;
  }
}

/* V14: one shared shell and one token set for both header controls. */
header .imi-header-control{
  --imi-control-cyan:rgb(51,217,232);
  --imi-control-border-width:1px;
  --imi-control-radius:30px;
  --imi-control-height:40px;
  --imi-control-glow-rest:0 0 0 rgba(51,217,232,0);
  --imi-control-glow-hover:0 0 22px rgba(51,217,232,.55);
  --imi-control-glow-active:0 0 12px rgba(51,217,232,.38);
  box-sizing:border-box!important;
  width:auto!important;
  min-width:0!important;
  height:var(--imi-control-height)!important;
  min-height:var(--imi-control-height)!important;
  border:var(--imi-control-border-width) solid var(--imi-control-cyan)!important;
  border-radius:var(--imi-control-radius)!important;
  background:transparent!important;
  box-shadow:var(--imi-control-glow-rest)!important;
  color:var(--text)!important;
  font-family:var(--font-body)!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1!important;
  letter-spacing:1.5px!important;
  text-transform:uppercase!important;
  padding-top:0!important;
  padding-bottom:0!important;
  filter:none!important;
  transform:none!important;
  transition:border-color .3s ease,box-shadow .3s ease,transform .2s ease!important;
}
header .btn-neon.small.imi-header-control{
  padding-left:24px!important;
  padding-right:24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
header .imi-language-switch--site.imi-header-control{
  padding-left:0!important;
  padding-right:0!important;
  display:grid!important;
  grid-template-columns:auto auto!important;
  gap:0!important;
  overflow:hidden!important;
}
header .imi-language-switch--site.imi-header-control button{
  box-sizing:border-box!important;
  width:auto!important;
  min-width:0!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 17px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
  font:inherit!important;
  letter-spacing:inherit!important;
}
header .imi-language-switch--site.imi-header-control .imi-language-switch__label{
  position:static!important;
  font:inherit!important;
  letter-spacing:inherit!important;
  line-height:1!important;
}
header .imi-header-control:hover{
  border-color:var(--imi-control-cyan)!important;
  box-shadow:var(--imi-control-glow-hover)!important;
  transform:translateY(-1px)!important;
}
header .btn-neon.small.imi-header-control:focus-visible,
header .imi-language-switch--site.imi-header-control:has(button:focus-visible){
  outline:1px solid rgba(255,255,255,.86)!important;
  outline-offset:3px!important;
  border-color:var(--imi-control-cyan)!important;
  box-shadow:var(--imi-control-glow-hover)!important;
  transform:translateY(-1px)!important;
}
header .btn-neon.small.imi-header-control:active,
header .imi-language-switch--site.imi-header-control:has(button:active){
  border-color:var(--imi-control-cyan)!important;
  box-shadow:var(--imi-control-glow-active)!important;
  transform:translateY(0)!important;
}
header .imi-language-switch--site.imi-header-control button:focus,
header .imi-language-switch--site.imi-header-control button:focus-visible{outline:none!important}
@media(max-width:820px){
  header .imi-language-switch--site.imi-header-control button{padding-left:15px!important;padding-right:15px!important}
}
@media(max-width:430px){
  header .imi-header-control{--imi-control-height:38px;font-size:11px!important;letter-spacing:1.35px!important}
  header .imi-language-switch--site.imi-header-control button{height:36px!important;min-height:36px!important;padding-left:13px!important;padding-right:13px!important}
}
/* V18: one literal frame; the controls differ only by horizontal length. */
header .imi-language-switch--site.imi-header-control{
  --imi-control-width:148px;
}
html[data-imi-language="pl"] header .btn-neon.small.imi-header-control{
  --imi-control-width:148px;
}
html[data-imi-language="en"] header .btn-neon.small.imi-header-control{
  --imi-control-width:174px;
}
html[data-imi-language] header .imi-header-control{
  width:var(--imi-control-width)!important;
  min-width:var(--imi-control-width)!important;
}

/* V19: one shared optical system, not only matching dimensions. */
header .imi-header-control{
  --imi-control-surface:linear-gradient(180deg,rgba(13,24,34,.76) 0%,rgba(5,10,17,.84) 100%);
  --imi-control-glow-rest:
    inset 0 1px 0 rgba(255,255,255,.09),
    inset 0 -1px 0 rgba(51,217,232,.08),
    0 0 0 rgba(51,217,232,0);
  --imi-control-glow-hover:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -1px 0 rgba(51,217,232,.14),
    0 0 22px rgba(51,217,232,.55);
  --imi-control-glow-active:
    inset 0 1px 0 rgba(255,255,255,.09),
    inset 0 -1px 0 rgba(51,217,232,.12),
    0 0 12px rgba(51,217,232,.38);
  background:var(--imi-control-surface)!important;
  font-weight:700!important;
}
header .imi-language-switch--site.imi-header-control::before{
  content:""!important;
  position:absolute!important;
  z-index:2!important;
  top:50%!important;
  bottom:auto!important;
  left:50%!important;
  width:1px!important;
  height:10px!important;
  border:0!important;
  background:linear-gradient(180deg,transparent,rgba(51,217,232,.38),transparent)!important;
  box-shadow:none!important;
  opacity:.62!important;
  transform:translate(-.5px,-50%)!important;
  pointer-events:none!important;
}
header .imi-language-switch--site.imi-header-control button{
  position:relative!important;
  z-index:1!important;
  padding:0 15px!important;
  color:rgba(238,241,248,.68)!important;
  text-shadow:none!important;
  transition:background-color .25s ease,color .25s ease,text-shadow .25s ease!important;
}
header .imi-language-switch--site.imi-header-control button[data-active]{
  color:var(--text)!important;
  background:linear-gradient(180deg,rgba(51,217,232,.14),rgba(51,217,232,.045))!important;
  text-shadow:0 0 9px rgba(51,217,232,.32)!important;
}
header .imi-language-switch--site.imi-header-control button:not([data-active]):hover{
  color:rgba(238,241,248,.9)!important;
  background:rgba(51,217,232,.035)!important;
}
header .imi-language-switch--site.imi-header-control .imi-language-switch__label{
  font-weight:700!important;
}
@media(max-width:820px){
  header .imi-language-switch--site.imi-header-control button{padding-left:13px!important;padding-right:13px!important}
}
@media(max-width:430px){
  header .imi-language-switch--site.imi-header-control button{padding-left:11px!important;padding-right:11px!important}
}
@media(max-width:820px){
  header .btn-neon.small.imi-header-control{display:none!important}
  header .imi-language-switch--site.imi-header-control{
    --imi-control-width:138px;
  }
}
@media(max-width:430px){
  header .imi-language-switch--site.imi-header-control{
    --imi-control-width:128px;
  }
}

/* V21: language changes must never reflow the desktop header. */
@media(min-width:1321px){
  header{
    display:grid!important;
    grid-template-columns:342px minmax(540px,1fr) 342px!important;
    column-gap:0!important;
  }
  header>.logo{
    justify-self:start!important;
  }
  header>nav{
    width:540px!important;
    margin-left:0!important;
    justify-self:center!important;
  }
  header>nav ul{
    display:grid!important;
    grid-template-columns:repeat(5,108px)!important;
    gap:0!important;
  }
  header>nav li,
  header>nav a{
    display:flex!important;
    justify-content:center!important;
    text-align:center!important;
  }
  header .header-actions{
    width:342px!important;
    min-width:342px!important;
    margin-left:0!important;
    justify-self:end!important;
  }
  html[data-imi-language] header .btn-neon.small.imi-header-control{
    --imi-control-width:174px;
  }
}
header .imi-header-control:hover,
header .btn-neon.small.imi-header-control:focus-visible,
header .imi-language-switch--site.imi-header-control:has(button:focus-visible),
header .btn-neon.small.imi-header-control:active,
header .imi-language-switch--site.imi-header-control:has(button:active){
  transform:none!important;
}

/* V22: intro language control is intentionally disabled until its separate design is approved. */
.imi-language-switch--intro{
  display:none!important;
}
