tabs-container {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

tabs-container .tab-active {
    display: block;
}

tabs-container .tabs-content {
    flex: 1;
    padding: 10px;
}

tabs-container tab {
    display: none;
}

tabs-container .tabs-header {
    display: flex;
    border: 1px solid #ccc;
}

tabs-container .tab-button {
    background-color: #f1f1f1;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

tabs-container .tab-button:hover {
    background-color: #ddd;
}

tabs-container .tab-button.active {
    background-color: #ccc;
}

tabs-container.top {
    flex-direction: column-reverse;
}

tabs-container.top .tabs-header {
    flex-direction: row;
    
    border-left: none;
    border-right: none;
    border-top: none;
}

tabs-container.right {
    flex-direction: row;
}

tabs-container.right .tabs-header {
    flex-direction: column;

    border-right: none;
    border-top: none;
    border-bottom: none;
}

tabs-container.left {
    flex-direction: row-reverse;
}

tabs-container.left .tabs-header {
    flex-direction: column;

    border-left: none;
    border-top: none;
    border-bottom: none;
}

tabs-container.bottom {
    flex-direction: column;
}

tabs-container.bottom .tabs-header {
    flex-direction: row;

    border-left: none;
    border-right: none;
    border-bottom: none;
}

kl-menu{
    display: block;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    width: 300px;
    height: 200px;
    background-color: #eee;
    border: 1px solid #000;
}
kl-menu kl-option{
    font-family: fantasy;
    font-size: 20px;
    text-align: center;
    color: #000;
    text-emphasis: unset;

    width: 100%;
    height: 30px;
    display: block;

    border: 1px solid #000;
    border-left: none;
    border-right: none;
    border-top:none;

    background-color: #fff;

    cursor: pointer;
}
kl-menu kl-menu {
    display: none;
    margin-left: 20px;
}
kl-submenu {
    font-family: fantasy;
    font-size: 20px;
    text-align: center;
    color: #000;
    text-emphasis: unset;

    width: 100%;
    height: 30px;
    display: block;

    border: 1px solid #000;
    border-left: none;
    border-right: none;
    border-top:none;

    background-color: #aaa;
}
kl-menu kl-submenu kl-menu {
    display:none;
    position: absolute;
    left: 100%;
    margin-top: -1px;
    margin-left: 0px;
}

kl-joystick {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  user-select: none;
  touch-action: none;
}
kl-joystick .knob {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}