.restart-notice {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(24, 29, 42, 0.5);
    backdrop-filter: blur(3px);
}

.restart-notice__card {
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    color: #202b45;
    background: #fbfaf6;
    border: 1px solid rgba(32, 43, 69, 0.1);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(24, 29, 42, 0.24);
    font-size: 14px;
}

.restart-notice__header,
.restart-notice__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(32, 43, 69, 0.035);
}

.restart-notice__header {
    border-bottom: 1px solid rgba(32, 43, 69, 0.1);
}

.restart-notice__heading {
    display: flex;
    align-items: center;
    gap: 9px;
}

.restart-notice__heading h2 {
    margin: 0;
    color: #202b45;
    font-size: 14px;
    font-weight: 600;
}

.restart-notice__icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.restart-notice__close {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    color: #646b78;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.restart-notice__close:hover {
    color: #202b45;
    background: rgba(32, 43, 69, 0.08);
}

.restart-notice__close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.restart-notice__body {
    padding: 20px;
}

.restart-notice__body p {
    margin: 0;
    line-height: 1.55;
}

.restart-notice__footer {
    justify-content: flex-end;
    border-top: 1px solid rgba(32, 43, 69, 0.1);
    background: transparent;
}

.restart-notice__dismiss {
    padding: 8px 15px;
    color: #202b45;
    background: transparent;
    border: 1px solid rgba(32, 43, 69, 0.16);
    border-radius: 8px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.restart-notice__dismiss:hover {
    background: rgba(32, 43, 69, 0.05);
}

.restart-notice__close:focus-visible,
.restart-notice__dismiss:focus-visible {
    outline: 2px solid #315c9b;
    outline-offset: 2px;
}
