/* stylelint-disable no-descending-specificity */
/* stylelint-disable declaration-block-no-redundant-longhand-properties */
/* stylelint-disable selector-id-pattern */
/* stylelint-disable selector-class-pattern */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");

.ColorwaySelectorBtn {
    height: 48px;
    width: 48px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .15s ease-out;
    background-color: var(--background-primary);
    cursor: pointer;
    color: var(--text-normal);
}

.ColorwaySelectorBtn:hover {
    background-color: var(--brand-500);
    border-radius: 16px;
}

.discordColorway {
    width: 56px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    transition: 170ms ease;
}

.discordColorway:hover {
    filter: brightness(.8);
}

.discordColorwayPreviewColorContainer {
    display: flex;
    flex-flow: wrap;
    flex-direction: row;
    overflow: hidden;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    box-shadow: 0 0 0 1.5px var(--interactive-normal);
    box-sizing: border-box;
}

.discordColorwayPreviewColor {
    width: 50%;
    height: 50%;
}

.discordColorwayPreviewColorContainer:not(:has(>.discordColorwayPreviewColor:nth-child(2)))>.discordColorwayPreviewColor {
    height: 100%;
    width: 100%;
}

.discordColorwayPreviewColorContainer:not(:has(>.discordColorwayPreviewColor:nth-child(3)))>.discordColorwayPreviewColor {
    height: 100%;
}

.discordColorwayPreviewColorContainer:not(:has(>.discordColorwayPreviewColor:nth-child(4)))>.discordColorwayPreviewColor:nth-child(3) {
    width: 100%;
}

.ColorwaySelectorWrapper {
    position: relative;
    display: flex;
    gap: 16px 28px;
    width: 100%;
    flex-wrap: wrap;
    padding: 2px;
    scrollbar-width: none !important;
}

.ColorwaySelectorWrapper::-webkit-scrollbar {
    width: 0;
}

.colorwaySelectorModal {
    width: 100% !important;
    min-width: 596px !important;
}

.colorwaySelectorModalContent {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 596px;
    overflow: visible !important;
    padding: 0 16px !important;
}

.ColorwaySelectorBtnContainer {
    position: relative;
    margin: 0 0 8px;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 72px;
}

.colorwayInfoIconContainer {
    height: 22px;
    width: 22px;
    background-color: var(--brand-500);
    position: absolute;
    top: -1px;
    left: -1px;
    border-radius: 50%;
    opacity: 0;
    z-index: +1;
    color: var(--white-500);
    padding: 1px;
    box-sizing: border-box;
}

.colorwayInfoIconContainer:hover {
    background-color: var(--brand-experiment-560);
}

.discordColorway:hover .colorwayInfoIconContainer {
    opacity: 1;
    transition: .15s;
}

.colorwayCreator-swatch {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: 4px;
    box-sizing: border-box;
    border: none;
    width: 100%;
    position: relative;
    color: #fff;
}

.colorwayCreator-swatchName {
    color: currentcolor;
    pointer-events: none;
}

.colorwayCreator-colorPreviews {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    position: relative;
    box-sizing: border-box;
}

.colorwayCreator-colorInput {
    width: 1px;
    height: 1px;
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.colorwayCreator-menuWrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 16px !important;
    overflow: visible !important;
    min-height: unset;
}

.colorwayCreator-modal {
    width: 620px !important;
    max-width: 620px;
    max-height: unset !important;
}

.colorways-creator-module-warning {
    color: var(--brand-500);
}

.colorwayCreator-colorPreviews>[class^="colorSwatch"],
.colorwayCreator-colorPreviews>[class^="colorSwatch"]>[class^="swatch"] {
    width: 100%;
    border: none;
    position: relative;
}

.colorwaysPicker-colorLabel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.colorwayCreator-colorPreviews>.colorSwatch-2UxEuG:has([fill="var(--primary-530)"])>.colorwaysPicker-colorLabel {
    color: var(--primary-530);
}

.colorwaySelector-noDisplay {
    display: none;
}

.colorwayInfo-wrapper {
    display: flex;
    flex-direction: column;
    color: var(--header-primary);
}

.colorwayInfo-colorSwatches {
    width: 100%;
    height: 46px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
    gap: 8px;
}

.colorwayInfo-colorSwatch {
    display: flex;
    width: 100%;
    height: 38px;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: .15s;
}

.colorwayInfo-colorSwatch:hover {
    filter: brightness(.8);
}

.colorwayInfo-row {
    font-weight: 400;
    font-size: 20px;
    color: var(--header-secondary);
    margin-bottom: 4px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-radius: 4px;
    background-color: var(--background-secondary);
    padding: 8px 12px;
}

.colorwayInfo-css {
    flex-direction: column;
    align-items: start;
}

.colorwayInfo-cssCodeblock {
    border-radius: 4px;
    border: 1px solid var(--background-accent);
    padding: 3px 6px;
    white-space: pre;
    max-height: 400px;
    overflow: auto;
    font-size: 0.875rem;
    line-height: 1.125rem;
    width: 100%;
    box-sizing: border-box;
}

.colorwayInfo-cssCodeblock::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.colorwayInfo-cssCodeblock::-webkit-scrollbar-corner {
    background-color: transparent;
}

.colorwayInfo-cssCodeblock::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-auto-thumb);
    min-height: 40px;
}

.colorwayInfo-cssCodeblock::-webkit-scrollbar-thumb,
.colorwayInfo-cssCodeblock::-webkit-scrollbar-track {
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 8px;
}

.colorwayInfo-cssCodeblock::-webkit-scrollbar-track {
    margin-bottom: 8px;
}

.colorwaysCreator-settingCat {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 4px;
    background-color: var(--background-secondary);
    box-sizing: border-box;
    color: var(--header-secondary);
    max-height: 250px;
    overflow: hidden overlay;
}

.colorwaysColorpicker-settingCat {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}

.colorwaysColorpicker-search {
    width: 100%;
}

.colorwaysCreator-settingItm {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
    padding: 8px;
    justify-content: space-between;
}

.colorwaysCreator-settingItm:hover {
    background-color: var(--background-modifier-hover);
}

.colorwaysCreator-settingsList .colorwaysCreator-preset {
    justify-content: start;
    gap: 8px;
}

.colorwaysCreator-settingsList {
    overflow: auto;
    max-height: 185px;
}

.colorwaysCreator-settingCat-collapsed>:is(.colorwaysCreator-settingsList, .colorwayInfo-cssCodeblock),
.colorwaysColorpicker-collapsed {
    display: none !important;
}

.colorwayColorpicker {
    display: flex;
    flex-direction: column;
    padding: 20px 16px !important;
    width: 620px !important;
    min-height: unset;
}

.colorwaysCreator-noHeader {
    margin-top: 12px;
    margin-bottom: 12px;
}

.colorwaysCreator-noMinHeight {
    min-height: unset;
    height: fit-content;
}

.colorwaysPreview-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 270px;
    flex: 1 0 auto;
    border-radius: 4px;
    overflow: hidden;
}

.colorwaysPreview-modal {
    max-width: unset !important;
    max-height: unset !important;
    width: fit-content;
    height: fit-content;
}

.colorwaysPreview-titlebar {
    height: 22px;
    width: 100%;
    display: flex;
    flex: 1 0 auto;
}

.colorwaysPreview-body {
    height: 100%;
    width: 100%;
    display: flex;
}

.colorwayPreview-guilds {
    width: 72px;
    height: 100%;
    display: flex;
    flex: 1 0 auto;
    padding-top: 4px;
    flex-direction: column;
}

.colorwayPreview-channels {
    width: 140px;
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
    border-top-left-radius: 8px;
    flex: 1 0 auto;
}

.colorwaysPreview-wrapper:fullscreen .colorwayPreview-channels {
    width: 240px;
}

.colorwayPreview-chat {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    flex-direction: column-reverse;
}

.colorwayPreview-userArea {
    width: 100%;
    height: 40px;
    display: flex;
    flex: 1 0 auto;
}

.colorwaysPreview-wrapper:fullscreen .colorwayPreview-userArea {
    height: 52px;
}

.colorwaysPreview {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 5px;
    border-radius: 4px;
    background-color: var(--background-secondary);
    box-sizing: border-box;
    color: var(--header-secondary);
    overflow: hidden overlay;
    margin-bottom: 4px;
}

.colorwaysPreview-collapsed .colorwaysPreview-wrapper {
    display: none;
}

.colorwayInfo-lastCat,
.colorwaysCreator-lastCat {
    margin-bottom: 12px;
}

.colorwayPreview-guild {
    width: 100%;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
}

.colorwayPreview-guildItem {
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50px;
    transition: .2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.colorwayPreview-guildItem:hover {
    border-radius: 16px;
}

.colorwayPreview-guildSeparator {
    width: 32px;
    height: 2px;
    opacity: .48;
    border-radius: 1px;
}

.colorwayToolbox-listItem {
    align-items: center;
    border-radius: 4px;
    color: var(--interactive-normal);
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: transparent !important;
    width: calc(564px / 4);
    cursor: default;
    float: left;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.colorwayToolbox-listItemSVG {
    padding: 19px;
    overflow: visible;
    border-radius: 50%;
    background-color: var(--background-tertiary);
    border: 1px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .15s ease;
    cursor: pointer;
    color: var(--interactive-normal);
}

.colorwayToolbox-listItem:hover {
    color: var(--interactive-normal) !important;
}

.colorwayToolbox-listItemSVG:hover {
    border-color: var(--brand-500);
    background-color: var(--brand-experiment-15a);
    color: var(--interactive-hover) !important;
}

.colorwayToolbox-title {
    align-items: center;
    display: flex;
    text-transform: uppercase;
    margin-top: 2px;
    padding-bottom: 8px;
    margin-bottom: 0;
}

.colorwayToolbox-list {
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.colorwayPreview-chatBox {
    height: 32px;
    border-radius: 6px;
    margin: 8px;
    margin-bottom: 12px;
    margin-top: 0;
    flex: 1 1 auto;
}

.colorwayPreview-filler {
    width: 100%;
    height: 100%;
    flex: 0 1 auto;
}

.colorwayPreview-topShadow {
    box-shadow: 0 1px 0 hsl(var(--primary-900-hsl)/20%), 0 1.5px 0 hsl(var(--primary-860-hsl)/5%), 0 2px 0 hsl(var(--primary-900-hsl)/5%);
    width: 100%;
    height: 32px;
    font-family: var(--font-display);
    font-weight: 500;
    padding: 12px 16px;
    box-sizing: border-box;
    align-items: center;
    display: flex;
    flex: 1 0 auto;
}

.colorwayPreview-channels>.colorwayPreview-topShadow {
    border-top-left-radius: 8px;
}

.colorwayPreview-channels>.colorwayPreview-topShadow:hover {
    background-color: hsl(var(--primary-500-hsl)/30%);
}

.colorwaysPreview-wrapper:fullscreen .colorwayPreview-topShadow {
    height: 48px;
}

.colorwaysPreview-wrapper:fullscreen .colorwayPreview-chatBox {
    height: 44px;
    border-radius: 8px;
    margin: 16px;
    margin-bottom: 24px;
}

.colorwaysBtn-tooltipContent {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
}

.colorwaySelector-headerIcon {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    transition: transform .1s ease-out, opacity .1s ease-out;
    color: var(--interactive-normal);
}

.colorwaySelector-header {
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
    box-shadow: none !important;
}

.colorwaySelector-search {
    width: 100%;
}

.colorwaySelector-sources {
    flex: 0 0 auto;
    margin-right: auto;
    color: var(--button-outline-primary-text);
    border-color: var(--button-outline-primary-border);
}

.colorwaySelector-sources:hover {
    background-color: var(--button-outline-primary-background-hover);
    border-color: var(--button-outline-primary-border-hover);
    color: var(--button-outline-primary-text-hover);
}

.colorwaySelector-headerBtn {
    position: absolute;
    top: 64px;
    right: 20px;
}

.theme-light .colorwaySelector-pill_selected {
    border-color: var(--brand-500) !important;
    background-color: var(--brand-experiment-160) !important;
}

.theme-dark .colorwaySelector-pill_selected {
    border-color: var(--brand-500) !important;
    background-color: var(--brand-experiment-15a) !important;
}

.colorwaysTooltip-tooltipPreviewRow {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.colorwayCreator-colorPreview {
    width: 100%;
    border-radius: 4px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.colorwaysCreator-colorPreviewItm .colorwayCreator-colorPreviews {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}

.colorwaysCreator-colorPreviewItm {
    flex-direction: column;
    align-items: start;
}

.colorwaysTooltip-header {
    background-color: var(--background-primary);
    padding: 2px 8px;
    border-radius: 16px;
    height: min-content;
    color: var(--header-primary);
    margin-bottom: 2px;
    display: inline-flex;
    margin-left: -4px;
}

.colorwaySelector-pillSeparator {
    height: 24px;
    width: 1px;
    background-color: var(--primary-400);
}

.colorwaysSelector-changelog {
    font-weight: 400;
    font-size: 20px;
    color: var(--header-secondary);
    border-radius: 4px;
    background-color: var(--background-secondary);
    padding: 8px 12px;
}

.colorwaysChangelog-li {
    position: relative;
    font-size: 16px;
    line-height: 20px;
}

.colorwaysChangelog-li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: -15px;
    width: 6px;
    height: 6px;
    margin-top: -4px;
    margin-left: -3px;
    border-radius: 50%;
    opacity: .3;
}

.theme-dark .colorwaysChangelog-li::before {
    background-color: hsl(216deg calc(var(--saturation-factor, 1)*9.8%) 90%);
}

.theme-light .colorwaysChangelog-li::before {
    background-color: hsl(223deg calc(var(--saturation-factor, 1)*5.8%) 52.9%);
}

.ColorwaySelectorWrapper .colorwayToolbox-list {
    width: 100%;
}

.colorwaysToolbox-label {
    border-radius: 20px;
    box-sizing: border-box;
    color: var(--text-normal);
    transition: .15s ease;
    width: 100%;
    margin-left: 0;
    height: fit-content;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: wrap;
    cursor: default;
    max-height: 2rem;
    padding: 0 8px;
}

.colorwaysSelector-changelogHeader {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    position: relative;
    display: flex;
    align-items: center;
}

.colorwaysSelector-changelogHeader::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    margin-left: 4px;
    opacity: .6;
    background-color: currentcolor;
}

.colorwaysSelector-changelogHeader_added {
    color: var(--text-positive);
}

.colorwaysSelector-changelogHeader_fixed {
    color: hsl(359deg calc(var(--saturation-factor, 1)*87.3%) 59.8%);
}

.colorwaysSelector-changelogHeader_changed {
    color: var(--text-warning);
}

.is-mobile .colorwaySelectorModal,
.is-mobile .colorwayCreator-modal {
    width: 100vw !important;
    box-sizing: border-box;
    min-width: unset;
    border-radius: 0;
    height: 100vh;
    max-height: unset;
    border: none;
}

.is-mobile .colorwaySelectorModalContent {
    box-sizing: border-box;
    width: 100vw;
}

.is-mobile .colorwaySelector-doublePillBar {
    flex-direction: column-reverse;
    align-items: end;
}

.is-mobile .colorwaySelector-doublePillBar>.colorwaySelector-pillWrapper:first-child {
    width: 100%;
    gap: 4px;
    overflow-x: auto;
    justify-content: space-between;
}

.is-mobile .colorwaySelector-doublePillBar>.colorwaySelector-pillWrapper:first-child>.colorwaySelector-pill {
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    background-color: transparent;
    width: 100%;
    justify-content: center;
    flex: 0 0 min-content;
}

.is-mobile .colorwaySelector-doublePillBar>.colorwaySelector-pillWrapper:first-child>.colorwaySelector-pillSeparator {
    display: none;
}

.is-mobile .layer-fP3xEz:has(.colorwaySelectorModal, .colorwayCreator-modal) {
    padding: 0;
}

.is-mobile .ColorwaySelectorWrapper {
    justify-content: space-around;
    gap: 10px;
}

#colorwaySelector-pill_closeSelector {
    display: none !important;
}

.is-mobile #colorwaySelector-pill_closeSelector {
    display: flex !important;
}

.colorwaysBtn-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.colorwaysBtn-spinnerInner {
    transform: rotate(280deg);
    position: relative;
    display: inline-block;
    width: 32px;
    height: 32px;
    contain: paint;
}

@keyframes spinner-spinning-circle-rotate {
    100% {
        transform: rotate(1turn);
    }
}

@keyframes spinner-spinning-circle-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 130, 200;
    }

    100% {
        stroke-dasharray: 130, 200;
        stroke-dashoffset: -124;
    }
}

.colorwaysBtn-spinnerCircular {
    animation: spinner-spinning-circle-rotate 2s linear infinite;
    height: 100%;
    width: 100%;
}

.colorwaysBtn-spinnerBeam {
    animation: spinner-spinning-circle-dash 2s ease-in-out infinite;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    fill: none;
    stroke-width: 6;
    stroke-miterlimit: 10;
    stroke-linecap: round;
    stroke: currentcolor;
}

.colorwaysBtn-spinnerBeam2 {
    stroke: currentcolor;
    opacity: 0.6;
    animation-delay: .15s;
}

.colorwaysBtn-spinnerBeam3 {
    stroke: currentcolor;
    opacity: 0.3;
    animation-delay: .23s;
}

.colorwaysSettings-colorwaySource {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 8px;
    gap: 5px;
    border-radius: 4px;
    box-sizing: border-box;
    align-items: center;
}

.discordColorway-listItem {
    display: flex;
    flex-direction: row;
    justify-content: start;
    padding: 0 8px;
    gap: 5px;
    border-radius: 4px;
    box-sizing: border-box;
    min-height: 44px;
    align-items: center;
}

.colorwaysSettings-modalRoot {
    min-width: 520px;
}

.colorwaysSettings-colorwaySourceLabel {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
    line-height: 30px;
}

.colorwaysSettings-colorwaySourceLabelHeader {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
    font-weight: 700;
    font-size: 16px;
}

.colorwaysSettings-colorwaySourceDesc {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
}

.colorwaysSettings-iconButton {
    background-color: transparent !important;
    border-radius: 0;
}

.colorwaysSettings-iconButtonInner {
    display: flex;
    gap: 4px;
    align-items: center;
}

.colorwaysSettings-modalContent {
    margin: 8px 0;
}

@keyframes loading-bar {
    0% {
        left: 0;
        right: 100%;
        width: 0;
    }

    10% {
        left: 0;
        right: 75%;
        width: 25%;
    }

    90% {
        right: 0;
        left: 75%;
        width: 25%;
    }

    100% {
        left: 100%;
        right: 0;
        width: 0;
    }
}

.colorwaysLoader-barContainer {
    width: 100%;
    border-radius: var(--radius-round);
    border: 0;
    position: relative;
    padding: 0;
}

.colorwaysLoader-bar {
    position: absolute;
    border-radius: var(--radius-round);
    top: 0;
    right: 100%;
    bottom: 0;
    left: 0;
    background: var(--brand-500);
    width: 0;
    animation: loading-bar 2s linear infinite;
    transition: .2s ease;
}

.colorwaysSettingsSelector-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.colorwaysSettingsPage-wrapper .colorwayToolbox-listItem {
    gap: 8px;
    border-radius: 50px;
    padding: 12px 16px;
    background-color: var(--background-tertiary);
    transition: .15s ease;
    border: 1px solid transparent;
    color: var(--interactive-normal);
}

.colorwaysSettingsPage-wrapper .colorwayToolbox-listItem:hover {
    border-color: var(--brand-500);
    background-color: var(--brand-experiment-15a);
    color: var(--interactive-hover);
}

.colorwaysSettingsSelector-wrapper .colorwaySelector-doublePillBar {
    justify-content: start;
}

.colorwaysCreator-toolboxItm:hover {
    background-color: var(--brand-experiment) !important;
}

.colorwayCreator-colorPreview_primary+.colorwayCreator-colorPreview_primary,
.colorwayCreator-colorPreview_secondary+.colorwayCreator-colorPreview_secondary,
.colorwayCreator-colorPreview_tertiary+.colorwayCreator-colorPreview_tertiary,
.colorwayCreator-colorPreview_accent+.colorwayCreator-colorPreview_accent {
    display: none;
}

.colorwaysConflictingColors-warning {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.ColorwaySelectorBtn_thin {
    height: 21px !important;
    width: 56px !important;
}

.ColorwaySelectorBtn_thin:hover {
    border-radius: 8px;
}

.colorwaySelector-searchPopout {
    display: none !important;
}

.colorways-badge {
    font-size: .625rem;
    text-transform: uppercase;
    vertical-align: top;
    display: inline-flex;
    align-items: center;
    text-indent: 0;
    background: var(--brand-experiment);
    color: var(--white-500);
    flex: 0 0 auto;
    height: 15px;
    padding: 0 4px;
    margin-top: 7.5px;
    border-radius: 4px;
}

.hoverRoll {
    display: inline-block;
    vertical-align: top;
    cursor: default;
    text-align: left;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    contain: paint;
}

.hoverRoll_hovered {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    transition: all.22s ease;
    transform-style: preserve-3d;
    pointer-events: none;
    width: 100%;
    opacity: 0;
    transform: translate3d(0, 107%, 0);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.hoverRoll:hover .hoverRoll_hovered,
.colorwaysSettings-colorwaySource:hover .hoverRoll_hovered {
    transform: translateZ(0);
    opacity: 1;
}

.hoverRoll_normal {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    transition: all .22s ease;
    transform-style: preserve-3d;
    pointer-events: none;
    width: 100%;
}

.hoverRoll:hover .hoverRoll_normal,
.colorwaysSettings-colorwaySource:hover .hoverRoll_normal {
    transform: translate3d(0,-107%,0);
    opacity: 0;
    user-select: none;
}

.dc-warning-card {
    padding: 1em;
    margin-bottom: 1em;
    background-color: var(--info-warning-background);
    border-color: var(--info-warning-foreground);
    color: var(--info-warning-text);
}

/* stylelint-disable-next-line no-duplicate-selectors */
.colorwaysPreview-modal {
    width: 90vw !important;
    height: 90vh !important;
    max-height: unset !important;
}

.colorwaysPresetPicker-content {
    padding: 16px;
}

.colorwaysPresetPicker {
    width: 600px;
}

.colorwaysCreator-setting {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 4px;
    background-color: var(--background-secondary);
    box-sizing: border-box;
    color: var(--header-secondary);
    padding: 10px 18px;
    padding-right: 10px;
    cursor: pointer;
    align-items: center;
}

.colorwaysCreator-setting:hover {
    background-color: var(--background-modifier-hover);
}

.dc-colorway-selector::before {
    /* stylelint-disable-next-line property-no-vendor-prefix */
    -webkit-mask: var(--si-appearance) center/contain no-repeat !important;
    mask: var(--si-appearance) center/contain no-repeat !important
}

.dc-colorway-settings::before {
    /* stylelint-disable-next-line property-no-vendor-prefix */
    -webkit-mask: var(--si-equicordsettings) center/contain no-repeat !important;
    mask: var(--si-equicordsettings) center/contain no-repeat !important
}

.dc-colorway-ondemand::before {
    /* stylelint-disable-next-line property-no-vendor-prefix */
    -webkit-mask: var(--si-equicordupdater) center/contain no-repeat !important;
    mask: var(--si-equicordupdater) center/contain no-repeat !important
}

.dc-colorway-sources-manager::before {
    /* stylelint-disable-next-line property-no-vendor-prefix */
    -webkit-mask: var(--si-instantinvites) center/contain no-repeat !important;
    mask: var(--si-instantinvites) center/contain no-repeat !important
}

.colorwaySourceModal {
    min-height: unset;
}

.colorwaySelector-sourceSelect {
    width: fit-content !important;
}

.dc-info-card {
    border-radius: 5px;
    border: 1px solid var(--blue-345);
    padding: 1em;
    margin-bottom: 1em;
    display: flex;
    gap: 1em;
    flex-direction: column;
}

.theme-dark .dc-info-card {
    color: var(--white-500);
}

.theme-light .dc-info-card {
    color: var(--black-500);
}

.colorwaysSettings-sourceScroller {
    scrollbar-width: none;
}

.colorwaysSettings-sourceScroller::-webkit-scrollbar {
    width: 0;
}

.colorwayMessage {
    padding: 20px;
    border: 1px solid;
    border-radius: 5px;
    display: flex;
}

.colorwayMessage-contents {
    display: flex;
    flex-direction: column;
}

.theme-dark .colorwayMessage {
    background: hsl(var(--primary-630-hsl)/60%);
    border-color: hsl(var(--primary-630-hsl)/90%);
}

.theme-light .colorwayMessage {
    background: hsl(var(--primary-100-hsl)/60%);
    border-color: hsl(var(--primary-200-hsl)/30%);
}

.colorwaySelector-sources_settings {
    margin-left: 8px;
}

.colorwaysLoadingModal,
.colorwayInfo-cssModal {
    width: fit-content;
    height: fit-content;
    min-width: unset;
    min-height: unset;
    background: none;
    box-shadow: none !important;
    border: none;
}

.ColorwaySelectorWrapper-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-wrap: nowrap;
    padding-bottom: 0;
}

.discordColorway-listItem .discordColorwayPreviewColorContainer {
    width: 30px;
    height: 30px;
}

.colorwayLabel.labelInGrid {
    max-height: 2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
    text-align: center;
}

.discordColorway-listItem .colorwayInfoIconContainer {
    height: 28px;
    width: 28px;
    border-radius: 3px;
    position: static;
    opacity: 1;
    justify-content: center;
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid var(--button-outline-primary-border);
    color: var(--button-outline-primary-text);
    transition: .15s;
}

.discordColorway-listItem .colorwayInfoIconContainer:hover {
    background-color: var(--button-outline-primary-background-hover);
    border-color: var(--button-outline-primary-border-hover);
    color: var(--button-outline-primary-text-hover);
}

.colorwayLabel:not(.labelInGrid) {
    margin-right: auto;
    margin-top: 0 !important;
    margin-left: .5rem;
}

.colorwaySelectionCircle {
    position: absolute;
    width: 56px;
    height: 56px;
    top: 0;
    left: 0;
}

.ColorwaySelectorWrapper-grid {
    margin-bottom: 16px;
}

.colorwaySelector-sorter {
    height: 50px;
    width: 100%;
    box-shadow: var(--elevation-low);
    margin-bottom: 8px;
    display: flex;
}

.colorwaySelector-sorter_selectedSpacer {
    width: 80px;
    height: 50px;
}

.colorwaySelector-sorter_text {
    line-height: 50px;
    margin: 0;
}

.colorwaySelector-sorter_name {
    margin-right: auto;
    cursor: pointer;
}

.colorwayPresetLabel {
    margin-right: 1rem;
}

.colorwayPreview-channel {
    margin: 10px;
    width: calc(100% - 20px);
    height: 8px;
    border-radius: 16px;
}
