/* ---------------------------------------------------------------------------- */
/* general */
/* ---------------------------------------------------------------------------- */

.ioe_panel {
    background-color: var(--ld_col_black_400, Black);
    gap: .25em;
    padding: .5em;
    border-radius: 5px;
}



/* ---------------------------------------------------------------------------- */
/* main panel */
/* ---------------------------------------------------------------------------- */

.ioe_main_panel {
    width: fit-content;
    background-color: var(--ld_col_black_400, Black);
    margin-left: auto;
    margin-right: auto;
    display: flex;

    position: relative;
}



/* ---------------------------------------------------------------------------- */
/* controls panel */
/* ---------------------------------------------------------------------------- */

.controls_panel {
    position:absolute;
    right:0;
    bottom:0;
    border-radius: 5px 0 0 0;
    pointer-events:auto;
    cursor: pointer;
    display: flex;
}

/* hide fullscreen button for all who cant do it */
html.no-fullscreen #btFullscreen{
    display: none;
}



/* ---------------------------------------------------------------------------- */
/* panel icons */
/* ---------------------------------------------------------------------------- */

.ioe_panel_icon {
    font-size: 1.5em;
}




/* ---------------------------------------------------------------------------- */
/* panel badge */
/* ---------------------------------------------------------------------------- */

.ioe_panel_btn_badge {
    position: absolute !important;
    top: -.25em !important;
    right: -.25em !important;
}


/* ---------------------------------------------------------------------------- */
/* panel buttons */
/* ---------------------------------------------------------------------------- */

.ioe_panel_btn {
    position: relative;
    width: 3em;
    height: 3em;
    padding: 0;
}

.ioe_panel_text_btn {
    background-color: var(--ld_col_primary_400, Yellow);
    color: var(--ld_col_primary_400_txt, Yellow);
    border: 0;
    padding: .25em;
    display: flex;
    align-items: center;
    text-align: left;
}

#topGUIMobile {
    border-radius: 0 0 0 5px;
    right: 0px;
    position: absolute;
    bottom: 25px;
    transition: 0.25s ease-in-out all;
    text-align: right;
    display: block;
    pointer-events: none;
    width: 100%;
}

#topGUIMobilePanel {
    pointer-events: auto;
}



/* ---------------------------------------------------------------------------- */
/* burger panel */
/* ---------------------------------------------------------------------------- */

.ioe_panel_burger_body {
    position: absolute;
    padding-bottom: .5em;
    bottom: 90%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100%;
    z-index: 1000;

    border-radius: inherit 30px;
}

.ioe_panel_burger_body_content {
    width: 100%;
    height: 100%;
    display: grid;
    gap: .25em;
}

.ioe_panel_burger_body_content > button {
    min-height: 2.5em;
}

.ioe_panel_burger_body .badge {
    background-color: Red;
    color: White;
}



/* ---------------------------------------------------------------------------- */
/* time panel */
/* ---------------------------------------------------------------------------- */

.ioe_panel_time {
    padding: 0.1em 2em;
    background-color:	#222222;

    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    transition: 0.25s ease-in-out all;
    z-index: 5;


}



/* ---------------------------------------------------------------------------- */
/* chat panel */
/* ---------------------------------------------------------------------------- */

.ioe_panel_chat {
    border-radius: 5px 0 0 5px;
    pointer-events:auto;
}

#btChat{
    position:absolute;
    right:0;
    top:0;
    cursor: pointer;
    transition: 0.25s ease-in-out right, left, top, bottom;
}



/* ---------------------------------------------------------------------------- */
/* character panel */
/* ---------------------------------------------------------------------------- */

.ioe_panel_character {
    position: absolute;
    top: 0;
    left: 1em;
    bottom: 0;
    width: min(15vw, 30vh);
    min-width: 12em;
    max-width: 20rem;
    font-size: min(1em, 3vmin);
    margin-block: 1rem;

    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
}

.ioe_panel_character_portrait {
    pointer-events: auto;
    position: relative;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.ioe_panel_character_portrait > canvas {
    background-color: #414141;
    display: inline-block;
    border: 0.666em solid #222222;
    cursor: pointer;

    position: relative;
    z-index: 100;
    width: 80%;
    box-sizing: content-box;
}

.ioe_panel_character_portrait_btn {
    position: relative;
    z-index: 90;
    pointer-events: auto;
    cursor: pointer;

    font-size: 1.75em;
    background: var(--ld_col_black_400, Black);
    color: var(--ld_col_primary_400, Yellow);
}

.ioe_panel_character_portrait_btn.ld_disabled {
    color: var(--ld_col_deac, Grey);
    pointer-events: none;
    cursor: auto;
}

.ioe_panel_character_portrait_btn:hover {
    color: var(--ld_col_primary_200);
}

.ioe_panel_character_portrait_btn_info {
    position:absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);

    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .4em .4em .4em 45%;
}

.ioe_panel_character_portrait_btn_finder {
    position: absolute;
    bottom: -2.5em;
    left: 50%;
    transform: translateX(-50%);
    padding: 2em .5em .25em .5em;

    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: .75em;
}

.ioe_panel_character_stats {
    width: 100%;
}



/* ---------------------------------------------------------------------------- */
/* ld_debug_panel */
/* ---------------------------------------------------------------------------- */
.ld_dbg_panel{
    display: block;
    position: absolute;
    top: 5px;
    left: 260px;
    border: 2px solid Grey;
}

.ld_dbg_panel_hidden {
    height: 40px;
}
