.grt-ticker {
    --grt-label-bg: #202124;
    --grt-ticker-bg: #168fd3;
    --grt-label-color: #fff;
    --grt-text-color: #fff;
    --grt-height: 48px;
    --grt-icon-height: 18px;
    --grt-radius: 5px;
    --grt-game-title-color: #fff;
    --grt-title-badge-bg: #0f6fa9;
    --grt-title-badge-radius: 6px;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: var(--grt-height);
    overflow: hidden;
    border-radius: var(--grt-radius);
    font: inherit;
    line-height: 1.2;
    box-sizing: border-box;
    isolation: isolate;
}

.grt-ticker *,
.grt-ticker *::before,
.grt-ticker *::after {
    box-sizing: border-box;
}

.grt-label {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: var(--grt-height);
    padding: 0 15px;
    color: var(--grt-label-color);
    background: var(--grt-label-bg);
    white-space: nowrap;
    font-weight: 700;
}

.grt-label-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.grt-label-icon svg,
.grt-label-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    fill: currentColor;
}

.grt-viewport {
    flex: 1 1 auto;
    min-width: 0;
    min-height: var(--grt-height);
    overflow: hidden;
    color: var(--grt-text-color);
    background: var(--grt-ticker-bg);
}

.grt-track {
    display: flex;
    align-items: stretch;
    width: max-content;
    min-width: 100%;
    min-height: var(--grt-height);
    will-change: transform;
}

.grt-group {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: var(--grt-height);
    padding: 0 0 0 12px;
    white-space: nowrap;
    font-weight: 700;
}

.grt-ticker.is-static .grt-track,
.grt-ticker.is-reduced-motion .grt-track {
    width: 100%;
    min-width: 100%;
    transform: none !important;
}

.grt-ticker.is-static .grt-group {
    width: 100%;
}

.grt-ticker.is-reduced-motion .grt-viewport {
    overflow-x: auto;
    scrollbar-width: thin;
}

.grt-release {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.grt-game-title,
.grt-game-title:visited,
.grt-game-title:hover,
.grt-game-title:focus {
    color: var(--grt-game-title-color);
    font-weight: inherit;
    text-decoration: none;
}

.grt-ticker.has-title-badges .grt-game-title {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: var(--grt-title-badge-radius);
    background: var(--grt-title-badge-bg);
    line-height: 1.1;
}

.grt-game-title[href]:hover,
.grt-game-title[href]:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.grt-separator {
    display: inline-block;
    margin: 0 15px;
    opacity: .95;
}

.grt-loop-separator {
    margin-right: 3px;
}

.grt-platforms {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.grt-platforms-text {
    gap: 0;
}

.grt-platform-icon,
.grt-platform-both {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--grt-icon-height);
    min-height: var(--grt-icon-height);
}

.grt-platform-icon img,
.grt-platform-both img {
    display: block;
    width: auto;
    max-width: calc(var(--grt-icon-height) * 1.9);
    height: var(--grt-icon-height);
    object-fit: contain;
}

.grt-platform-both {
    gap: 4px;
}

.grt-platform-text {
    display: inline;
}

.grt-date {
    opacity: .98;
    font-weight: 400;
}

@media (max-width: 640px) {
    .grt-ticker {
        font-size: 14px;
    }

    .grt-label {
        max-width: 48%;
        padding-inline: 11px;
        gap: 7px;
    }

    .grt-label-text {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .grt-label-icon {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }

    .grt-group {
        padding-left: 10px;
    }

    .grt-loop-separator {
        margin-right: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .grt-track {
        scroll-behavior: auto;
    }
}
