.ks-header{position:relative;overflow:hidden;display:flex;justify-content:center;align-items:center;padding:36px 16px;
 background:radial-gradient(circle at 50% 0,#244a8f,#0b1630 65%,#060c1c)}
.ks-header::after{content:"";position:absolute;inset:auto 0 0;height:4px;
 background:linear-gradient(to right,#00a650 33.3%,#fff 33.3% 66.6%,#ed2024 66.6%)}
.ks-stage{display:block;width:min(420px,90%);perspective:900px}
.ks-logo{position:relative;aspect-ratio:960/452;transform-style:preserve-3d;animation:ks-swing 7s ease-in-out infinite}
.ks-logo img{position:absolute;inset:0;width:100%;height:100%}
@keyframes ks-swing{0%,100%{transform:rotateY(-22deg) rotateX(7deg)}50%{transform:rotateY(22deg) rotateX(3deg)}}
.ks-stage:hover .ks-logo{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.ks-logo{animation:none;transform:rotateY(-16deg) rotateX(6deg)}}
.ks-header{flex-direction:column;padding:22px 16px 18px}
.ks-stage{width:min(300px,76vw)}
.ks-name{color:#c9d8f5;font-size:13px;margin-top:8px}
.ks-logo noscript img{position:absolute;inset:0;width:100%}
.ks-globe{position:absolute;left:clamp(12px,4vw,64px);top:50%;transform:translateY(-50%);width:190px;height:190px;pointer-events:none}
@media(max-width:900px){.ks-globe{width:120px;height:120px;left:10px}.ks-header.ks-has-globe .ks-stage{width:min(300px,56vw)}}
@media(max-width:600px){.ks-globe{width:96px;height:96px}.ks-header.ks-has-globe{padding-left:112px;align-items:center}.ks-header.ks-has-globe .ks-stage{width:100%;max-width:250px}}
/* animated logo on the right, in every language */
.ks-header{direction:rtl;align-items:flex-start;padding-right:clamp(12px,4vw,64px)}
.ks-header .ks-stage,.ks-header .ks-name{width:min(300px,76vw)}
.ks-header .ks-name{text-align:center}
@media(max-width:600px){.ks-header.ks-has-globe{align-items:flex-start;padding-right:12px}.ks-header.ks-has-globe .ks-stage,.ks-header.ks-has-globe .ks-name{width:100%;max-width:250px}}
.ksf .ks-header{align-items:center;padding:0}
.ksf .ks-header .ks-stage,.ksf .ks-header .ks-name{width:min(250px,70vw)}
