.kk-announcement-bar {
    position: sticky;
    inset-block-start: 0;
    z-index: 999;
    background: var(--kk-bar-background);
    color: var(--kk-bar-color);
    text-align: center;
    font-size: clamp(.8rem, 2.5vw, .95rem);
    font-weight: 700;
    line-height: 1.55;
}

.kk-announcement-bar-inner {
    padding-block: .55rem;
    padding-inline: 1rem;
    overflow-wrap: anywhere;
}

.kk-welcome {
    --kk-accent: #fb7779;
    box-sizing: border-box;
    width: min(36rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow: auto;
    overscroll-behavior: contain;
    margin: auto;
    padding: clamp(1rem, 5vw, 2.25rem);
    background: #181d20;
    color: #fff;
    border: 1px solid #3a4145;
    border-block-start: 3px solid var(--kk-accent);
    border-radius: 1rem;
    box-shadow: 0 20px 75px rgba(0, 0, 0, .3);
    text-align: start;
    overflow-wrap: anywhere;
}

.kk-welcome:not([open]) { display: none; }
.kk-welcome::backdrop { background: rgba(12, 15, 17, .78); }
html:has(.kk-welcome[open]) { overflow: hidden; }

.kk-welcome-label {
    display: inline-block;
    margin-inline-end: 2.8rem;
    padding: .3rem .65rem;
    border-radius: .35rem;
    background: #392c31;
    color: #ffabad;
    font-size: .8rem;
    font-weight: 700;
}

.kk-welcome h2 {
    margin: .85rem 0 .55rem;
    color: inherit;
    font-size: clamp(1.25rem, 4.4vw, 2rem);
    font-weight: 800;
    line-height: 1.5;
}

.kk-welcome p {
    margin: 0;
    color: #e0e4e6;
    font-size: .94rem;
    line-height: 1.9;
    white-space: pre-line;
}

.kk-welcome-dismiss { position: absolute; inset-block-start: .7rem; inset-inline-end: .75rem; margin: 0; }
.kk-welcome button { font: inherit; cursor: pointer; border-radius: .55rem; min-height: 44px; }
/* The static heading receives initial focus; keyboard controls keep their focus rings. */
#kk-welcome-title:focus { outline: none; }
.kk-welcome button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.kk-welcome-dismiss button { width: 44px; border: 1px solid #4b5459; background: #262d31; color: #fff; font-size: 1.4rem; }

.kk-welcome-coupon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-block-start: 1rem;
    padding: .85rem;
    border: 1px solid #414a4f;
    border-radius: .7rem;
    background: #252b2f;
}

.kk-welcome-coupon > div { min-width: 0; }
.kk-welcome-coupon span { display: block; font-size: .8rem; color: #d3dade; }
.kk-welcome-coupon code { display: inline-block; color: #fff; font-size: 1.1rem; font-weight: 700; }
.kk-welcome-coupon button { border: 0; background: var(--kk-accent); color: #171315; padding-inline: 1rem; font-weight: 800; }
.kk-welcome-status { color: #e0e4e6; font-size: .8rem; }
.kk-welcome-status:not(:empty) { margin-block-start: .55rem; }
