
/* GerLiga Wappen Fix */
.gl-verein-wappen,
.gl-memory-club-logo,
.glr-club-logo,
.glr-write-logo,
.glr-team-choice-logo {
    display: block;
    object-fit: contain;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(214,167,45,.35);
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}
.glr-write-shell {
    width: min(1160px, calc(100vw - 24px));
    margin: 18px auto 34px;
}
.glr-card,
.glr-write-head,
.glr-write-form {
    border: 1px solid rgba(214,167,45,.28);
    border-radius: 18px;
    background: rgba(15,15,18,.94);
    color: #eee;
    box-shadow: 0 12px 28px rgba(0,0,0,.32);
}
.glr-write-head {
    display: grid;
    grid-template-columns: 150px minmax(0,1fr) 150px;
    gap: 16px;
    align-items: center;
    padding: 18px;
    margin-bottom: 14px;
}
.glr-write-team {
    text-align: center;
    font-weight: 900;
    color: #f1f1f1;
}
.glr-write-logo {
    width: 118px;
    height: 118px;
    margin: 0 auto 8px;
    border-radius: 20px;
    padding: 8px;
}
.glr-write-match {
    text-align: center;
}
.glr-write-match h1 {
    margin: 4px 0 8px;
    font-size: clamp(22px, 4vw, 38px);
    line-height: 1.05;
}
.glr-kicker,
.glr-muted {
    color: #cfcfcf;
    opacity: .85;
}
.glr-write-form {
    padding: 18px;
}
.glr-form-block {
    margin: 0 0 18px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.035);
}
.glr-team-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.glr-team-choice {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 16px 10px;
    border: 2px solid rgba(214,167,45,.28);
    border-radius: 18px;
    background: rgba(0,0,0,.22);
    cursor: pointer;
    transition: transform .14s ease, border-color .14s ease, background .14s ease;
}
.glr-team-choice:hover {
    transform: translateY(-1px);
    border-color: rgba(214,167,45,.7);
}
.glr-team-choice.is-selected {
    border-color: #d6a72d;
    background: rgba(214,167,45,.13);
}
.glr-team-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.glr-team-choice-logo {
    width: 128px;
    height: 128px;
    border-radius: 22px;
    padding: 9px;
}
.glr-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}
.glr-form-field,
.glr-form-grid label {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}
.glr-write-form input[type="text"],
.glr-write-form input[type="email"],
.glr-write-form input[type="file"],
.glr-write-form select,
.glr-write-form textarea {
    width: 100%;
    border: 1px solid rgba(214,167,45,.28);
    border-radius: 10px;
    background: #101014;
    color: #f0f0f0;
    padding: 10px 11px;
}
.glr-check {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 14px 0;
}
.glr-submit,
.glr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid rgba(214,167,45,.65);
    border-radius: 12px;
    background: rgba(214,167,45,.16);
    color: #fff;
    font-weight: 900;
    padding: 10px 16px;
    text-decoration: none;
    cursor: pointer;
}
@media (max-width: 820px) {
    .glr-write-shell {
        width: 100%;
        margin: 0 auto 24px;
        padding: 8px;
    }
    .glr-write-head {
        grid-template-columns: 72px minmax(0,1fr) 72px;
        gap: 8px;
        border-radius: 0;
        padding: 12px 8px;
    }
    .glr-write-logo {
        width: 62px;
        height: 62px;
        border-radius: 14px;
        padding: 4px;
    }
    .glr-write-team span {
        display: none;
    }
    .glr-team-choice-grid,
    .glr-form-grid {
        grid-template-columns: 1fr;
    }
    .glr-team-choice-logo {
        width: 110px;
        height: 110px;
    }
}

.glr-memory-accordion {
    display: grid;
    gap: 10px;
}
.glr-memory-row {
    border: 1px solid rgba(214,167,45,.28);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15,15,18,.94);
    color: #eee;
}
.glr-memory-row > summary {
    display: grid;
    grid-template-columns: 66px minmax(0,1fr) 86px;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
}
.glr-memory-row > summary::-webkit-details-marker { display:none; }
.glr-memory-logo .gl-verein-wappen {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    padding: 4px;
}
.glr-memory-main strong {
    display: block;
    color: #fff;
    font-size: 16px;
    line-height: 1.18;
}
.glr-memory-main small {
    color: #cfcfcf;
}
.glr-memory-thumb {
    width: 78px;
    height: 58px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.12);
}
.glr-memory-detail {
    padding: 0 14px 14px 90px;
    color: #e9e9e9;
}
@media (max-width: 820px) {
    .glr-memory-row > summary {
        grid-template-columns: 54px minmax(0,1fr) 58px;
        gap: 8px;
        padding: 9px 8px;
    }
    .glr-memory-logo .gl-verein-wappen {
        width: 48px;
        height: 48px;
    }
    .glr-memory-thumb {
        width: 54px;
        height: 44px;
    }
    .glr-memory-main strong { font-size: 14px; }
    .glr-memory-main small { font-size: 11px; }
    .glr-memory-detail {
        padding: 0 9px 12px 9px;
    }
}
