.pcrcc-open {
    overflow: hidden;
}

.pcrcc-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
}

.pcrcc-banner[hidden],
.pcrcc-modal[hidden] {
    display: none !important;
}

.pcrcc-banner--disabled {
    display: none !important;
}

.pcrcc-banner__content,
.pcrcc-modal__dialog {
    background: #111;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.pcrcc-banner__content {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 28px 24px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;
    animation: pcrccBannerRise 500ms cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(160deg, #2f3238 0%, #24272d 58%, #1e2127 100%);
    border: 1px solid #f2b705;
    border-top-width: 4px;
    box-shadow: 0 26px 62px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(242, 183, 5, 0.18) inset;
}

.pcrcc-banner__text h2,
.pcrcc-modal__header h2 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.pcrcc-banner__text p,
.pcrcc-modal__body p,
.pcrcc-placeholder p {
    margin: 0;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
}

.pcrcc-banner__links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px !important;
}

.pcrcc-banner__links a {
    color: #ffe08a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pcrcc-banner__actions,
.pcrcc-modal__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pcrcc-btn {
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(242, 183, 5, 0.38);
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.pcrcc-btn--primary {
    background: rgba(242, 183, 5, 0.2);
    color: #fff;
}

.pcrcc-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
}

.pcrcc-banner__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.pcrcc-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.56);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes pcrccBannerRise {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pcrcc-modal__dialog {
    width: min(760px, 100%);
    border-radius: 22px;
    overflow: hidden;
}

.pcrcc-modal__header,
.pcrcc-modal__body,
.pcrcc-modal__footer {
    padding: 22px 24px;
}

.pcrcc-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pcrcc-modal__footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: space-between;
}

.pcrcc-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pcrcc-toggle:last-of-type {
    border-bottom: 0;
}

.pcrcc-toggle strong,
.pcrcc-toggle small {
    display: block;
}

.pcrcc-toggle small {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
}

.pcrcc-toggle input[type="checkbox"] {
    width: 22px;
    height: 22px;
}

.pcrcc-floating-link {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 99998;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: #111;
    color: #fff;
    cursor: pointer;
    font: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    transition: width 620ms cubic-bezier(0.16, 1, 0.3, 1), padding 620ms cubic-bezier(0.16, 1, 0.3, 1), background-color 320ms ease, border-color 320ms ease, transform 320ms ease;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.pcrcc-banner:not([hidden]) ~ .pcrcc-floating-link {
    display: none;
}

.pcrcc-floating-link:hover,
.pcrcc-floating-link:focus-visible {
    background: #181818;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.pcrcc-floating-link.is-dragging {
    cursor: grabbing;
    transform: none;
}

.pcrcc-floating-link__icon {
    flex: 0 0 auto;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 1px;
}

.pcrcc-floating-link__icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.pcrcc-floating-link__label {
    display: inline-block;
    white-space: nowrap;
}

.pcrcc-floating-link--icon-expand {
    width: 56px;
    min-width: 56px;
    min-height: 56px;
    padding: 0 0 0 8.5px;
    overflow: hidden;
    background: #111;
     justify-content: flex-start;
}

.pcrcc-floating-link--icon-expand .pcrcc-floating-link__label {
    max-width: 0;
    opacity: 0;
    transform: translateX(14px);
    transition: max-width 620ms cubic-bezier(0.16, 1, 0.3, 1), opacity 360ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
    .pcrcc-floating-link--icon-expand:hover,
    .pcrcc-floating-link--icon-expand:focus-visible {
        width: min(360px, calc(100vw - 40px));
        justify-content: flex-start;
		
    }

    .pcrcc-floating-link--icon-expand:hover .pcrcc-floating-link__label,
    .pcrcc-floating-link--icon-expand:focus-visible .pcrcc-floating-link__label {
        max-width: 280px;
        opacity: 1;
        transform: translateX(8px);
    }
}

.pcrcc-placeholder {
    margin: 16px 0;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pcrcc-placeholder__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 14px;
}

.pcrcc-placeholder--has-image {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
}

.pcrcc-placeholder--has-image .pcrcc-placeholder__image {
    margin-bottom: 0;
}

.pcrcc-placeholder .pcrcc-open-preferences {
    margin-top: 14px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.pcrcc-placeholder--has-image .pcrcc-open-preferences {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    margin-top: 0;
    padding: 10px 18px;
    background: rgba(17, 17, 17, 0.78);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
}

@media (max-width:991px){
	.pcrcc-floating-link {
		left: 14px;
		bottom: 8px;
	}
}

@media (max-width: 767px) {
    .pcrcc-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .pcrcc-banner__content {
        grid-template-columns: 1fr;
        padding: 22px 18px 18px;
    }

    .pcrcc-banner__actions,
    .pcrcc-modal__footer {
        flex-direction: column;
    }

    .pcrcc-btn,
    .pcrcc-floating-link,
    .pcrcc-placeholder .pcrcc-open-preferences {
        width: 100%;
        text-align: center;
    }

    .pcrcc-placeholder--has-image .pcrcc-open-preferences {
        width: auto;
        max-width: calc(100% - 24px);
        left: 50%;
        right: auto;
        bottom: 24px;
        transform: translateX(-50%);
    }

    .pcrcc-modal {
        align-items: flex-end;
        padding: 12px;
    }

    .pcrcc-modal__dialog {
        width: 100%;
        border-radius: 18px;
    }

    .pcrcc-toggle {
        grid-template-columns: 1fr;
    }

    .pcrcc-floating-link {
        left: 12px;
        bottom: 12px;
    }

    .pcrcc-floating-link--icon-expand {
        width: 46px;
        min-width: 46px;
		height: 46px;
        min-height: 46px;
        padding: 0;
        justify-content: center;
    }
	.pcrcc-floating-link--icon-expand .pcrcc-floating-link__icon{
		width:30px;
		height:30px;
	}

    .pcrcc-floating-link--icon-expand .pcrcc-floating-link__label {
        max-width: 0;
        opacity: 0;
        transform: translateX(8px);
    }
}
@media (max-width: 575px) {
	.pcrcc-floating-link {
        left: 12px;
        bottom: 5px;
    }
}
