/* Native return-list menu: contain long forum names without clipping their rows. */
#visitedforums_menu {
    box-sizing: border-box;
    width: min(320px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    max-height: min(480px, calc(100dvh - 24px));
    padding: 10px;
    overflow: auto;
    overscroll-behavior: contain;
}
#visitedforums_menu table {
    width: 100%;
    table-layout: fixed;
    border: 0;
}
#visitedforums_menu #v_forums {
    width: auto;
    padding: 0;
}
#visitedforums_menu #v_forums h3 {
    margin: 0 0 6px;
    padding: 6px 10px 10px;
    line-height: 1.5;
}
#visitedforums_menu #v_forums li {
    display: block;
    float: none;
    height: auto;
    overflow: visible;
    margin: 0;
    padding: 0;
    background: none;
}
#visitedforums_menu #v_forums a {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: auto;
    min-height: 44px;
    padding: 10px 12px;
    line-height: 1.5;
    overflow: visible;
    overflow-wrap: anywhere;
    border-radius: 6px;
}
#visitedforums_menu #v_forums a:hover,
#visitedforums_menu #v_forums a:focus-visible {
    background: var(--dz-bgc, #f5f7fa);
    color: var(--dz-ahover, #1677ff);
    text-decoration: none;
}
