@font-face {
    font-family: 'Exl Language Pixel';
    src: url('Visitor_Rus.ttf') format('truetype');
    font-display: swap;
}

.exl-lang-control { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.exl-lang-segments { display: inline-flex; min-width: 0; padding: 3px; gap: 2px; border-radius: 999px; background: rgba(255,255,255,.08); }
.exl-lang-button, .exl-lang-segment, .exl-lang-choice {
    border: 0;
    color: inherit;
    cursor: pointer;
    font: 600 13px/18px var(--exl-font-body, sans-serif);
}
.exl-lang-segment { padding: 4px 8px; min-width: 34px; max-width: 148px; border-radius: 999px; background: transparent; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exl-lang-segment[aria-pressed="true"], .exl-lang-choice[aria-pressed="true"] { background: rgba(145,72,255,.24); color: #eeeaf6; }
.exl-lang-button { padding: 7px 10px; border-radius: 12px; background: rgba(255,255,255,.09); }
.exl-lang-button:hover, .exl-lang-segment:hover, .exl-lang-choice:hover { background-color: rgba(255,255,255,.12); }
.exl-lang-icon { flex: none; width: 34px; height: 34px; padding: 0; border-radius: 50%; }
.exl-lang-plus { position: relative; color: inherit; }
.exl-lang-plus::before, .exl-lang-plus::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2.4px;
    border-radius: 2px;
    background: currentColor;
    content: '';
    transition: transform .22s ease;
}
.exl-lang-plus::before { transform: translate(-50%,-50%); }
.exl-lang-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.exl-lang-plus[aria-expanded="true"]::before { transform: translate(-50%,-50%) rotate(45deg); }
.exl-lang-plus[aria-expanded="true"]::after { transform: translate(-50%,-50%) rotate(135deg); }

.exl-lang-control:not(.exl-lang-auth) { gap: 8px; }
.exl-lang-control:not(.exl-lang-auth) .exl-lang-segments {
    gap: 2px;
    padding: 3px;
    border-radius: 12px;
    background: #0f0f14;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
.exl-lang-control:not(.exl-lang-auth) .exl-lang-segment {
    min-width: 42px;
    padding: 5px 10px;
    border-radius: 9px;
    color: rgba(243,242,247,.55);
    font: 700 13px/18px var(--exl-font-heading, sans-serif);
    letter-spacing: .03em;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.exl-lang-control:not(.exl-lang-auth) .exl-lang-segment:hover { background-color: rgba(255,255,255,.06); color: #f3f2f7; }
.exl-lang-control:not(.exl-lang-auth) .exl-lang-segment[aria-pressed="true"] {
    background: linear-gradient(180deg, #a874ff 0%, #9148ff 55%, #8338f5 100%);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 2px 8px -2px rgba(131,56,245,.55);
}
.exl-lang-control:not(.exl-lang-auth) .exl-lang-plus {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #24242d;
    color: #b3b1bd;
    box-shadow: none;
    transition: background-color .2s ease, color .2s ease;
}
.exl-lang-control:not(.exl-lang-auth) .exl-lang-plus:hover { background-color: #2d2d38; color: #ffffff; }
.exl-lang-control:not(.exl-lang-auth) .exl-lang-plus[aria-expanded="true"] { background: rgba(145,72,255,.18); color: #dccbff; }

.exl-lang-dialog {
    box-sizing: border-box;
    padding: 16px;
    border: 0;
    color: #f3f2f7;
    font: 13px/18px var(--exl-font-body, sans-serif);
    overscroll-behavior: contain;
}
.exl-lang-dialog button:focus-visible, .exl-lang-dialog summary:focus-visible, .exl-lang-control button:focus-visible {
    outline: 2px solid #b996ff;
    outline-offset: -2px;
}
.exl-lang-dialog input:focus, .exl-lang-dialog input:focus-visible { outline: none; }
.is-auth .exl-lang-create input:focus { border-color: rgba(145,72,255,.6); }
.exl-lang-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.exl-lang-header h2 { margin: 0; font: 700 18px/24px var(--exl-font-heading, sans-serif); }
.exl-lang-list { display: grid; gap: 5px; max-height: min(312px, 42vh); overflow: auto; }
.exl-lang-entry { display: flex; align-items: center; gap: 5px; }
.exl-lang-choice { flex: 1; min-width: 0; min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 10px; background: #202020; text-align: left; }
.exl-lang-code { flex: none; display: grid; place-items: center; width: 40px; height: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; font-size: 12px; overflow: hidden; }
.exl-lang-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.exl-lang-row-text strong, .exl-lang-row-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exl-lang-row-text small { color: #9c96aa; font-size: 12px; font-weight: 400; }
.exl-lang-drop { margin-top: 14px; padding: 12px; border: 1px dashed #4b4654; border-radius: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.exl-lang-drop span { color: #aaa3b5; }
.exl-lang-create { margin-top: 14px; }
.exl-lang-create summary { cursor: pointer; }
.exl-lang-create form { margin-top: 8px; display: grid; gap: 8px; }
.exl-lang-create label { display: grid; gap: 4px; min-width: 0; }
.exl-lang-create input, .exl-lang-create select { box-sizing: border-box; min-width: 0; width: 100%; padding: 7px; border: 1px solid #40394a; border-radius: 8px; color: inherit; background: #24202b; font: inherit; }
.exl-lang-result { color: #ffa2ac; margin: 10px 0 0; }
.exl-lang-result:empty { display: none; }
.xs-st-row.exl-lang-row { flex-wrap: wrap; }
.exl-lang-row .exl-lang-control { margin-left: auto; }

.exl-lang-dialog.is-profile {
    width: min(480px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 20px;
    overflow: visible;
    border-radius: 22px;
    background: #15151b;
    box-shadow: 0 10px 34px rgba(0,0,0,.32), 0 30px 80px -20px rgba(0,0,0,.55);
}
.exl-lang-dialog.is-profile[open] { display: flex; flex-direction: column; }
.is-profile .exl-lang-body { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.exl-lang-dialog.is-profile[open] { animation: exl-lang-profile-in var(--xs-sp-preview-d, .42s) var(--xs-sp-preview, cubic-bezier(.22,1,.36,1)) both; }
.exl-lang-dialog.is-profile::backdrop { background: rgba(5,5,8,.55); animation: exl-lang-scrim-in .26s ease both; }
.exl-lang-dialog.is-profile.is-closing { pointer-events: none; animation: exl-lang-profile-out .3s cubic-bezier(.4,0,.2,1) both; }
.exl-lang-dialog.is-profile.is-closing::backdrop { animation: exl-lang-scrim-out .28s ease both; }
.is-profile .exl-lang-header { flex: none; min-height: 40px; margin-bottom: 14px; }
.is-profile .exl-lang-header h2 { color: #f3f2f7; font: 700 21px/1.2 var(--exl-font-heading, sans-serif); }
.exl-lang-profile-close {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #242424;
    color: #ccc;
    cursor: pointer;
    --xs-glass-color: #222222;
}
.exl-lang-profile-close.xs-glass { background: transparent; color: #fff; }
.exl-lang-profile-close svg { position: absolute; z-index: 1; top: 50%; left: 50%; display: block; flex: none; width: 16px; height: 16px; margin: -8px 0 0 -8px; transition: none; pointer-events: none; }
.is-profile .exl-lang-list { gap: 0; border-radius: 18px; background: #1a1920; }
.is-profile .exl-lang-entry { position: relative; gap: 6px; }
.is-profile .exl-lang-entry + .exl-lang-entry::before { position: absolute; top: 0; left: 68px; right: 0; height: 1px; background: rgba(255,255,255,.06); content: ''; pointer-events: none; }
.is-profile .exl-lang-choice { min-height: 64px; padding: 10px 14px 10px 12px; border-radius: 0; background: transparent; color: #f3f2f7; transition: background-color .2s ease; }
.is-profile .exl-lang-choice:hover { background: rgba(255,255,255,.035); }
.is-profile .exl-lang-choice:active { background: rgba(255,255,255,.06); }
.is-profile .exl-lang-choice[aria-pressed="true"] { background: rgba(145,72,255,.14); }
.is-profile .exl-lang-choice[aria-pressed="true"]:hover { background: rgba(145,72,255,.18); }
.is-profile .exl-lang-code { width: 44px; height: 44px; border: 0; border-radius: 12px; background: #24242d; color: #b3b1bd; font: 700 14px/1 var(--exl-font-heading, sans-serif); transition: background-color .2s ease, color .2s ease; }
.is-profile .exl-lang-choice[aria-pressed="true"] .exl-lang-code { background: linear-gradient(180deg, #a874ff 0%, #9148ff 55%, #8338f5 100%); color: #ffffff; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.is-profile .exl-lang-row-text strong { color: #f3f2f7; font: 700 15px/20px var(--exl-font-heading, sans-serif); }
.is-profile .exl-lang-row-text small { color: rgba(243,242,247,.5); font: var(--exl-message-size, 13px)/var(--exl-message-line, 18px) var(--exl-font-body, sans-serif); }
.is-profile .exl-lang-choice::after {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1.6px rgba(255,255,255,.22);
    background: transparent center / 15px 15px no-repeat;
    content: '';
    transition: background-color .22s ease, box-shadow .22s ease;
}
.is-profile .exl-lang-choice[aria-pressed="true"]::after {
    box-shadow: none;
    background-color: #9148ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.is-profile .exl-lang-entry > .exl-lang-button { flex: none; border-radius: 10px; background: rgba(255,255,255,.06); color: #b3b1bd; }
.is-profile .exl-lang-entry > .exl-lang-button:hover { background: rgba(255,255,255,.1); color: #ffffff; }
.is-profile .exl-lang-entry > .exl-lang-button:last-child { margin-right: 10px; }
.is-profile .exl-lang-create form { gap: 12px; margin-top: 12px; }
.is-profile .exl-lang-create label > span, .exl-lang-field > span { color: rgba(243,242,247,.55); font: 700 13px/18px var(--exl-font-heading, sans-serif); }
.is-profile .exl-lang-create input, .exl-lang-select {
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    border: 0;
    border-radius: 12px;
    background: #1b1b22;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
    color: #f3f2f7;
    font: 14px/22px var(--exl-font-body, sans-serif);
    transition: background-color .2s ease, box-shadow .2s ease;
}
.is-profile .exl-lang-create input:focus { outline: none; box-shadow: inset 0 0 0 1.5px rgba(145,72,255,.75); }
.exl-lang-field { display: grid; gap: 4px; min-width: 0; }
.exl-lang-select { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; text-align: left; }
.exl-lang-select:hover { background: #20202a; }
.exl-lang-select[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px rgba(145,72,255,.75); }
.exl-lang-select-chevron { flex: none; display: inline-flex; color: rgba(243,242,247,.5); transition: transform .25s cubic-bezier(.22,1,.36,1), color .2s ease; }
.exl-lang-select[aria-expanded="true"] .exl-lang-select-chevron { transform: rotate(180deg); color: #c4a5ff; }
.exl-lang-menu {
    box-sizing: border-box;
    inset: auto;
    max-height: 240px;
    margin: 0;
    padding: 6px;
    overflow: auto;
    border: 0;
    border-radius: 14px;
    background: #1a1920;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 14px 34px -10px rgba(0,0,0,.8);
    color: #f3f2f7;
}
.exl-lang-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #f3f2f7;
    cursor: pointer;
    font: 600 14px/20px var(--exl-font-body, sans-serif);
    text-align: left;
    transition: background-color .15s ease;
}
.exl-lang-menu-item:hover, .exl-lang-menu-item:focus-visible { background: rgba(255,255,255,.06); }
.exl-lang-menu-item[aria-selected="true"] { background: rgba(145,72,255,.16); color: #e6d9ff; }
.exl-lang-menu-item::after {
    flex: none;
    width: 16px;
    height: 16px;
    background: center / 16px 16px no-repeat;
    content: '';
    opacity: 0;
}
.exl-lang-menu-item[aria-selected="true"]::after {
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4a5ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
@keyframes exl-lang-profile-in { from { transform: scale(.01); } to { transform: scale(1); } }
@keyframes exl-lang-profile-out { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.3); } }
@keyframes exl-lang-scrim-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes exl-lang-scrim-out { from { opacity: 1; } to { opacity: 0; } }

.exl-lang-auth { flex: none; color: #807a8e; }
.exl-lang-auth .exl-lang-segment { max-width: min(120px, 23vw); }
.exl-lang-auth .exl-lang-segments, .exl-lang-form-options {
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
    height: 34px;
    padding: 3px;
    gap: 2px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    background: transparent;
}
.exl-lang-auth .exl-lang-segment, .exl-lang-form-options .exl-lang-segment, .is-auth .exl-lang-code {
    min-width: 32px;
    padding: 0 8px;
    border-radius: 3px;
    font: 13.6px/24px 'Exl Language Pixel', monospace;
    letter-spacing: .816px;
}
.exl-lang-auth .exl-lang-plus { width: 30px; height: 26px; border-radius: 3px; background: transparent; }
.exl-lang-auth .exl-lang-plus[aria-expanded="true"] { background: rgba(145,72,255,.18); color: #dccbff; }
.exl-lang-auth .exl-lang-plus:hover, .exl-lang-auth .exl-lang-segment:not([aria-pressed="true"]):hover {
    background: rgba(255,255,255,.05);
    color: #eeeaf6;
}
.exl-lang-dialog.is-auth {
    position: fixed;
    inset: auto;
    z-index: 12000;
    width: min(348px, calc(100vw - 16px));
    margin: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background: #0e0d13;
    box-shadow: 0 18px 44px -6px rgba(0,0,0,.78);
    color: #eeeaf6;
    font-family: 'Cascadia Mono', Consolas, ui-monospace, monospace;
    transform-origin: var(--exl-lang-origin, right top);
}
/* motion.rs::preview uses m=5, k=900, c=104 over 420 ms. */
.exl-lang-dialog.is-auth[open] {
    animation: exl-lang-profile-in .42s cubic-bezier(.24,.77,.31,1) both;
    animation-timing-function: linear(0, 0.0249, 0.088, 0.1745, 0.2732, 0.3756, 0.4758, 0.5698, 0.655, 0.7302, 0.7949, 0.8493, 0.894, 0.9299, 0.9581, 0.9795, 0.9953, 1.0065, 1.0139, 1.0184, 1.0206, 1.0212, 1.0206, 1.0192, 1.0173, 1.0152, 1.0131, 1.011, 1.009, 1.0072, 1.0056, 1.0043, 1.0031, 1.0022, 1.0014, 1.0009, 1.0004, 1.0001, 0.9998, 0.9997, 1);
}
.exl-lang-dialog.is-auth.is-closing {
    pointer-events: none;
    animation: exl-lang-auth-shrink .3s cubic-bezier(.4,0,.2,1) both, exl-lang-scrim-out .26s cubic-bezier(.33,0,.67,1) both;
}
@keyframes exl-lang-auth-shrink { from { transform: scale(1); } to { transform: scale(.3); } }
.is-auth .exl-lang-header { margin-bottom: 10px; }
.is-auth .exl-lang-header h2 { color: #9c96aa; font: 12.8px/18px 'Exl Language Pixel', monospace; letter-spacing: .512px; text-transform: lowercase; }
.is-auth .exl-lang-list { gap: 0; margin: 0 -10px; max-height: min(312px, 42vh); }
.is-auth .exl-lang-entry { height: 52px; padding: 2px 0; box-sizing: border-box; }
.is-auth .exl-lang-choice { min-height: 48px; border-radius: 6px; background: transparent; }
.is-auth .exl-lang-choice[aria-pressed="true"] { background: rgba(145,72,255,.08); }
.is-auth .exl-lang-choice[aria-pressed="true"]::after { margin: 0 4px; color: #c3a6ff; content: '✓'; }
.is-auth .exl-lang-choice:not([aria-pressed="true"]):hover { background: rgba(255,255,255,.045); }
.is-auth .exl-lang-code { box-sizing: border-box; border-radius: 4px; color: #9c96aa; background: rgba(255,255,255,.03); }
.is-auth .exl-lang-choice[aria-pressed="true"] .exl-lang-code { background: rgba(145,72,255,.28); border-color: rgba(145,72,255,.7); color: #eeeaf6; }
.is-auth .exl-lang-row-text strong { font: 14px/20px 'Cascadia Mono', Consolas, monospace; }
.is-auth .exl-lang-row-text small { color: #807a8e; }
.is-auth .exl-lang-create { position: relative; margin-top: 11px; padding-top: 12px; }
.is-auth .exl-lang-create::before { position: absolute; top: 0; left: -16px; right: -16px; height: 1px; background: rgba(255,255,255,.08); content: ''; }
.is-auth .exl-lang-create summary { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 42px; border: 1px dashed rgba(255,255,255,.17); border-radius: 6px; color: #9c96aa; font: 14.4px/20px 'Exl Language Pixel', monospace; letter-spacing: .72px; }
.is-auth .exl-lang-create summary::before { color: #c3a6ff; content: '+'; }
.is-auth .exl-lang-create summary:hover { border-style: solid; border-color: rgba(145,72,255,.6); background: rgba(145,72,255,.08); color: #eeeaf6; }
.is-auth .exl-lang-create[open] summary { display: none; }
.is-auth .exl-lang-create form { grid-template-columns: minmax(0,112px) minmax(0,1fr); gap: 12px 14px; margin-top: 0; }
.is-auth .exl-lang-create label > span, .exl-lang-form-source > span { color: #c3a6ff; font: 12.8px/16px 'Exl Language Pixel', monospace; letter-spacing: .512px; text-transform: lowercase; }
.is-auth .exl-lang-create input { height: 36px; border-radius: 6px; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.035); }
.exl-lang-form-source { display: grid; gap: 4px; }
.exl-lang-form-options { height: 36px; }
.exl-lang-form-options .exl-lang-segment { flex: 1; }
.exl-lang-form-name, .exl-lang-form-actions { grid-column: 1 / -1; }
.exl-lang-form-actions { display: flex; gap: 10px; }
.exl-lang-form-actions > button { flex: 1; min-height: 38px; }
.is-auth .exl-lang-button { border-radius: 6px; }
.is-auth .exl-lang-submit { background: #9148ff; color: white; }
.is-auth .exl-lang-drop { display: grid; justify-items: end; padding: 0; border: 0; gap: 10px; }
.is-auth .exl-lang-drop span { width: 100%; color: #807a8e; font-size: 12px; }
.is-auth .exl-lang-drop button { padding: 0; background: transparent; color: #c3a6ff; font: 12px/22px 'Cascadia Mono', Consolas, monospace; }
@media (max-width: 440px) {
    .ax6-session .ax6-bar { gap: 6px; }
    .ax6-bar-link { min-width: 0; }
    .ax6-bar-link span { overflow: hidden; text-overflow: ellipsis; }
}

.exl-lang-dialog.is-still[open], .exl-lang-dialog.is-still.is-closing, .exl-lang-dialog.is-still::backdrop { animation: none; }
@media (prefers-reduced-motion: reduce) {
    .exl-lang-dialog[open], .exl-lang-dialog.is-closing, .exl-lang-dialog::backdrop { animation: none !important; }
    .exl-lang-plus::before, .exl-lang-plus::after { transition: none; }
}

.exl-lang-veil {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: rgba(8,7,12,.74);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #f3f2f7;
    cursor: progress;
    opacity: 0;
    transition: opacity .2s ease;
    -webkit-user-select: none;
    user-select: none;
}
.exl-lang-veil.is-on { opacity: 1; }
.exl-lang-veil-ring {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(145,72,255,0) 0%, #a874ff 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4.5px), #000 calc(100% - 4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4.5px), #000 calc(100% - 4px));
    will-change: transform;
    animation: exl-lang-spin .9s linear infinite;
}
.exl-lang-veil-text {
    font: 700 16px/22px var(--exl-font-heading, sans-serif);
    letter-spacing: .01em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s ease .05s, transform .35s cubic-bezier(.22,1,.36,1) .05s;
}
.exl-lang-veil.is-on .exl-lang-veil-text { opacity: .92; transform: none; }
@keyframes exl-lang-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .exl-lang-veil, .exl-lang-veil-text { transition: none; }
    .exl-lang-veil-ring { animation-duration: 2.4s; }
}