.header-section .header-wrapper > .logo.ts-games-logo {
    width: 226px;
    align-items: center;
    gap: 8px;
}
.header-section .logo.ts-games-logo > a:not(.ts-games-link) {
    display: inline-flex;
    align-items: center;
    flex: 1;
    width: auto;
    min-width: 0;
}
.header-section .logo.ts-games-logo > a:not(.ts-games-link) > img { width: 170px; min-width: 0; }
.header-section .logo.ts-games-logo > .ts-games-link {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    background: rgb(132 100 255 / 12%);
}
.ts-games-link:hover { background: rgb(132 100 255 / 23%); }
.ts-games-link:focus-visible { outline: 3px solid #31d7a9; outline-offset: 3px; }
html.white-mode .ts-games-link:focus-visible { outline-color: #126b56; }
.ts-games-pad { display: block; width: 44px; height: 44px; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
    .ts-games-pad { animation: ts-games-pad-float 3s ease-in-out infinite; }
    .ts-games-button-a { animation: ts-games-pad-glow 3s ease-in-out infinite; }
    .ts-games-button-b { animation: ts-games-pad-glow 3s 1.5s ease-in-out infinite; }
}
@keyframes ts-games-pad-float {
    0%, 100% { transform: translateY(1px) rotate(-5deg); }
    50% { transform: translateY(-2px) rotate(5deg); }
}
@keyframes ts-games-pad-glow { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (min-width: 992px) {
    .header-section .header-wrapper > .logo.hide_mobile.ts-games-logo { display: flex !important; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .header-section .header-wrapper > .logo.ts-games-logo { width: 196px; }
    .header-section .logo.ts-games-logo > a:not(.ts-games-link) > img { width: 140px; }
}
@media (max-width: 991px) {
    .header-section .header-wrapper > .logo.show_mobile.ts-games-logo {
        display: flex !important;
        flex-basis: 160px;
        width: 160px;
        max-width: calc(100% - 184px);
        margin-right: 8px;
        gap: 4px;
    }
    .header-section .logo.show_mobile.ts-games-logo > a:not(.ts-games-link) > img { width: 108px; }
}
