/* ── Xbox: Settings-Icon & Wizard-Modal ──────────────────────────────── */
.xbox-connect-icon      { font-size: 1.4rem; color: #107c10; }
.xbox-wizard-avatar     { border-radius: 50%; object-fit: cover; }
.xbox-wizard-breadcrumb { justify-content: center; }
.xbox-wizard-breadcrumb li.xbox-step--done > span   { color: #107c10; }
.xbox-wizard-breadcrumb li.xbox-step--done > span::before { content: '✓ '; }
.xbox-wizard-breadcrumb li.xbox-step--active > span { font-weight: 600; }
.xbox-wizard-breadcrumb li:not(.xbox-step--done):not(.xbox-step--active) > span { color: #999; }

/* ── Plattform-Labels (Xbox-Spielliste) ───────────────────────────────── */
.label-platform-xbox { background: #107c10; }
.label-platform-360  { background: #555; }

/* ── Xbox: Header-Avatar ─────────────────────────────────────────────── */
.profile-avatar__initials--xbox { background: #107c10; }
.xbox-avatar-img         { object-fit: cover; }
.xbox-avatar-placeholder { width: 80px; height: 80px; background: #107c10; border-radius: 50%; }
.xbox-header-icon        { font-size: 2rem; color: #fff; }

/* ── Xbox: Spiellisten-Cover (Review-Card-Stil) ───────────────────────── */
.xbox-game-cover-link        { display: block; height: 100%; }
.xbox-game-cover             { width: 100px; height: 100%; object-fit: cover; display: block; border-radius: 4px 0 0 4px; }
.xbox-game-cover-placeholder { width: 100px; height: 100%; min-height: 70px; background: #107c10; border-radius: 4px 0 0 4px; }
.xbox-game-cover-icon        { font-size: 1.8rem; color: #fff; }
@media (min-width: 640px) {
    .xbox-game-cover             { width: 140px; }
    .xbox-game-cover-placeholder { width: 140px; }
}
@media (max-width: 639px) {
    .xbox-game-grid.uk-grid                  { flex-direction: column; }
    .xbox-game-grid.uk-grid > .uk-width-auto { width: 100%; }
    .xbox-game-cover-link                    { height: auto; }
    .xbox-game-cover                         { width: 100%; height: 120px; border-radius: 0; }
    .xbox-game-cover-placeholder             { width: 100%; height: 120px; border-radius: 0; }
}

/* ── Xbox: Steuerleiste ──────────────────────────────────────────────── */
.xbox-controls-bar { gap: 8px; }
.xbox-select-auto  { width: auto; }
.xbox-sort-icon    { margin-left: 3px; }

/* ── Xbox: Kachelansicht ─────────────────────────────────────────────── */
.xbox-game-card-link { display: block; text-decoration: none; height: 100%; }
.xbox-card-media     { height: 120px; overflow: hidden; }
.xbox-card-cover     { width: 100%; height: 120px; object-fit: cover; }
.xbox-card-icon-bg   { height: 120px; }
.xbox-card-icon      { font-size: 2.5rem; color: #107c10; }
.xbox-card-body      { padding: 12px; }
.xbox-card-title {
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.xbox-progress-tiny { height: 4px; margin-top: 4px; }

/* ── Xbox: Tabellenansicht ───────────────────────────────────────────── */
.xbox-th-thumb          { width: 68px; }
.xbox-td-thumb          { padding: 4px 8px; width: 68px; }
.xbox-thumb-link        { display: block; }
.xbox-thumb-img         { width: 60px; height: 45px; object-fit: cover; border-radius: 3px; display: block; }
.xbox-thumb-placeholder { width: 60px; height: 45px; background: #107c10; border-radius: 3px; }
.xbox-thumb-icon        { font-size: 1.1rem; color: #fff; }
.xbox-list-title        { font-weight: 500; }
.xbox-progress-micro    { height: 3px; margin: 2px 0 0; width: 80px; margin-left: auto; display: block; }

/* ── Xbox: Titeldetail ───────────────────────────────────────────────── */
.xbox-cover-detail      { width: 160px; height: 100%; object-fit: cover; display: block; border-radius: 4px 0 0 4px; }
.xbox-cover-placeholder { width: 160px; min-height: 120px; height: 100%; background: #107c10; border-radius: 4px 0 0 4px; }
.xbox-cover-icon        { font-size: 2.5rem; color: #fff; }
.xbox-detail-progress   { max-width: 400px; }

/* ── Xbox: Achievement-Kacheln ───────────────────────────────────────── */
.xbox-achievement-img             { border-radius: 4px; }
.xbox-achievement-img--locked     { filter: grayscale(1); }
.xbox-achievement-icon-bg         { width: 48px; height: 48px; background: #107c10; border-radius: 4px; }
.xbox-achievement-icon-bg--locked { background: #333; }
.xbox-achievement-icon-star       { color: #fff; }
.xbox-achievement-icon-lock       { color: #888; }
.xbox-achievement-card            { opacity: .7; }

/* ── Xbox: Geheime Achievements ──────────────────────────────────────── */
.xbox-secret-content                           { display: none; }
.xbox-secrets-visible .xbox-secret-content     { display: revert; }
.xbox-secrets-visible .xbox-secret-placeholder { display: none; }

/* ── PSN: Settings-Icon & Wizard-Modal ────────────────────────────────── */
.psn-connect-icon      { font-size: 1.4rem; color: #003087; }
.psn-wizard-avatar     { border-radius: 50%; object-fit: cover; }
.psn-wizard-breadcrumb { justify-content: center; }
.psn-wizard-breadcrumb li.psn-step--done > span   { color: #003087; }
.psn-wizard-breadcrumb li.psn-step--done > span::before { content: '✓ '; }
.psn-wizard-breadcrumb li.psn-step--active > span { font-weight: 600; }
.psn-wizard-breadcrumb li:not(.psn-step--done):not(.psn-step--active) > span { color: #999; }

/* ── Plattform-Labels (PSN-Spielliste) ────────────────────────────────── */
.label-platform-ps5  { background: #003087; }
.label-platform-ps4  { background: #003087; }
.label-platform-ps3  { background: #003087; opacity: .7; }
.label-platform-vita { background: #6a0dad; }
.label-platform-psp  { background: #555; }

/* ── PSN: Header-Avatar ──────────────────────────────────────────────── */
.profile-avatar__initials--psn { background: #003087; }
.psn-header-icon               { font-size: 2rem; color: #fff; }

/* ── PSN: Spiellisten-Cover ──────────────────────────────────────────── */
.psn-game-cover-link        { display: block; height: 100%; }
.psn-game-cover             { width: 100px; height: 100%; object-fit: cover; display: block; border-radius: 4px 0 0 4px; }
.psn-game-cover-placeholder { width: 100px; height: 100%; min-height: 70px; background: #003087; border-radius: 4px 0 0 4px; }
.psn-game-cover-icon        { font-size: 1.8rem; color: #fff; }
@media (min-width: 640px) {
    .psn-game-cover             { width: 140px; }
    .psn-game-cover-placeholder { width: 140px; }
}
@media (max-width: 639px) {
    .psn-game-grid.uk-grid                  { flex-direction: column; }
    .psn-game-grid.uk-grid > .uk-width-auto { width: 100%; }
    .psn-game-cover-link                    { height: auto; }
    .psn-game-cover                         { width: 100%; height: 120px; border-radius: 0; }
    .psn-game-cover-placeholder             { width: 100%; height: 120px; border-radius: 0; }
}

/* ── PSN: Titeldetail ────────────────────────────────────────────────── */
.psn-cover-detail      { width: 160px; height: 100%; object-fit: cover; display: block; border-radius: 4px 0 0 4px; }
.psn-cover-placeholder { width: 160px; min-height: 120px; height: 100%; background: #003087; border-radius: 4px 0 0 4px; }
.psn-cover-icon        { font-size: 2.5rem; color: #fff; }
.psn-detail-progress   { max-width: 400px; }

/* ── PSN: Trophäen-Typen ─────────────────────────────────────────────── */
.psn-trophy-platinum { color: #7b8fa1; font-weight: 700; }
.psn-trophy-gold     { color: #c8940a; font-weight: 700; }
.psn-trophy-silver   { color: #888; font-weight: 700; }
.psn-trophy-bronze   { color: #a0522d; font-weight: 700; }

.psn-trophy-img          { border-radius: 4px; }
.psn-trophy-img--locked  { filter: grayscale(1); opacity: .55; }
.psn-trophy-icon-bg      { width: 48px; height: 48px; background: #003087; border-radius: 4px; }
.psn-trophy-icon-bg--locked { background: #333; }
.psn-trophy-card         { opacity: .7; }
.psn-trophy-badge        { font-size: 0.75rem; }

/* ── PSN: Fortschrittsbalken ─────────────────────────────────────────── */
.psn-progress-tiny { height: 4px; margin-top: 4px; }

/* ── GOG-Icon (kein offizielles Font-Awesome-Icon vorhanden) ─────────── */
i.icon-gog {
    font-style: normal;
    font-weight: 800;
    font-family: Arial, sans-serif;
    letter-spacing: -0.5px;
    vertical-align: middle;
    line-height: 1;
}
i.icon-gog::before {
    content: 'GOG';
    font-size: 0.75em;
}

/* ── Utility ─────────────────────────────────────────────────────────── */
.profile-hidden { display: none; }

/* ── Datei-Inputs verstecken ─────────────────────────────────────────── */
.profile-file-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

/* ── Banner ──────────────────────────────────────────────────────────── */
.profile-banner {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d6a9f 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 40px));
}
@media (min-width: 960px) {
    .profile-banner { height: 280px; }
}
.profile-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-banner__placeholder {
    width: 100%;
    height: 100%;
}
.profile-banner__collage {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.profile-banner__collage-track {
    display: flex;
    gap: 3px;
    height: 100%;
    width: max-content;
    animation: banner-scroll 150s linear infinite;
}
.profile-banner__collage-track img {
    height: 100%;
    width: 160px;
    object-fit: cover;
    object-position: center top;
    display: block;
    flex-shrink: 0;
}
@keyframes banner-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.profile-banner__collage-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.18) 0%,
        rgba(0,0,0,.05) 40%,
        rgba(0,0,0,.45) 100%
    );
}
.profile-banner__edit {
    position: absolute;
    bottom: 12px;
    right: 16px;
    background: rgba(0,0,0,.55);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background .2s;
}
.profile-banner__edit:hover { background: rgba(0,0,0,.75); }

/* ── Avatar ──────────────────────────────────────────────────────────── */
.profile-header {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-top: -50px;
}
.profile-avatar {
    position: relative;
    flex-shrink: 0;
}
.profile-avatar__img,
.profile-avatar__initials {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d6a9f;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
}
@media (min-width: 640px) {
    .profile-avatar__img,
    .profile-avatar__initials { width: 120px; height: 120px; font-size: 36px; }
    .profile-header { margin-top: -60px; }
}
.profile-header--no-banner { margin-top: 0; }
.profile-avatar__edit {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,.55);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.profile-avatar__edit:hover { background: rgba(0,0,0,.8); }
.profile-header__info {
    flex: 1;
    min-width: 0;
    padding-bottom: 4px;
}
.profile-header__name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 2px;
}
.profile-header__data-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.profile-header__platforms {
    display: grid;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    gap: 2px 16px;
    align-items: start;
}

/* ── Mobile: Header-Stammdaten ─────────────────────────────────────────── */
@media (max-width: 639px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: -48px;
    }
    .profile-header__info {
        width: 100%;
        padding-bottom: 0;
    }
    .profile-header__data-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .profile-header__platforms {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 10px;
    }
}

/* ── Plattform-Grid ──────────────────────────────────────────────────── */
.profile-platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 24px;
}
@media (min-width: 640px)  { .profile-platform-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px)  { .profile-platform-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .profile-platform-grid { grid-template-columns: repeat(5, 1fr); } }
.profile-platform-item__header {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    margin-bottom: 2px;
}
.profile-platform-item__name { color: inherit; }
.profile-platform-item__count { color: #888; }

/* ── Stat-Kacheln ────────────────────────────────────────────────────── */

/* Desktop: 3 Kacheln sichtbar, mobile Kachel versteckt */
.profile-stat-mobile { display: none; }

@media (max-width: 639px) {
    .profile-stat-desktop { display: none !important; }
    .profile-stat-mobile  { display: block; }
}

/* Desktop-Kacheln */
.profile-stat-card {
    padding: 10px 4px;
    border-bottom: 2px solid #e5e5e5;
}
.profile-stat-card__value {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}
.profile-stat-card__label {
    font-size: 0.75rem;
    color: #666;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Mobile-Kachel */
.uk-card-body.profile-stat-mobile {
    padding: 14px 20px;
}
.profile-stat-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: baseline;
    padding: 5px 0;
}
.profile-stat-row + .profile-stat-row {
    border-top: 1px solid #f0f0f0;
}
.profile-stat-row__val {
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
    color: #1a1a1a;
}
.profile-stat-row__lbl {
    font-size: 0.85rem;
    color: #555;
    padding-left: 14px;
}

/* ── Plattform-Balken + Score-Verteilung (gemeinsam) ─────────────────── */
.profile-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 2px;
}
.profile-bar__fill {
    height: 100%;
    background: #2d6a9f;
    border-radius: 4px;
    transition: width .4s ease;
    min-width: 0;
}
.profile-bar__fill:empty,
.profile-bar__fill[style*="width:0%"] { min-width: 0; }

/* ── Favoriten-Herz ──────────────────────────────────────────────────── */
.profile-heart { color: #e0284f; font-size: 1.1em; margin-right: 4px; }

/* ── Score-Chart (horizontale Balken-Übersicht) ──────────────────────── */
.profile-score-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}
.profile-score-chart__col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.profile-score-chart__count {
    font-size: 0.6rem;
    color: #888;
    min-height: 12px;
    line-height: 12px;
}
.profile-score-chart__bar {
    width: 100%;
    min-height: 2px;
    background: #2d6a9f;
    border-radius: 2px 2px 0 0;
}
.profile-score-chart__bar--fav  { background: #e0284f; }
.profile-score-chart__label {
    font-size: 0.6rem;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
    margin-top: 2px;
}
.profile-score-chart__label--fav  { color: #e0284f; }
.profile-score-chart__label--star { color: #c8940a; }


/* ── Galerie ─────────────────────────────────────────────────────────── */
.profile-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f0f2f5;
    aspect-ratio: 4 / 3;
    cursor: grab;
}
.profile-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: auto;
    cursor: zoom-in;
}
.profile-gallery-item__del {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s, background .2s;
    padding: 0;
}
.profile-gallery-item:hover .profile-gallery-item__del { opacity: 1; }
.profile-gallery-item__del:hover { background: rgba(200,0,0,.8); }

/* SortableJS drag ghost */
.sortable-ghost { opacity: .35; }

/* ── Gaming-Plattform-Links ──────────────────────────────────────────── */
.profile-platform-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: #555;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
}
a.profile-platform-link:hover { color: #2d6a9f; text-decoration: none; }

/* ── Einstellungen-Seite ─────────────────────────────────────────────── */
.profile-settings-checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #aaa;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    flex-shrink: 0;
    margin-right: 6px;
    transition: background .15s, border-color .15s;
}
.profile-settings-checkbox:checked {
    background: #2d6a9f;
    border-color: #2d6a9f;
}
.profile-settings-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 0;
    width: 8px;
    height: 12px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}
.profile-settings-checkbox:focus { outline: 2px solid #2d6a9f; outline-offset: 2px; }

.profile-settings-card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
}
.profile-save-status[data-success="1"] { color: #32b643; font-size: 0.875rem; }
.profile-save-status[data-success="0"] { color: #f0506e; font-size: 0.875rem; }

/* Rating-Widget in kompakter Karte */
.game-card-compact .game-rating-display { padding: 4px 0; font-size: 13px; }

/* ── Galerie-Lightbox ────────────────────────────────────────────────── */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    cursor: zoom-out;
}
.gallery-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}
.gallery-lightbox__img {
    max-width:  calc(100vw - 80px);
    max-height: calc(100vh - 80px);
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.7);
    cursor: default;
    display: block;
}
.gallery-lightbox__close {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.gallery-lightbox__close:hover { background: rgba(255, 255, 255, 0.3); }

/* ── Quill-Editor ────────────────────────────────────────────────────── */
#quillEditorContainer .ql-container { min-height: 160px; }
#quillEditorContainer .ql-editor    { min-height: 160px; }

/* ── Review-Einträge im Profil ───────────────────────────────────────── */
.profile-review-boxart {
    width: 40px;
    height: 54px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

/* ── Steam: Settings-Icon ────────────────────────────────────────────── */
.steam-connect-icon { font-size: 1.4rem; color: #1b2838; }

/* ── Steam: Header-Avatar ────────────────────────────────────────────── */
.profile-avatar__initials--steam { background: #1b2838; }
.steam-header-icon               { font-size: 2rem; color: #fff; }

/* ── Steam: Spiellisten-Cover (Media-Card-Stil) ──────────────────────── */
.steam-game-cover-link        { display: block; height: 100%; }
.steam-game-cover             { width: 100px; height: 100%; object-fit: cover; display: block; border-radius: 4px 0 0 4px; }
.steam-game-cover-placeholder { width: 100px; height: 100%; min-height: 70px; background: #1b2838; border-radius: 4px 0 0 4px; }
.steam-game-cover-icon        { font-size: 1.8rem; color: #fff; }
@media (min-width: 640px) {
    .steam-game-cover             { width: 140px; }
    .steam-game-cover-placeholder { width: 140px; }
}
@media (max-width: 639px) {
    .steam-game-grid.uk-grid                  { flex-direction: column; }
    .steam-game-grid.uk-grid > .uk-width-auto { width: 100%; }
    .steam-game-cover-link                    { height: auto; }
    .steam-game-cover                         { width: 100%; height: 120px; border-radius: 0; }
    .steam-game-cover-placeholder             { width: 100%; height: 120px; border-radius: 0; }
}

/* ── Steam: Detailseite ──────────────────────────────────────────────── */
.steam-cover-detail   { width: 160px; object-fit: cover; display: block; border-radius: 4px 0 0 4px; }
.steam-cover-placeholder { width: 160px; min-height: 200px; background: #1b2838; border-radius: 4px 0 0 4px; display: flex; align-items: center; justify-content: center; }
.steam-cover-icon     { font-size: 2.5rem; color: #fff; }

/* ── Steam: Achievement-Icons ────────────────────────────────────────── */
.steam-ach-img        { border-radius: 4px; }
.steam-ach-img--locked { filter: grayscale(1); opacity: .55; }

/* ── GOG: Label ──────────────────────────────────────────────────────── */
.label-platform-gog { background: #86328a; }

/* ── GOG: Header-Avatar ──────────────────────────────────────────────── */
.profile-avatar__initials--gog { background: #86328a; }

/* ── GOG: Spiellisten-Cover (portrait, schmal) ───────────────────────── */
.gog-game-cover-link        { display: block; height: 100%; }
.gog-game-cover             { width: 72px; height: 100%; object-fit: cover; display: block; border-radius: 4px 0 0 4px; }
.gog-game-cover-placeholder { width: 72px; height: 100%; min-height: 70px; background: #86328a; border-radius: 4px 0 0 4px; }
.gog-game-cover-icon        { font-size: 1.8rem; color: #fff; }
@media (min-width: 640px) {
    .gog-game-cover             { width: 96px; }
    .gog-game-cover-placeholder { width: 96px; }
}
@media (max-width: 639px) {
    .gog-game-grid.uk-grid                  { flex-direction: column; }
    .gog-game-grid.uk-grid > .uk-width-auto { width: 100%; }
    .gog-game-cover-link                    { height: auto; }
    .gog-game-cover                         { width: 100%; height: 120px; border-radius: 0; }
    .gog-game-cover-placeholder             { width: 100%; height: 120px; border-radius: 0; }
}

/* ── GOG: Wizard-Modal ──────────────────────────────────────────────────── */
.gog-wizard-avatar     { border-radius: 50%; object-fit: cover; }
.gog-wizard-breadcrumb { justify-content: center; }
.gog-wizard-breadcrumb li.gog-step--done > span   { color: #86328a; }
.gog-wizard-breadcrumb li.gog-step--done > span::before { content: '✓ '; }
.gog-wizard-breadcrumb li.gog-step--active > span { font-weight: 600; }
.gog-wizard-breadcrumb li:not(.gog-step--done):not(.gog-step--active) > span { color: #999; }

/* ── GOG: Detail-Seite ───────────────────────────────────────────────────── */
.gog-cover-detail      { width: 160px; object-fit: cover; display: block; border-radius: 4px 0 0 4px; }
.gog-cover-placeholder { width: 160px; min-height: 200px; background: #86328a; border-radius: 4px 0 0 4px; display: flex; align-items: center; justify-content: center; }
.gog-cover-icon        { font-size: 2.5rem; color: #fff; }
.gog-detail-progress   { margin-bottom: 4px; }
.gog-ach-img           { border-radius: 4px; }
.gog-ach-img--locked   { filter: grayscale(1); opacity: .55; }
.gog-ach-icon-bg       { width: 48px; height: 48px; background: #86328a; border-radius: 4px; }
.gog-ach-icon-bg--locked { background: #ccc; }

/* ── Epic Games ──────────────────────────────────────────────────── */
.profile-avatar__initials--epic  { background: #2a2a2a; color: #f5a623; }

.epic-item-cover-link             { display: block; height: 100%; }
.epic-item-cover                  { width: 100px; height: 100%; object-fit: cover; display: block; border-radius: 4px 0 0 4px; }
.epic-item-cover-placeholder      { width: 100px; height: 100%; min-height: 70px; background: #1a1a2e; color: #f5a623; border-radius: 4px 0 0 4px; }
@media (min-width: 640px) {
    .epic-item-cover              { width: 140px; }
    .epic-item-cover-placeholder  { width: 140px; }
}
@media (max-width: 639px) {
    .epic-item-grid.uk-grid                   { flex-direction: column; }
    .epic-item-grid.uk-grid > .uk-width-auto  { width: 100%; }
    .epic-item-cover-link                     { height: auto; }
    .epic-item-cover                          { width: 100%; height: 120px; border-radius: 0; }
    .epic-item-cover-placeholder              { width: 100%; height: 120px; border-radius: 0; }
}

.epic-title-cover                 { width: 120px; height: auto; border-radius: 4px; display: block; }
.epic-title-cover-placeholder     { width: 120px; height: 160px; background: #1a1a2e; color: #f5a623; border-radius: 4px; display: flex; align-items: center; justify-content: center; }

/* Wizard breadcrumb steps */
.epic-step--active span  { color: #1e87f0; font-weight: bold; }
.epic-step--done span    { color: #32d296; }

/* ── Gaming History: generische Cross-Platform-Karte ─────────────────── */
.label-platform-steam             { background: #1b2838; }
.label-platform-epic              { background: #0074e4; }

.gh-progress-tiny                 { height: 4px; margin-top: 4px; }
.gh-stats-row                     { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.gh-item-cover-link               { display: block; height: 100%; }
.gh-item-cover                    { width: 100px; height: 100%; object-fit: cover; display: block; border-radius: 4px 0 0 4px; }
.gh-item-cover-placeholder        { width: 100px; height: 100%; min-height: 70px; background: #2a2a3e; color: #aaa; border-radius: 4px 0 0 4px; }
@media (min-width: 640px) {
    .gh-item-cover                { width: 140px; }
    .gh-item-cover-placeholder    { width: 140px; }
}
@media (max-width: 639px) {
    .gh-item-grid.uk-grid                   { flex-direction: column; }
    .gh-item-grid.uk-grid > .uk-width-auto  { width: 100%; }
    .gh-item-cover-link                     { height: auto; }
    .gh-item-cover                          { width: 100%; height: 120px; border-radius: 0; }
    .gh-item-cover-placeholder              { width: 100%; height: 120px; border-radius: 0; }
}

/* ── Profil-Layout (IMPL-042 Variante A — Dashboard) ─────────────────── */
.profile-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 959px) {
    .profile-layout { grid-template-columns: 1fr; }
}

/* ── Sidebar: leicht in den Banner ragend ────────────────────────────── */
.profile-sidebar {
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

/* ── Sidebar ─────────────────────────────────────────────────────────── */
.profile-sidebar__avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.profile-sidebar__identity {
    text-align: center;
    margin-bottom: 12px;
}
.profile-sidebar__platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    justify-content: center;
    margin-bottom: 8px;
}
.profile-sidebar__settings {
    text-align: center;
}
/* Plattform-Grid in Sidebar: maximal 2 Spalten */
.profile-sidebar .profile-platform-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* ── Sidebar-Toggle (nur Mobile/Tablet < 960px) ──────────────────────── */
#sidebarToggleBtn { display: none; }

@media (max-width: 959px) {
    #sidebarToggleBtn { display: inline-flex; justify-content: center; }
    #sidebarDetails:not(.profile-sidebar-open) { display: none; }
}
#sidebarToggleBtn { position: relative; text-align: center; }
#sidebarToggleBtn .uk-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}
#sidebarToggleBtn.is-open .uk-icon { transform: translateY(-50%) rotate(180deg); }

/* ── Gaming-History Compact: Placeholder ohne Cover ─────────────────── */
.game-card-compact__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a2a3e;
    color: #aaa;
}

/* ── Plattform-Balken: CSS Custom Property statt JS ──────────────────── */
.profile-bar__fill { width: var(--pct, 0%); }

/* ── Kompakte Review-Liste (Profil) ──────────────────────────────────── */
.profile-review-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.profile-review-list > a:last-child .profile-review-item { border-bottom: none; }
.profile-review-item__img {
    width: 36px;
    height: 48px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}
.profile-review-item__body {
    flex: 1;
    min-width: 0;
}
.profile-review-item__row {
    display: flex;
    align-items: baseline;
    gap: 0 4px;
    flex-wrap: wrap;
}
.profile-review-item__game {
    font-size: 0.875rem;
}
.profile-review-item__date {
    margin-left: auto;
    white-space: nowrap;
}
.profile-review-item__title {
    font-size: 0.8rem;
    color: #555;
    margin: 2px 0 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
