/* Monsters */
.monsters {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 6px;
    place-items: center;
    gap: 12px;
  }
  
  .monster {
    width: 128px;
    height: 128px;
  
    padding: 4px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    position: relative;
  }
  
  .monster .monster_pedestal {
    position: absolute;
    top: 28px;
  }
  
  .monster .monster_image {
    position: absolute;
    top: 8px;
    left: 10px;
    width: 64px;
    height: 64px;
  }
  
  .monster .monster_name {
    font-size: 13px;
    text-align: center;
    
    position: absolute;
    bottom: 0;
  }
  
  .monster_frame {
    position: relative;
    text-decoration: none !important;
    color: inherit !important;
  }
  
  .monster_frame_vertical_left {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    background-repeat: repeat-y;
    height: 100%;
  }
  
  .monster_frame_vertical_right {
    position: absolute;
    right: 0;
    top: 0;
    width: 3px;
    background-repeat: repeat-y;
    height: 100%;
  }
  
  .monster_frame_horizontal {
    position: relative;
    height: 4px;
  }
  
  .monster_frame_edge_left_top {
    position: absolute;
    left: -1px;
    top: -1px;
    width: 5px;
    height: 5px;
  }
  
  .monster_frame_edge_right_top {
    position: absolute;
    right: -1px;
    top: -1px;
    width: 5px;
    height: 5px;
  }
  
  .monster_frame_edge_right_bottom {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 5px;
    height: 5px;
  }
  
  .monster_frame_edge_left_bottom {
    position: absolute;
    left: -1px;
    bottom: -1px;
    width: 5px;
    height: 5px;
  }
  
  /* Monster Basic Infos */
  .monster_info .monster_basic_infos {
    padding: 6px;
  
    display: flex;
  }
  
  .monster_info .monster_basic_infos .outfit {
    width: 64px;
    height: 64px;
  }
  
  .monster_info .monster_basic_infos .monster_basic_info {
    margin-left: 10px;
  }
  
  .monster_info .monster_basic_infos .monster_basic_info .name {
    color: #00F000;
    font-family: Verdana, Tahoma, sans-serif;
    font-size: 10pt;
    font-weight: bold;
    text-shadow: 0.1em 0.1em 0.08em #000, -0.1em -0.1em 0.08em #000, 0.1em -0.1em 0.08em #000, -0.1em 0.1em 0.08em #000, -0.1em 0 0.08em #000, 0.1em 0 0.08em #000;
    text-decoration: none;
    line-height: normal;
  }
  
  .monster_info .monster_basic_infos .monster_basic_info .voices {
    display: flex;
    flex-wrap: wrap;
  
    margin-top: 3px;
  }
  
  .monster_info .monster_basic_infos .monster_basic_info .voices span {
    color: #FF6600;
    font-family: Verdana, Tahoma, sans-serif;
    font-size: 8pt;
    font-weight: bold;
    text-shadow: 0.1em 0.1em 0.08em #000, -0.1em -0.1em 0.08em #000, 0.1em -0.1em 0.08em #000, -0.1em 0.1em 0.08em #000, -0.1em 0 0.08em #000, 0.1em 0 0.08em #000;
    text-decoration: none;
    line-height: normal;
  }
  
  .monster_info .monster_basic_infos .monster_basic_info .voices span::before {
    content: "\0022";
    font-size: 1.3em;
    text-shadow: none;
    color: black;
  }
  
  .monster_info .monster_basic_infos .monster_basic_info .voices span::after {
    content: "\0022";
    font-size: 1.3em;
    text-shadow: none;
    color: black;
  }
  
  /* Monster Info */
  .monster_info .monster_infos {
    padding: 6px;
  
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
  }
  
  .monster_info .monster_infos .info {
    padding: 0 6px;
    border: 1px solid #5f4d41;
    box-shadow: 3px 3px 2px #875f3e;
    background-color: #d4c0a1;
    flex-grow: 1;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .monster_info .monster_infos .info .info_name {
    font-weight: bold;
  }
  
  .monster_info .monster_infos .info .info_value {
    display: flex;
    align-items: center;
  }
  
  .monster_info .monster_infos .info .info_value > img {
    margin-right: 3px;
  }
  
  /* Monster Summons */
  .monster_summons {
    padding: 6px;
  }
  
  .monster_summons .summons {
    display: flex; 
    flex-wrap: wrap;
  }
  
  .monster_summons .summons .summon {
    display: flex;
    position: relative;
  }
  
  .monster_summons .summons .summon .name {
    color: #00F000;
    font-family: Verdana, Tahoma, sans-serif;
    font-size: 10pt;
    font-weight: bold;
    text-shadow: 0.1em 0.1em 0.08em #000, -0.1em -0.1em 0.08em #000, 0.1em -0.1em 0.08em #000, -0.1em 0.1em 0.08em #000, -0.1em 0 0.08em #000, 0.1em 0 0.08em #000;
    text-decoration: none;
    line-height: normal;
  }
  
  .monster_summons .summons .summon .outfit {
    position: absolute;
    top: -20px;
    left: -20px;
  }
  
  /* Monster Loots */
  .monster_loot {
    padding: 6px;
  }
  
  .monster_loot .loot_items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
    grid-gap: 4px;
  }
  
  .monster_loot .loot_item {
    background-color: #d5c0a1;
    border: 1px solid #5a2800;
    box-shadow: 3px 3px 2px #875f3e;
  
    cursor: help;
  
    position: relative;
  }
  
  .monster_loot .loot_item span {
    position: absolute;
    bottom: -2px;
    right: 1px;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 10px;
    font-weight: 700;
    z-index: 100;
    color: #fff;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  }
  
  /* Monster Protection Elements */
  .monster_protection_elements {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-gap: 6px;
    padding: 6px;
    place-items: center;
  }
  
  .monster_protection_elements .monster_protection_element {
    background-color: #d5c0a1;
    border: 1px solid #5a2800;
    box-shadow: 3px 3px 2px #875f3e;
  }
  
  .monster_protection_elements .monster_protection_element .damage_type {
    height: 16px;
    width: 140px;
    
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .monster_protection_elements .monster_protection_element .damage_type span {
    margin-left: 5px;
  }
  
  .monster_protection_elements .monster_protection_element .damage_percent {
    height: 16px;
    text-align: center;
    color: #222222;
  }
  
  .monster_protection_elements .monster_protection_element .immune {
    background-color: rgb(255, 76, 76);
  }
  
  .monster_protection_elements .monster_protection_element .weak {
    background-color: rgb(101, 192, 115);
  }
  
  .monster_protection_elements .monster_protection_element .strong {
    background-color: rgb(254, 219, 76);
  }
  
  .monster_protection_elements .monster_protection_element .neutral {
    background-color: #f1e0c5;
  }
  
  /* Monster Condition Immunities */
  .monster_condition_immunities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-gap: 6px;
    padding: 6px;
    place-items: center;
  }
  
  .monster_condition_immunities .monster_condition_immunity {
    background-color: #d5c0a1;
    border: 1px solid #5a2800;
    box-shadow: 3px 3px 2px #875f3e;
  }
  
  .monster_condition_immunities .monster_condition_immunity .condition_type {
    height: 16px;
    width: 140px;
    
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .monster_condition_immunities .monster_condition_immunity .condition_type span {
    margin-left: 5px;
  }
  
  .monster_condition_immunities .monster_condition_immunity .immune {
    height: 16px;
    color: #222222;
  }
  
  .monster_condition_immunities .monster_condition_immunity .red {
    background-color: rgb(255, 76, 76);
  }
  
  .monster_condition_immunities .monster_condition_immunity .green {
    background-color: rgb(101, 192, 115);
  }