/**
 * Centered Super Admin dashboard announcement modal.
 * Independent of Firebase / push notification settings.
 */
.thk-announce {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: max(0.75rem, env(safe-area-inset-top, 0px)) 1rem max(0.75rem, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}
.thk-announce.is-open {
    display: flex !important;
}
.thk-announce__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 32, 20, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.thk-announce__card {
    position: relative;
    z-index: 1;
    width: min(100%, 22.75rem);
    max-height: min(90dvh, 42rem);
    overflow: auto;
    border-radius: 1.65rem;
    background: #fff;
    box-shadow: 0 28px 64px rgba(6, 32, 20, 0.35);
}
.thk-announce__hero {
    position: relative;
    background: linear-gradient(165deg, #34d399 0%, #16a34a 48%, #15803d 100%);
    padding: 1.35rem 1.15rem 1.7rem;
    text-align: center;
    color: #fff;
}
.thk-announce__hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 28px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.thk-announce__x {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 40, 24, 0.28);
    color: #fff;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
}
.thk-announce__horn {
    width: 5.4rem;
    height: 5.4rem;
    margin: 0.15rem auto 0.7rem;
    display: grid;
    place-items: center;
}
.thk-announce__horn img,
.thk-announce__horn svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.18));
}
.thk-announce__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.35rem 1.15rem;
    border-radius: 999px;
    background: #064e3b;
    color: #fff;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}
.thk-announce__body {
    padding: 0.35rem 1.25rem 1.25rem;
    text-align: center;
}
.thk-announce__title {
    margin: 0 0 0.65rem;
    color: #065f46;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.25;
}
.thk-announce__message {
    margin: 0 0 1rem;
    color: #1f2937;
    font-size: 0.92rem;
    line-height: 1.5;
    white-space: pre-line;
}
.thk-announce__note {
    margin: 0 0 0.9rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.85rem;
    background: #d1fae5;
    color: #065f46;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
}
.thk-announce__cta {
    width: 100%;
    min-height: 3rem;
    border: 0;
    border-radius: 0.95rem;
    background: #065f46;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
}
.thk-announce__cta:active {
    transform: translateY(1px);
}
.thk-announce__cta--link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #22c55e;
    color: #fff;
    margin-bottom: 0.65rem;
}
.thk-announce__cta--link:hover,
.thk-announce__cta--link:focus {
    background: #16a34a;
    color: #fff;
}
body.thk-announce-open {
    overflow: hidden !important;
}
@media (min-width: 768px) {
    .thk-announce__card {
        width: min(100%, 26rem);
    }
}
