.uct-wrapper {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}
.uct-wrapper *,
.uct-wrapper *::before,
.uct-wrapper *::after {
    box-sizing: border-box;
}

/* Inline Timer Layout */
.uct-inline {
    text-align: center;
    margin: 18px 0;
}
.uct-inline .uct-headline {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.05rem;
}
.uct-inline .uct-grid {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.uct-inline .uct-box {
    background: var(--uct-bg, #111827);
    color: var(--uct-color, #ffffff);
    padding: 12px 16px;
    border-radius: 8px;
    min-width: 68px;
}
.uct-inline .uct-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
}
.uct-inline .uct-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 4px;
    letter-spacing: 0.05em;
}
.uct-inline .uct-cta-btn {
    display: inline-block;
    margin-top: 14px;
}

/* Sticky Top & Bottom Announcement Bar Layout */
.uct-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 99999;
    background: var(--uct-bg, #111827);
    color: var(--uct-color, #ffffff);
    padding: 10px 44px 10px 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.uct-sticky-top {
    top: 0;
}
body.admin-bar .uct-sticky-top {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .uct-sticky-top {
        top: 46px;
    }
}
.uct-sticky-bottom {
    bottom: 0;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.18);
}

.uct-sticky-bar .uct-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.uct-sticky-bar .uct-headline {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0;
}
.uct-sticky-bar .uct-grid {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.uct-sticky-bar .uct-box {
    background: rgba(255, 255, 255, 0.14);
    padding: 4px 8px;
    border-radius: 5px;
    min-width: 44px;
    text-align: center;
}
.uct-sticky-bar .uct-num {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
}
.uct-sticky-bar .uct-label {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    opacity: 0.85;
}

/* Call-to-Action Button */
.uct-cta-btn {
    background: var(--uct-cta-bg, #ef4444);
    color: var(--uct-cta-color, #ffffff) !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: 6px;
    transition: opacity 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}
.uct-cta-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* Dismiss Button */
.uct-close-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--uct-color, #ffffff);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
    padding: 4px 8px;
}
.uct-close-btn:hover {
    opacity: 1;
}
.uct-expired-msg {
    font-weight: 600;
    text-align: center;
    padding: 8px 14px;
}
.uct-inline .uct-expired-msg {
    background: #fee2e2;
    color: #991b1b;
    border-radius: 6px;
    display: inline-block;
}
