.tt-language { position: relative; flex: none; font-size: .76rem; line-height: 1.5; }
.tt-language summary { display: flex; align-items: center; gap: .45rem; cursor: pointer; list-style: none; min-height: 44px; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: 2px; }
.tt-language summary::-webkit-details-marker { display: none; }
.tt-language ul { position: absolute; right: 0; z-index: 50; top: calc(100% + .5rem); width: 220px; padding: .4rem; margin: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 30px #152a3212; }
.tt-language a { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .7rem; min-height: 44px; text-decoration: none; }
.tt-language a[aria-current] { background: var(--paper); font-weight: 600; }
.tt-language a small { flex: 0 0 100%; font-size: .7rem; font-weight: 400; }
.tt-language :is(summary,a):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.tt-flag { display: inline-block; width: 21px; height: 14px; flex: 0 0 21px; border: 1px solid #152a3230; background-size: cover; background-position: center; }
.tt-flag-pl { background-image: linear-gradient(#fff 50%,#dc143c 50%); }
.tt-flag-en { background-image: url("flag-gb.svg"); }
@media(max-width:1120px) { .tt-language { margin: 1rem 0 0; width: fit-content; } .tt-language ul { right: auto; left: 0; position: static; margin-top: .5rem; box-shadow: none; } }
