@property --unrounding {
    syntax: 'off | on';
    inherits: false;
    initial-value: on;
}

@container body style(--unrounding: on) {
    *,
    *::before,
    *::after {
        border-radius: 0 !important;
        --radius-none: 0px !important;
        --radius-xs: 0px !important;
        --radius-sm: 0px !important;
        --radius-md: 0px !important;
        --radius-lg: 0px !important;
        --radius-xl: 0px !important;
        --radius-xxl: 0px !important;
        --radius-round: 0px !important;
    }

    .svg_cc5dd2 > mask,
    .svg__44b0c > rect,
    .svg__44b0c > circle,
    .svg__44b0c > g,
    .svg__44b0c rect[mask='url(#:rhi:)'],
    .avatar__20a53 .status_a423bd {
        display: none;
    }

    .mask__68edb > foreignObject,
    .svg__44b0c > foreignObject,
    .svg__2338f > foreignObject {
        mask: none;
    }

    .wrapper__44b0c,
    .container__1ce5d {
        --online-2: #43a25a;
        --dnd-2: #d83a41;
        --idle-2: #ca9654;
        --offline-2: #82838b;
        --streaming-2: #9147ff;
    }
    .wrapper__44b0c:has(rect)::after,
    .container__1ce5d:has(.status_a423bd)::after {
        content: '';
        display: block;
        position: absolute;
        height: 8px;
        width: 8px;
        bottom: -4px;
        right: -4px;
        border: 2px solid var(--background-base-lower);
    }
    .wrapper__44b0c:has(rect[fill='#45a366'])::after,
    .container__1ce5d:has(.status_a423bd[style='background-color: rgb(69, 163, 102);'])::after {
        background: var(--online-2) !important;
    }
    .wrapper__44b0c:has(rect[fill='#da3e44'])::after {
        background: var(--dnd-2) !important;
    }
    .wrapper__44b0c:has(rect[fill='#ffc04e'])::after {
        background: var(--idle-2) !important;
    }
    .wrapper__44b0c:has(rect[fill='#84858d'])::after {
        background: var(--offline-2) !important;
    }
    .wrapper__44b0c:has(rect[fill='#9147ff'])::after {
        background: var(--streaming-2);
    }

    .lowerBadge_cc5dd2 {
        border: 2px solid var(--background-base-lower);
        bottom: -4px;
        right: -4px;
    }
    .upperBadge_cc5dd2 {
        border: 2px solid var(--background-base-lower);
        top: -4px;
        right: -4px;
    }
    .folderGroup__48112.isExpanded__48112 > .stack_dbd263 {
        overflow: visible !important;
    }

    .slider__3f21e > rect[rx='10'] {
        rx: 0 !important;
    }

    /* vencord membercount plugin */
    .vc-membercount-online-count circle,
    .vc-membercount-total-count circle {
        display: none !important;
    }
    .vc-membercount-online-count {
        background-color: var(--online) !important;
        height: 12px !important;
        width: 12px !important;
    }
    .vc-membercount-total-count {
        border: 3px solid var(--offline) !important;
        box-sizing: border-box !important;
        height: 12px !important;
        width: 12px !important;
    }

    /* prevent the status circle background mask from blocking avatar decorations in profile popouts */
    .wrapper__44b0c foreignObject {
        mask: none;
    }

    /* equicord switches */
    .vc-switch-indicator .vc-switch-thumb rect {
        rx: var(--radius-lg) !important;
    }

    ::-webkit-scrollbar-thumb {
        border-radius: 0 !important;
    }

    :is(.vc-switch-slider, .thumb_a28278) > rect {
        rx: 0px !important;
    }

    /* sticker panel */
    .assetWrapper__31fc2.assetWrapperMasked__31fc2,
    .inspectedIndicator_c6367b {
        webkit-mask: none;
        mask: none;
    }

    /* context menu radio buttons */
    .radioIndicator__64e61 {
        background-color: var(--checkbox-background-default);
        background-image: linear-gradient(var(--white) 0 0);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 0 0;
        border: 1px solid var(--checkbox-border-default);
        box-sizing: border-box;
        transition: background-size 0.25s cubic-bezier(0.35, 1.6, 0.45, 1);
    }
    .radioIndicator__64e61 > circle {
        display: none;
    }
    .standaloneRadioIndicator__64e61[data-selected='true'] .radioIndicator__64e61,
    .radioGroupOption__64e61[data-selected='true'] .radioIndicator__64e61 {
        background-color: var(--checkbox-background-selected-default);
        background-size: 8px 8px;
        border-color: var(--checkbox-border-selected-default);
    }
}
