.complexity-pills-container {
    display: flex;
    gap: 6px;
    width: 100%;
}

.complexity-pill {
    flex: 1;
	display: flex;          /* Neu: Macht das Element zum Flexbox-Container */
    align-items: center;    /* Neu: Zentriert den Text vertikal */
    justify-content: center;/* Neu: Zentriert den Text horizontal */
    text-align: center;
    padding: 5px 4px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.8em;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    color: var(--text-main);
}
.complexity-pill:hover {
	border-color:var(--primary-color);
}

/* Zustand: Teil der ausgewählten Spanne */
.complexity-pill.active {
    background: var(--stat-bar-high-col);
}




#result_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.game-card {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 7px 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	color: var(--text-main);
}

.game-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.game-name {
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
}

.game-plays {
    font-size: 0.85rem;
    color: var(--light-color);
}

.game-score-badge {
    background: var(--select-blue);
    color: var(--text-main);
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
}

.game-score-badge small {
    font-size: 0.75rem;
    font-weight: normal;
}

.game-quick-scores {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.game-details-content {
    margin-top: 10px;
    background: var(--input-bg);
    padding: 10px;
    border-radius: 6px;
	border: 1px dashed var(--border-color);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 8px;
    font-size: 0.85rem;
    color: #495057;
}

.game-remarks {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}

.remark-badge {
    background: #fff3cd;
    color: #111;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}


.score-bar-container {
    position: relative;
    width: 100%;
    height: 14px;
    background-color: #e0e0e0;
    border-radius: 7px;
    overflow: hidden;
    margin: 8px 0;
	border: 1px solid var(--border-color);
}

.score-center-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #ffffff;
    z-index: 2;
}

.score-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    transition: width 0.4s ease, left 0.4s ease, background 0.4s ease;
    border-radius: 7px;
}

.card-toggle-trigger {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
    border-radius: 6px;
    padding: 4px;
    margin: -4px;
}

.card-toggle-trigger:hover {
    background-color: rgba(255, 255, 255, 0.03); /* Dezenter Hover-Effekt im Dark Mode */
}


/* Der Container für die Mini-Badges direkt im Header der Metrik */
.metric-header span {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
	color:var(--text-main);
}
.metric-header span span {
	color:#111;
}
.metric-header strong {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
	color:var(--text-main);
	font-size:0.9rem;
}
/* Das kleine Hinweisschild */
.metric-remark-badge {
    background: #fff3cd;
    color: #856404;
    font-size: 0.65rem;
    padding: 0px 4px;
    border-radius: 3px;
    border: 1px solid #ffeeba;
    font-weight: bold;
    cursor: help;
    display: inline-block;
    line-height: 1.2;
}


.grid-title {
	margin: 10px 0;
	font-size: 1rem;
	font-weight: bold;
	color:var(--text-main);
}


.ach-status-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background: var(--box-bg);
    border: 1px dashed var(--border-color);
    border-radius: 6px;
    margin: 20px 0;
    color: var(--light-color);
}

.ach-status-box .status-icon {
    font-size: 2.5rem;
    color: var(--light-color);
    margin-bottom: 15px;
    opacity: 0.7;
}

.ach-status-box.hint .status-icon {
    color: var(--light-color);
    animation: gf-pulse 1.5s infinite;
}

@keyframes gf-pulse {
    0% { opacity: 0.4; }
    50% { opacity: 0.9; }
    100% { opacity: 0.4; }
}


/* Profil Reiter Navigation */
.profile-section-block {
    padding-bottom: 20px;
}

.profile-section-heading {
    font-size: 1.0rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    background: var(--box-header-bg);
    padding: 7px 10px;
    border-radius: 6px;
    border-left: 5px solid var(--secondary-color);
}
.slot-badge-time {
	font-size: 0.85rem;
	color: var(--light-color);
}
.slot-card {
	margin-bottom:8px;
}


/*Owning Badge */
.ownbadge {
    align-items: center;
    gap: 5px;
    padding: 1px 7px;
    border-radius: 50px; /* Pill-Form */
    font-size: 0.7rem;
    background: var(--stat-bar-high-col);
    border: none;
    color: white;
	margin: 0 5px 0 0;
}
.playedbadge {
	background: var(--info-icon-color);
}

.sc-game-item a:hover .ownbadge,
.sc-game-item a:has(.ownbadge):hover {
    text-decoration: none !important;
}

h4.box-content-box-col-h4 {
	margin-top:0 !important;
	padding-top:0 !important; 
	color:var(--light-color) !important;
}



/* Liste optisch auflockern und besser lesbar machen */
#dialog-help-analytics ul {
    margin: 0;
    padding-left: 20px;
}

#dialog-help-analytics li {
    margin-bottom: 12px; /* Mehr Abstand zwischen den Punkten */
    line-height: 1.1;    /* Angenehmere Zeilenhöhe */
    color: var(--light-color);
    font-size: 0.8rem;
}

#dialog-help-analytics li strong {
    color: var(--text-main); /* Hebt den Titel der Metrik leicht hervor */
}

.pureopac {
	opacity: 0.2 !important;
}


/* Standard-Zustand des Icons */
.game-card .action-icon {
    transition: transform 0.2s ease-in-out;
}

/* Wenn die Karte aufgeklappt ist (Klasse .is-expanded vorhanden) */
.game-card.is-expanded .action-icon {
    transform: rotate(180deg);
}
