#errorPage {
    display: none;
    position: fixed;
    top: 46px;
    left: 0;
    width: 100%;
    height: calc(100% - 46px);
    background: var(--bg);
    z-index: 45;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px;
}

#errorPage.visible { display: flex; }

.err-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--fg);
    letter-spacing: -0.01em;
}

.err-desc {
    font-size: 12.5px;
    color: var(--fg-3);
    max-width: 400px;
    text-align: center;
    line-height: 1.55;
}

.err-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.err-btn {
    padding: 8px 18px;
    background: transparent;
    border: 1px solid var(--line-2);
    border-radius: 7px;
    color: var(--fg-2);
    font-size: 12px;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.err-btn:hover {
    background: rgba(200, 195, 230, 0.05);
    border-color: var(--line-3);
    color: var(--fg);
}

.err-btn.primary {
    background: var(--accent);
    border-color: transparent;
    color: var(--bg);
    font-weight: 500;
}

.err-btn.primary:hover {
    background: #c9c1ee;
    color: var(--bg);
}
