/* Existing content stays intact inside the browser's modal top layer. */
.memory-ui-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    overflow: hidden;
}
.memory-ui-dialog:not([open]) { display: none; }
.memory-ui-dialog::backdrop { background: transparent; }
.memory-ui-dialog > .king-modal-login { position: absolute; }
/* Reveal immediately for keyboard focus; only paint properties animate. */
.king-time-drop { transition-property: opacity, transform; }
.memory-ui-tooltip {
    position: fixed;
    z-index: 100001;
    max-width: min(280px, calc(100vw - 16px));
    box-sizing: border-box;
    padding: 7px 11px;
    border-radius: 8px;
    background: #242329;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    overflow-wrap: anywhere;
    pointer-events: none;
    box-shadow: 0 3px 12px #0003;
}
