.pst-switcher {
display: inline-flex;
align-items: center;
gap: 0.4rem;
font-size: 0.875rem;
}
.pst-switcher__link {
display: inline-flex;
align-items: center;
gap: 0.4rem;
text-decoration: none;
padding: 0.15rem 0.5rem;
border-radius: 999px;
color: inherit;
opacity: 0.7;
}
.pst-switcher__link:hover { opacity: 1; }
.pst-switcher__link.is-active {
opacity: 1;
font-weight: 600;
background: rgba(0, 0, 0, 0.06);
}
.pst-switcher__flag {
font-size: 1.1em;
line-height: 1;
}
.pst-switcher__code {
font-size: 0.8em;
letter-spacing: 0.03em;
}
.pst-float__flag { font-size: 1.15em; line-height: 1; display: inline-flex; } .pst-switcher__flag img.emoji,
.pst-float__flag img.emoji {
margin: 0;
height: 1em;
width: auto;
vertical-align: middle;
} .pst-float {
position: fixed;
right: 1.25rem;
bottom: 1.25rem;
z-index: 1050;
}
.pst-float__toggle {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.55rem 0.85rem;
border: 0;
border-radius: 999px;
background: #0091bd; color: #fff;
font-size: 0.9rem;
font-weight: 600;
line-height: 1;
cursor: pointer;
box-shadow: 0 6px 20px rgba(16, 21, 26, 0.18);
transition: background-color 0.15s ease, transform 0.15s ease;
}
.pst-float__toggle:hover { background: #007a9e; transform: translateY(-1px); }
.pst-float__current { letter-spacing: 0.03em; }
.pst-float__panel {
position: absolute;
right: 0;
bottom: calc(100% + 0.5rem);
background: #fff;
border: 1px solid rgba(16, 21, 26, 0.1);
border-radius: 12px;
box-shadow: 0 12px 30px rgba(16, 21, 26, 0.16);
padding: 0.4rem;
}
.pst-float__panel .pst-switcher {
flex-direction: column;
align-items: stretch;
gap: 0.15rem;
}
.pst-float__panel .pst-switcher__link {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.45rem 0.7rem;
border-radius: 8px;
color: #10151a;
}
.pst-float__panel .pst-switcher__link:hover { background: rgba(0, 145, 189, 0.12); }
.pst-float__panel .pst-switcher__link.is-active { background: rgba(0, 145, 189, 0.2); }
@media print { .pst-float { display: none; } } #pst-translating {
position: fixed;
right: 1.25rem;
bottom: 1.25rem;
z-index: 2147483600; display: inline-flex;
align-items: center;
gap: 0.6rem;
padding: 0.6rem 1rem;
background: #10151a;
color: #fff;
font-size: 0.875rem;
line-height: 1;
border-radius: 999px;
box-shadow: 0 8px 24px rgba(16, 21, 26, 0.25);
opacity: 1;
transform: translateY(0);
transition: opacity 0.3s ease, transform 0.3s ease;
}
#pst-translating.is-done {
opacity: 0;
transform: translateY(8px);
}
.pst-translating__spinner {
width: 1rem;
height: 1rem;
border: 2px solid rgba(255, 255, 255, 0.35);
border-top-color: #fff;
border-radius: 50%;
animation: pst-spin 0.7s linear infinite;
}
@keyframes pst-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
.pst-translating__spinner { animation-duration: 1.6s; }
} .pst-pending {
color: transparent !important; -webkit-text-fill-color: transparent !important;
text-shadow: none !important;
background-image: linear-gradient(
90deg,
rgba(16, 21, 26, 0.06) 25%,
rgba(16, 21, 26, 0.12) 37%,
rgba(16, 21, 26, 0.06) 63%
) !important;
background-size: 400% 100% !important; -webkit-background-clip: border-box !important;
background-clip: border-box !important;
border-radius: 4px;
animation: pst-shimmer 1.4s ease-in-out infinite; -webkit-box-decoration-break: clone;
box-decoration-break: clone;
} .pst-pending * {
color: transparent !important;
-webkit-text-fill-color: transparent !important;
text-shadow: none !important;
} .pst-pending img, .pst-pending svg { opacity: 0.4; }
@keyframes pst-shimmer {
0%   { background-position: 100% 0; }
100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
.pst-pending { animation: none; }
}