.player_modal {
    position: absolute;
    top: calc( 0px - var(--pspot_bd_width) );
    left: calc( 0px - var(--pspot_bd_width) );
    width: 100%;
    height: 100%;
    border: var(--pspot_bd_width) solid rgba(100, 100, 100, .7);
    border-radius: 30px;
    background: rgba(100, 100, 100, .7);
    background-clip: padding-box;
}

.pref_modal {
    --modal-background: rgba(0, 0, 0, .65);
    --msg-shadow-color: rgba(0, 0, 0, 1);
    --msg-light-color: rgba(20, 30, 20, .5);
    display: none;
    z-index: 200;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: var(--modal-background);
}

.pref_modal.modal_active
{
    display: flex;
    /*flex-direction: column;*/
    justify-content: center;
    /*align-items: center;*/
    animation-name: modal_activate;
    animation-duration: 0.5s;
}

.msg_area
{
    --msg-height: 120px;
    --msg-width: 300px;
    --msg-top: calc(1.5*var(--msg-height));
    --msg-area-background: rgba(220, 220, 220, 1);

    --neu-bg-dark: rgba(110, 110, 110, 1);
    --neu-bg-light: rgba(255, 255, 255, 1);
    --neu-gd-dark: rgba(110, 110, 110, 1);
    --neu-border-dormant: rgba(40, 40, 40, 1);
    --neu-border-receptive: rgba(70, 30, 30, 1);
    --neu-border-focused: rgba(130, 50, 50, 1);
    --neu-border-active: rgba(220, 70, 70, 1);
    --neu-text-color: rgba(10, 10, 10, 1);
    --neu-round-diam: 40px;
    --neu-font-size: 10px;
    --neu-round-bd-width: 3px;
    --neu-trans-delta: 0.5s;
    --neu-push-trans-delta: 0.25s;
    --neu-round-light-spread: 3px;
    --neu-round-dark-spread: 3px;
    --neu-round-light-disp: -3px;
    --neu-round-margin: 5px;

    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    padding: 0px;
    background: var(--msg-area-background);
    border: 2px solid rgba(110, 110, 110, 1);
    border-radius: 8px;
    box-shadow: 2px 2px 3px 2px var(--msg-shadow-color), -2px -2px 3px 2px var(--msg-light-color);
    height: fit-content;
    line-height: 21px;
    font-size: 15px;
    font-family: arial;
    font-weight: bold;
    text-align: center;
    height: calc(var(--msg-height));
    height: fit-content;
    width: calc(var(--msg-width));
    animation-name: modal_slide_top;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
    /* this is supposed to be the correct solution but alas,
       it does not work: the color bleeds around corners; 
       so much for CSS 'power'; 
    overflow: hidden;
   */
}

.msg_area .modal_header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    background: var(--global-background);
    color: white;
    padding-left: 8px;
}

.msg_area .modal_header_container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    background: var(--global-background);
    border-radius: 6px 6px 0px 0px;
    min-height: 35px;
    width: 100%;
}

.msg_area .modal_message {
    padding: 5px;
}

.msg_area .modal_footer {
    display: flex;
    flex-direction: row;
    align-self: flex-end;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 3px;
}

.pref_modal.modal_active .msg_area {
    top: var(--msg-top);
}

.full_form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
    
.disable_input {
    display: none;
}
    
@keyframes modal_slide_top {
  from {top: calc(0px - var(--msg-height)); opacity: 1}
  to {top: var(--msg-top); opacity: 1}
}    

@keyframes modal_activate {
  from {opacity: 0}
  to {opacity: 1}
}    
