@media (max-width: 700px) {

    .adatok {
        padding-left: 3px;
        padding-right: 3px;
        font-size: 16px;
    }

    .auth-form input,
    .auth-form button {
        width: 100%;
    }

    .profil-container {
        text-align: left;
    }

    #jatekmenu {
        display: flex;
        gap: 10px;
        /* térköz a gombok között */
        overflow-x: auto;
        /* vízszintes görgetés */
        padding: 10px;
        white-space: nowrap;
        /* ne törje sorba a gombokat */
        width: 100%;
        height: 50px;
        border-bottom: 1px solid antiquewhite;
    }

    .jatekmenugomb {
        font-size: 14px;
        flex-shrink: 0;
        width: fit-content;
        height: 100%;
        font-weight: bold;
        box-sizing: border-box;
    }

    #jatekter {
        position: fixed;
        top: 52px;
        height: calc(100% - 52px);
        width: 100%;
        padding: 5px;
        border: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .fejlesztesek {
        border: 0;
        text-align: center;
        width: 25px;
        height: 25px;
        font-size: 20px;
        color: antiquewhite;
        background-color: darkgreen;
    }

    #harcKartya {
        border: 1px solid antiquewhite;
    }

    /*--------------------------------------------------Felszarelés--------------------------------------------------*/

    .felsz-targy.kattinthato {
        cursor: pointer;
        color: #007bff;
        text-decoration: underline;
        transition: color 0.2s;
    }

    .felsz-targy.kattinthato:hover {
        color: #0056b3;
    }

    .felsz-targy.kattinthato.aktiv {
        background-color: #e3f2fd;
        border-radius: 4px;
        padding: 2px 5px;
    }

    .targy-info {
        display: none;
        grid-column: 1 / -1;
        /* teljes szélességű */
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 5px;
        padding: 10px;
        margin-top: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        animation: fadeIn 0.3s ease;
    }

    .targy-info.megjelenitve {
        display: block;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /*--------------------------------------------------XP bár--------------------------------------------------*/

    .xp-bar-container {
        margin: 1px;
        padding: 1px;
        background: antiquewhite;
        border-radius: 10px;
        text-align: center;
    }

    .xp-szint {
        background-color: rgb(50, 20, 0);
        font-weight: bold;
        margin-bottom: 5px;
        border-radius: 10px 10px 0 0;
        color: antiquewhite;
    }

    .xp-bar {
        width: 100%;
        height: 20px;
        background: #ddd;
        overflow: hidden;
        position: relative;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .xp-kitoltott {
        height: 100%;
        background: linear-gradient(90deg, #5eff63, #2d8030);
        transition: width 0.5s ease-in-out;
        position: relative;
    }

    /* Opcionális: animált csík hatás */
    .xp-kitoltott::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        animation: xp-shine 2s infinite;
    }

    @keyframes xp-shine {
        0% {
            transform: translateX(-100%);
        }

        100% {
            transform: translateX(100%);
        }
    }

    .xp-szam {
        background-color: rgb(50, 20, 0);
        margin-top: 5px;
        font-size: 0.9em;
        border-radius: 0 0 10px 10px;
        color: antiquewhite;
    }
}