/* Viewport-clamped hover tip for announcement listing tab chrome (mobile-safe). */
.cc-viewport-hover-tip {
    position: fixed;
    z-index: 10050;
    box-sizing: border-box;
    max-width: min(18rem, calc(100vw - 1rem));
    padding: 0.45rem 0.7rem;
    border-radius: 0.35rem;
    background: #006db7;
    color: #fff;
    font-family: Helvetica, sans-serif;
    font-size: 0.85rem;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-shadow: 0 0.6em 1.4em -0.4em rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

html[data-theme="dark"] .cc-viewport-hover-tip {
    background: #0b63b5;
    color: #e8eef7;
}

.cc-viewport-hover-tip[hidden] {
    display: none !important;
}

/* While the clamped tip is active, suppress CSS [tooltip] bubbles that spill. */
.job-tab [tooltip=""]::before,
.job-tab [tooltip=""]::after,
.cc-ad-tab-actions [tooltip=""]::before,
.cc-ad-tab-actions [tooltip=""]::after,
.cc-ad-tab-tools [tooltip=""]::before,
.cc-ad-tab-tools [tooltip=""]::after {
    display: none !important;
}
