.tdeg-overlay[hidden] {
    display: none !important;
}

.tdeg-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body.tdeg-locked {
    overflow: hidden !important;
}

.tdeg-card {
    width: min(100%, 620px);
    padding: clamp(28px, 5vw, 52px);
    border: 2px solid #ffffff;
    border-radius: 0;
    background: #00b1b7;
    color: #ffffff;
    font-family: inherit;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.tdeg-card * {
    box-sizing: border-box;
}

.tdeg-kicker {
    display: block;
    margin-bottom: 16px;
    color: #ffffff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.tdeg-card h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(36px, 7vw, 56px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.025em;
}

.tdeg-card > p {
    margin: 0 0 28px;
    color: #ffffff;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.5;
}

.tdeg-card label[for="tdeg-email"] {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.tdeg-card input[type="email"] {
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 0 16px;
    border: 2px solid #ffffff;
    border-radius: 0;
    outline: 0;
    background: #ffffff;
    color: #111111;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
}

.tdeg-card input[type="email"]:focus {
    border-color: #111111;
    box-shadow: 0 0 0 2px #111111;
}

.tdeg-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 18px 0;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.tdeg-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
}

.tdeg-consent a {
    color: #ffffff;
    text-decoration: underline;
}

.tdeg-card button {
    width: 100%;
    min-height: 54px;
    padding: 12px 20px;
    border: 2px solid #111111;
    border-radius: 0;
    background: #111111;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.tdeg-card button:hover,
.tdeg-card button:focus-visible {
    border-color: #ffffff;
    background: #ffffff;
    color: #111111;
}

.tdeg-card button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.tdeg-message {
    min-height: 1.4em;
    margin: 14px 0 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
}

.tdeg-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 600px) {
    .tdeg-overlay {
        align-items: end;
        padding: 12px;
    }

    .tdeg-card {
        max-height: calc(100vh - 24px);
        padding: 28px 22px;
        overflow-y: auto;
    }

    .tdeg-card h2 {
        font-size: 40px;
    }

    .tdeg-card > p {
        font-size: 16px;
    }
}
