#hotkey-modal {
    /* Box positioning */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;

    /* Box dimensions */
    width: 300px;
    padding: 20px;

    /* Display and visibility */
    display: none;

    /* Aesthetics */
    background: linear-gradient(to bottom, rgb(23, 27, 30) 0%, rgb(34, 38, 42) 100%);
    border: 1px solid rgba(220, 225, 255, 0.1);
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);

    /* Text styles */
    font-size: var(--font-size-large);
    color: #eee;
}
#hotkey-modal h2 {
    margin: 0 0 10px;
}
#hotkey-modal ul li {
    margin: 5px 0;
}
#hotkey-modal strong {
    background-color: rgba(0, 0, 0, 0.5);
    color: #eee;
    padding: 2px 5px;
    border-radius: 2px;
    font-family: var(--font-monospace);
}
#hotkey-modal dl {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    color: #666;
}
#hotkey-modal dl + dl {
    margin-top: 10px;
}
#hotkey-modal dt,
#hotkey-modal dd {
    margin: 0;
    padding: 2px 0;
}
#hotkey-modal dt {
    flex: 0 0 30%;
}
#hotkey-modal dd {
    flex: 0 0 70%;
    color: #ccc;
}
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9990;
}
#close-modal {
    float: right;
    display: none;
}
