.dialog-list {
    background: transparent;
}

.p-12 {
    padding: 12px;
}

.green {
    color: var(--accent-green);
}

.blue {
    color: var(--accent-blue);
}

.circular-progress-bar {
    color: var(--accent-color);
}

.purple {
    color: var(--accent-purple);
}

.orange {
    color: var(--accent-orange);
}

.red {
    color: var(--accent-red);
}

.list-header {
    padding: 6px 12px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 1px solid var(--card-shade-color);
    background-color: var(--card-bg-color);
    box-shadow: none;
}

.list-header entry {
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
}

.games-filter-active {
    color: var(--accent-color);
}

.list-content {
    box-shadow: none;
}

.list-content,
.list-content > row:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.selection-popover-content {
    min-width: 220px;
    padding: 12px;
}

.selection-popover-list > row {
    background: transparent;
    border-radius: 8px;
}

.selection-popover-list > row:hover {
    background-color: alpha(var(--accent-bg-color), 0.08);
}

.selection-popover-row {
    min-height: 28px;
    padding: 6px 8px;
}

.selection-popover-row image {
    color: var(--accent-color);
}

.launch-options-preview-surface {
    background-color: alpha(var(--window-fg-color), 0.04);
    border-radius: 8px;
}

.launch-options-preview-empty {
    min-height: 24px;
}

.card {
    border-radius: 12px;
}

.card.transparent-card {
    background-color: transparent;
}

.launchers-popover-list > row:not(:last-child) {
    margin-bottom: 12px;
}

.launchers-popover-list > row.launcher-selected,
.launchers-popover-list > row:selected {
    background-color: alpha(var(--accent-bg-color), 0.14);
    box-shadow: inset 0 0 0 2px alpha(var(--accent-bg-color), 0.6);
}

flowboxchild {
    background-color: transparent;
}


.controller-focus {
    box-shadow: inset 0 0 0 2px var(--accent-bg-color);
}

.games-sort-header-focus-proxy.controller-focus {
    box-shadow: none;
}

.games-sort-header-controller-focus {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
    box-shadow: inset 0 0 0 2px alpha(var(--accent-bg-color), 0.3);
}

button.controller-focus,
menubutton.controller-focus > button {
    color: var(--accent-fg-color);
    background-color: var(--accent-bg-color);
    outline: 2px solid var(--accent-color);
    outline-offset: 1px;
    box-shadow: 0 0 0 2px alpha(var(--accent-bg-color), 0.3);
}

.controller-hint-bar {
    min-height: 42px;
    padding: 8px 12px;
    color: var(--window-fg-color);
    background-color: var(--headerbar-bg-color);
    border-top: 1px solid var(--headerbar-shade-color);
}

.controller-hint-button {
    min-width: 20px;
    min-height: 20px;
    padding: 1px 6px;
    border-radius: 9999px;
    color: var(--accent-fg-color);
    background-color: var(--accent-bg-color);
    font-weight: bold;
}

.controller-hint-action {
    color: var(--window-fg-color);
}

.controller-hint-secondary {
    opacity: 0.78;
}

.tool-metadata-pill {
    border-radius: 9999px;
    padding: 2px 8px;
    color: var(--window-fg-color);
    background-color: alpha(var(--window-fg-color), 0.12);
    font-size: 0.8em;
}

button.tools-filter-active {
    background-color: alpha(var(--accent-bg-color), 0.14);
    color: var(--accent-color);
}

row.controller-focus {
    background-color: alpha(var(--accent-bg-color), 0.12);
    box-shadow: inset 0 0 0 2px var(--accent-bg-color);
}

@keyframes dance {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-4px) rotate(8deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-4px) rotate(-8deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.loading-status-page image {
    animation: dance 2s infinite ease-in-out;
}

.loading-status-page button image {
    animation: none;
}

.tools-group-card {
    padding: 16px;
}

.tools-group-card .title-4 {
    font-weight: bold;
}

.tools-collection-toolbar {
    padding: 2px 6px 6px 6px;
}

.tools-releases-card {
    margin: 6px 6px 12px 6px;
}

.tools-release-toolbar {
    padding: 0 16px;
}

.tools-release-row {
    padding: 6px 0;
}

.tools-release-row-input-box {
    background-color: transparent;
}

.tools-release-row-input-box button {
    padding: 5px;
}

.tools-release-install-button {
    color: inherit;
}

.downloads-indicator-badge {
    min-width: 1.4em;
    border-radius: 9999px;
    padding: 1px 4px;
    background-color: var(--accent-bg-color);
    color: var(--accent-fg-color);
    font-size: 0.8em;
    font-weight: bold;
}

@keyframes downloads-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-3px);
    }
    50% {
        transform: translateY(0);
    }
    65% {
        transform: translateY(-1px);
    }
}

.downloads-indicator-active {
    animation: downloads-bounce 1.2s infinite ease-in-out;
}

.downloads-popover-list > row:not(:last-child) {
    margin-bottom: 6px;
}

row.download-highlight {
    background-color: alpha(var(--accent-bg-color), 0.16);
    box-shadow: inset 0 0 0 2px alpha(var(--accent-bg-color), 0.7);
}
