#debugPlan {
    display: none;
    position: absolute;
    bottom: 5px;
    left: 5px;
    padding: 5px;
    max-height: 40%;
    width: 17%;
    min-width: 200px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    background-color: var(--dark-color);
    border: 0.5px solid var(--accent-color);
    z-index: 1005;
    overflow-y: auto;
}

.mfs #debugPlan {
    display: none !important;
}

#debugPlan div {
    margin: 2px;
    padding: 5px 10px;
    border: 1px solid var(--black-color);
    -webkit-transition: background-color 0.2s, border-color 0.1s;
    transition: background-color 0.2s, border-color 0.1s;
    line-height: 18px;
}

.light #debugPlan div {
    border: 1px solid var(--light-color);
}

#debugPlan div:not(.active):hover {
    border-color: var(--accent-color);
    cursor: pointer;
}

#debugPlan div.active {
    background-color: var(--back-color);
    cursor: default;
}

.debug.showDebugPlan #debugPlan {
    display: -webkit-box;
    display: flex;
}


/* Hotspot */


/* Link hotspot */

#debugHotspot {
    position: absolute;
    display: none;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    width: 60px;
    height: 60px;
    opacity: 0.9;
    z-index: 1009;
    pointer-events: none;
}

body:not(.touch) #debugHotspot.enabled {
    display: block;
}

#debugHotspot img {
    width: 100%;
    height: 100%;
}

html:not(.light) #debugHotspot img {
    -webkit-filter: invert(90%);
    filter: invert(90%);
}