

.welfare-list.box {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0 10px 5px;
    justify-content: center; 
}

.welfare-item {
    padding-top: 10px;
    flex: 0 0 calc(25% - 10px); 
    min-width: calc(25% - 5px);
    max-width: calc(25% - 10px);
    text-align: center;
}

.app-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-vertical a {
    text-decoration: none;
    color: inherit;
}

.icon img {
    max-width: 100%;
    height: auto;
}

.name.hide-text.one,
.label.hide-text.one {
    font-weight: bolder;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.label.hide-text.one {
    font-size: 12px;
}

 .icon {
    text-decoration: none;
    border-bottom: none;
    position: relative;
}

 .icon::before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

 .fa-gamepad::before {
    content: "\f11b";
}

 .footer_diy .active {
    color: #fe3535;
}

 .icon img {
    width: 100%;
    border-radius: 10px;
}

 .content-html p {
    margin: 10px 0;
}

 .content-html img {
    display: block;
    margin: 0 auto;
    width: auto;
    max-width: 100%;
}

    .image-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        animation: fadeIn 0.3s ease-out;
    }

    .image-modal-content {
        position: relative;
        max-width: 90vw;
        max-height: 90vh;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .image-modal-content img {
        max-width: 100%;
        max-height: 80vh;
        object-fit: contain;
        border-radius: 8px;
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
    }

    .image-modal-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        font-size: 24px;
        line-height: 40px;
        text-align: center;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        transition: background-color 0.2s;
        -webkit-user-select: none;user-select: none;
    }

    .image-modal-close:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

    .image-modal-nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        background-color: #301891;
        color: white;
        font-size: 24px;
        line-height: 50px;
        text-align: center;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        -webkit-user-select: none;user-select: none;
        opacity: 0.7;
        transition: all 0.2s;
    }

    .image-modal-nav-btn:hover {
        background-color: rgba(0, 0, 0, 0.8);
        opacity: 1;
    }

    .image-modal-nav-left {
        left: 15px;
    }

    .image-modal-nav-right {
        right: 15px;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    
    .image-modal-open {
        overflow: hidden;
    }