/* Grundlegende Styles für das Gem-Tooltip */
@media only screen and (max-width: 768px) {
    .poe2-gem-tooltip {
        max-width: 100% !important;
        left: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        position: fixed !important;
    }
}

@media only screen and (max-width: 768px) {
  /* Gesamt-Container: Elemente untereinander */
  .poe2-gem-combo {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }
.poe2-gem-circle.empty {
    display: none !important;
  }
  
  /* Main Gem Bereich bleibt oben, zentriert */
  .poe2-main-gem {
    margin-bottom: 10px;
    text-align: center;
  }
  
  /* Rechter Block: Volle Breite für den scrollbaren Support Gems Bereich */
  .poe2-right-block {
    width: 100%;
    margin-left: 0;
  }
  
  /* Support Gems als horizontal scrollbarer Container */
  .poe2-support-gems {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* für flüssiges Scrollen auf iOS */
    gap: 10px;
    padding: 10px 0;
  }
  
  /* Kreis-Container: Größe anpassen und Inline-Margin überschreiben */
  .poe2-gem-circle {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    margin-right: 0 !important;
    box-sizing: border-box;
  }
}

.poe2-gem-tooltip {
    box-shadow: 10px 15px 15px rgba(0, 0, 0, 0.7);
    display: none; 
    position: absolute;
    line-height: 2.0;
    color: #808080;
    border-width: 1px;
    border-style: solid;
    border-color: #549f9b;
    border-radius: 4px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 7px;
    padding-bottom: 15px;
    width: 440px;
    text-align: left;
    font-size: 12px;
    line-height: 20px;
    background-color: #000;
    z-index: 9999; 
    background-image: url(/wp-content/uploads/2025/03/bg_gems_poe2.png);
    background-size: contain;
    background-repeat: no-repeat, no-repeat, repeat-x;
	pointer-events: none;
}

.gem-display {
    color: #549f9b;
    font-weight: bold;
}

.gem-name-de, .tooltip-main-en, .tooltip-main-de {
	color: #549f9b;
	font-size: 1.6em;
	font-weight: 600;
	font-family: 'Marcellus SC', serif;
}

.gem-name-en, .tooltip-sub-de, .tooltip-sub-en {
    color: #808080;
	font-size: 1.2em;
	font-weight: 600;
	font-family: 'Marcellus SC', serif;
}


.gem-tags .gem-tag {
    margin-right: 5px;
    color: #808080;
    text-decoration-line: underline;
    text-decoration-style: solid;
}

.gem-tier, .gem-type {
    font-weight: bold;
    color: #549f9b;
}

.gem-tags {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
}

.gem-description {
    margin-top: 15px;
    margin-bottom: 15px;
    color: #8686f4;
    display: inline-block;
    font-size: 14px;
}

.poe2-gem {
    display: inline-block;
}

.poe2-gem-combo {
    display: flex;
    align-items: center;
}

.gem-tooltip-title-wrapper {
    padding-left: 15px;
	padding-top: 5px;
    display: inline-block;
    align-items: center;
    margin-bottom: 20px;
}

.poe2-gem-combo {
    display: flex; 
    align-items: center; 
    background: #151514; 
    padding: 10px; 
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    border-color: #262626;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.3) inset;
}

.poe2-main-gem-title {
    color: #fff; 
    font-size: 12px; 
    margin-left: 10px;
}

.poe2-gem-circle {
    background: #0e0e0e;
    border-width: 1px;
    border-style: solid;
    border-color: #262626; 
}

