/* Overlay for the Chrome performance notice */
.chrome-perf-notice-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 8, 15, 0.65);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 9999;
}

.chrome-perf-notice {
    width: min(650px, 100%);
    padding: 28px 32px;
    background: rgba(22, 27, 38, 0.85);
    color: #e9edf5;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    line-height: 1.55;
        box-shadow: -1px 1px 2px 0px rgb(149 218 200 / 47%);
    background-color: rgb(0 200 148 / 24%);
    background-color: #069e7730;
}

.chrome-perf-notice__title {
    margin: 0 0 12px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.chrome-perf-notice__body {
    margin: 0 0 12px;
    font-size: 1rem;
    color: #dce2ec;
    text-indent: 1rem;
}

.chrome-perf-notice__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.chrome-perf-notice__button {
    padding: 11px 18px;
    min-width: 140px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, #069e77, hsl(165deg 93% 32% / 30%), #069e77);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
    box-shadow: 0 3px 10px rgba(91, 180, 255, 0.35);
}

.chrome-perf-notice__button:focus,
.chrome-perf-notice__button:hover {
    background-color: #069e7730;
    box-shadow: 0 5px 25px rgba(91, 180, 255, 0.35);
    filter: brightness(1.05);
    outline: none;
}

.chrome-perf-notice__button:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(91, 180, 255, 0.25);
}

@media (max-width: 520px) {
    .chrome-perf-notice-overlay {
        padding: 16px;
    }

    .chrome-perf-notice {
        padding: 22px 20px;
        border-radius: 16px;
    }

    .chrome-perf-notice__title {
        font-size: 1.2rem;
    }
}
