/* OneStack homepage announcement v442 — sole owner of this dialog's styles. */
.onestack-home-notice {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(1, 7, 30, .78);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    animation: onestack-notice-enter .25s ease-out both;
}
.onestack-home-notice[hidden] { display: none; }
body.onestack-home-notice-open { overflow: hidden; }
.onestack-home-notice,
.onestack-home-notice * { box-sizing: border-box; }
.onestack-home-notice__panel {
    position: relative;
    width: min(100%, 790px);
    max-height: min(88dvh, 840px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(32px, 4.5vw, 53px);
    border: 1px solid rgba(241, 192, 65, .52);
    border-radius: 24px;
    background: linear-gradient(145deg, #080f35 0%, #111d50 100%);
    box-shadow: 0 38px 95px rgba(0, 0, 0, .39), inset 0 1px 0 rgba(255, 255, 255, .1);
    color: #fff;
    font-family: 'Plus Jakarta Sans', Roboto, sans-serif;
    outline: none;
}
.onestack-home-notice__panel::before {
    content: '';
    display: block;
    width: 65px;
    height: 3px;
    margin: 0 0 21px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f1bb3a, #ffda75);
}
.onestack-home-notice__panel h2 {
    margin: 0 48px 24px 0;
    color: #f4bf4d;
    font-size: clamp(28px, 3.4vw, 37px);
    line-height: 1.22;
    letter-spacing: -.024em;
    font-weight: 800;
}
.onestack-home-notice__copy { display: grid; gap: 19px; }
.onestack-home-notice__copy p {
    margin: 0;
    color: #edf0fc;
    font-size: clamp(15px, 1.25vw, 17px);
    line-height: 1.85;
    font-weight: 450;
    letter-spacing: 0;
}
.onestack-home-notice__copy p:last-child {
    color: #ffcf66;
    font-weight: 700;
}
.onestack-home-notice__close {
    position: absolute;
    top: 21px;
    right: 21px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 13px;
    background: rgba(255,255,255,.07);
    color: #fff;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.onestack-home-notice__close svg { display: block; width: 20px; height: 20px; }
.onestack-home-notice__close:hover,
.onestack-home-notice__close:focus-visible {
    background: rgba(245,195,27,.17);
    border-color: #f4bf4d;
    transform: scale(1.045);
}
.onestack-home-notice__close:focus-visible { outline: 2px solid #ffe19b; outline-offset: 3px; }
@keyframes onestack-notice-enter {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (max-width: 600px) {
    .onestack-home-notice { padding: 14px; }
    .onestack-home-notice__panel {
        padding: 32px 23px 29px;
        border-radius: 19px;
        max-height: calc(100dvh - 28px);
    }
    .onestack-home-notice__panel::before { margin-bottom: 18px; }
    .onestack-home-notice__panel h2 { margin-right: 32px; margin-bottom: 19px; }
    .onestack-home-notice__copy { gap: 17px; }
    .onestack-home-notice__copy p { font-size: 15px; line-height: 1.78; }
    .onestack-home-notice__close { top: 15px; right: 15px; width: 37px; height: 37px; }
}
@media (prefers-reduced-motion: reduce) {
    .onestack-home-notice { animation: none; }
    .onestack-home-notice__close { transition: none; }
}
